Esempio n. 1
0
 def get_all(cls, context, marker=None, limit=None, sort_keys=None,
             sort_dirs=None, filters=None, offset=None):
     clouds = db.cloud_get_all(context, marker, limit,
                               sort_keys=sort_keys, sort_dirs=sort_dirs,
                               filters=filters, offset=offset)
     return base.obj_make_list(context, cls(context), objects.Cloud,
                               clouds)
Esempio n. 2
0
 def get_all(cls, context, marker=None, limit=None, sort_keys=None,
             sort_dirs=None, filters=None, offset=None):
     resources = db.resource_get_all(context, marker, limit,
                                     sort_keys=sort_keys,
                                     sort_dirs=sort_dirs,
                                     filters=filters, offset=offset)
     return base.obj_make_list(context, cls(context), objects.Resource,
                               resources)
Esempio n. 3
0
 def get_all(cls, context, marker=None, limit=None, sort_keys=None,
             sort_dirs=None, filters=None, offset=None):
     migrations = db.migration_get_all(context, marker, limit,
                                       sort_keys=sort_keys,
                                       sort_dirs=sort_dirs,
                                       filters=filters, offset=offset)
     return base.obj_make_list(context, cls(context), objects.Migration,
                               migrations)
Esempio n. 4
0
 def get_all(cls, context, filters=None):
     migrations = db.migration_get_all(context, filters)
     return base.obj_make_list(context, cls(context), objects.Migration,
                               migrations)
Esempio n. 5
0
 def get_all_by_topic(cls, context, topic, disabled=None):
     services = db.service_get_all_by_topic(context, topic,
                                            disabled=disabled)
     return base.obj_make_list(context, cls(context), objects.Service,
                               services)
Esempio n. 6
0
 def get_all(cls, context, filters=None):
     services = db.service_get_all(context, filters)
     return base.obj_make_list(context, cls(context), objects.Service,
                               services)
Esempio n. 7
0
 def get_all_by_source(cls, context, source, disabled=None):
     resources = db.resource_get_all_by_source(context, source)
     return base.obj_make_list(context, cls(context), objects.Resource,
                               resources)
Esempio n. 8
0
 def get_all(cls, context, filters=None):
     resources = db.resource_get_all(context, filters)
     return base.obj_make_list(context, cls(context), objects.Resource,
                               resources)
Esempio n. 9
0
 def get_all_by_type(cls, context, cloud_type, disabled=None):
     clouds = db.cloud_get_all_by_type(context, cloud_type)
     return base.obj_make_list(context, cls(context), objects.Cloud,
                               clouds)
Esempio n. 10
0
 def get_all_by_source(cls, context, source, disabled=None):
     resources = db.resource_get_all_by_source(context, source)
     return base.obj_make_list(context, cls(context), objects.Resource,
                               resources)
Esempio n. 11
0
 def get_all(cls, context, filters=None):
     resources = db.resource_get_all(context, filters)
     return base.obj_make_list(context, cls(context), objects.Resource,
                               resources)
Esempio n. 12
0
 def get_all(cls, context, filters=None):
     migrations = db.migration_get_all(context, filters)
     return base.obj_make_list(context, cls(context), objects.Migration,
                               migrations)