def security_group_get_by_instance(context, instance_id):
 return IMPL.security_group_get_by_instance(context, instance_id)

def security_group_get_by_instance ( context , instance_id ) : return IMPL . security_group_get_by_instance ( context , instance_id )
get security groups to which the instance is assigned .