示例#1
0
文件: volumes.py 项目: coreycb/cinder
 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__()
示例#2
0
 def __init__(self):
     self.consistencygroup_api = consistencygroupAPI.API()
     super(ConsistencyGroupsController, self).__init__()
示例#3
0
 def __init__(self):
     self.cgsnapshot_api = consistencygroupAPI.API()
     super(CgsnapshotsController, self).__init__()