Esempio n. 1
0
def create_rpc_client_instance(conf):
    transport = messaging.get_rpc_transport(conf)
    target = oslo_messaging.Target(topic=conf.rpc_topic_collector)
    client = vitrage_rpc.get_client(transport, target)
    return client
Esempio n. 2
0
 def __init__(self):
     transport = messaging.get_rpc_transport()
     target = oslo_messaging.Target(topic=CONF.rpc_topic)
     self.client = vitrage_rpc.get_client(transport, target)
     self.check_backend = CONF.api.check_backend
Esempio n. 3
0
 def __init__(self, conf):
     transport = messaging.get_rpc_transport(conf)
     target = oslo_messaging.Target(topic=conf.rpc_topic)
     self.client = vitrage_rpc.get_client(transport, target)
Esempio n. 4
0
 def __init__(self, conf):
     transport = messaging.get_transport(conf)
     target = oslo_messaging.Target(topic=conf.rpc_topic)
     self.client = vitrage_rpc.get_client(transport, target)