def filter_update_attributes(sg_rule, context): """Filter out sg-rule attributes for an update operation.""" filters.filter_security_group_rule(sg_rule)
def filter_create_attributes_with_plugin(sg_rule, plugin, dbcontext): filters.filter_security_group_rule(sg_rule)
def filter_create_attributes(sg_rule, context): """Filter out sg-rule attributes not required for a create.""" filters.filter_security_group_rule(sg_rule)