def METHOD_NAME(self, config):
    for subconf in ConfMixin.METHOD_NAME(self, config):
        for encryption in self.params.macsec_encryption:
            new_config = copy.copy(subconf)
            new_config.encrypt = encryption
            new_config.ip_vers = self.params.ip_versions
            yield new_config