예제 #1
0
 def __init__(self):
     super(SchedulerAPI, self).__init__()
     target = messaging.Target(topic=CONF.scheduler_topic,
                               version=self.RPC_API_VERSION)
     self.client = rpc.get_client(target, version_cap='1.5')
예제 #2
0
파일: rpcapi.py 프로젝트: mkoderer/manila
 def __init__(self):
     super(SchedulerAPI, self).__init__()
     target = messaging.Target(topic=CONF.scheduler_topic,
                               version=self.RPC_API_VERSION)
     self.client = rpc.get_client(target, version_cap='1.6')
예제 #3
0
 def __init__(self, topic=None):
     super(ShareAPI, self).__init__()
     target = messaging.Target(topic=CONF.share_topic,
                               version=self.BASE_RPC_API_VERSION)
     self.client = rpc.get_client(target, '1.0')
예제 #4
0
 def __init__(self, topic=None):
     super(ShareAPI, self).__init__()
     target = messaging.Target(topic=CONF.share_topic,
                               version=self.BASE_RPC_API_VERSION)
     self.client = rpc.get_client(target, version_cap='1.17')
예제 #5
0
 def __init__(self):
     self.topic = 'huawei_storage'
     target = messaging.Target(topic=self.topic,
                               version=self.BASE_RPC_API_VERSION)
     self.client = rpc.get_client(target, version_cap='1.0')
예제 #6
0
파일: rpcapi.py 프로젝트: NetApp/manila
 def __init__(self):
     super(DataAPI, self).__init__()
     target = messaging.Target(topic=CONF.data_topic,
                               version=self.BASE_RPC_API_VERSION)
     self.client = rpc.get_client(target, version_cap='1.0')
예제 #7
0
파일: rpcapi.py 프로젝트: swipswaps/manila
 def __init__(self):
     super(DataAPI, self).__init__()
     target = messaging.Target(topic=CONF.data_topic,
                               version=self.BASE_RPC_API_VERSION)
     self.client = rpc.get_client(target, version_cap='1.0')
예제 #8
0
파일: rpcapi.py 프로젝트: NetApp/manila
 def __init__(self):
     self.topic = 'huawei_v3'
     target = messaging.Target(topic=self.topic,
                               version=self.BASE_RPC_API_VERSION)
     self.client = rpc.get_client(target, version_cap='1.0')