Esempio n. 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')
Esempio n. 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')
Esempio n. 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')
Esempio n. 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')
Esempio n. 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')
Esempio n. 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')
Esempio n. 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')
Esempio n. 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')