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')
Example #2
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.6')
Example #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')
Example #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')
Example #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')
Example #6
0
 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')
Example #7
0
 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')
Example #8
0
 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')