def get_all(cls, context, filters=None, marker=None, limit=None, offset=None, sort_keys=None, sort_dirs=None): consistencygroups = db.consistencygroup_get_all( context, filters=filters, marker=marker, limit=limit, offset=offset, sort_keys=sort_keys, sort_dirs=sort_dirs) return base.obj_make_list(context, cls(context), objects.ConsistencyGroup, consistencygroups)
def get_all(cls, context): consistencygroups = db.consistencygroup_get_all(context) return base.obj_make_list(context, cls(context), objects.ConsistencyGroup, consistencygroups)