Example #1
0
 def __init__(self, *args, **kwargs):
     super(AdminController, self).__init__(*args, **kwargs)
     # singular name of the resource
     self.resource_name = self.collection.rstrip('s')
     self.volume_api = volume.API()
     self.backup_api = backup.API()
Example #2
0
 def __init__(self):
     self.volume_api = volume.API()
     super(Controller, self).__init__()
 def __init__(self, *args, **kwargs):
     super(VolumeImageMetadataController, self).__init__(*args, **kwargs)
     self.volume_api = volume.API()
Example #4
0
 def __init__(self, ext_mgr):
     self.volume_api = cinder_volume.API()
     self.ext_mgr = ext_mgr
     super(VolumeController, self).__init__()
Example #5
0
 def __init__(self, ext_mgr=None):
     self.volume_api = volume.API()
     self.ext_mgr = ext_mgr
     super(SnapshotsController, self).__init__()
Example #6
0
 def __init__(self, *args, **kwargs):
     super(SnapshotManageController, self).__init__(*args, **kwargs)
     self.volume_api = cinder_volume.API()
Example #7
0
 def __init__(self, *args, **kwargs):
     super(VolumeActionsController, self).__init__(*args, **kwargs)
     self.volume_api = volume.API()
Example #8
0
 def __init__(self, ext_mgr):
     self.volume_api = cinder_volume.API()
     self.consistencygroup_api = consistencygroupAPI.API()
     self.ext_mgr = ext_mgr
     super(VolumeController, self).__init__()
Example #9
0
 def __init__(self, db_driver=None):
     super(API, self).__init__(db_driver)
     self.jacket_rpcapi = jacket_rpcapi.JacketAPI()
     self.volume_api = cinder_volume.API()