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
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
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)
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)