示例#1
0
 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)
示例#2
0
 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)
示例#3
0
 def get_all(cls, context):
     consistencygroups = db.consistencygroup_get_all(context)
     return base.obj_make_list(context, cls(context),
                               objects.ConsistencyGroup, consistencygroups)
示例#4
0
 def get_all(cls, context):
     consistencygroups = db.consistencygroup_get_all(context)
     return base.obj_make_list(context, cls(context),
                               objects.ConsistencyGroup,
                               consistencygroups)