Example #1
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 #2
0
 def __init__(self):
     self.consistencygroup_api = consistencygroupAPI.API()
     super(ConsistencyGroupsController, self).__init__()
Example #3
0
 def __init__(self):
     self.cgsnapshot_api = consistencygroupAPI.API()
     super(CgsnapshotsController, self).__init__()