예제 #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()
예제 #2
0
 def __init__(self):
     self.volume_api = volume.API()
     super(Controller, self).__init__()
예제 #3
0
 def __init__(self, *args, **kwargs):
     super(VolumeImageMetadataController, self).__init__(*args, **kwargs)
     self.volume_api = volume.API()
예제 #4
0
파일: volumes.py 프로젝트: bopopescu/jacket
 def __init__(self, ext_mgr):
     self.volume_api = cinder_volume.API()
     self.ext_mgr = ext_mgr
     super(VolumeController, self).__init__()
예제 #5
0
 def __init__(self, ext_mgr=None):
     self.volume_api = volume.API()
     self.ext_mgr = ext_mgr
     super(SnapshotsController, self).__init__()
예제 #6
0
 def __init__(self, *args, **kwargs):
     super(SnapshotManageController, self).__init__(*args, **kwargs)
     self.volume_api = cinder_volume.API()
예제 #7
0
 def __init__(self, *args, **kwargs):
     super(VolumeActionsController, self).__init__(*args, **kwargs)
     self.volume_api = volume.API()
예제 #8
0
파일: volumes.py 프로젝트: bopopescu/jacket
 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__()
예제 #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()