def __init__(self, timeout=None): target = messaging.Target(topic='coriolis_worker', version=VERSION) if timeout is None: timeout = CONF.worker.worker_rpc_timeout self._client = rpc.get_client(target, timeout=timeout)
def __init__(self): target = messaging.Target(topic='coriolis_replica_cron_worker', version=VERSION) self._client = rpc.get_client(target)
def __init__(self, topic=constants.REPLICA_CRON_MAIN_MESSAGING_TOPIC): target = messaging.Target(topic=topic, version=VERSION) self._client = rpc.get_client(target)
def __init__(self): target = messaging.Target(topic='coriolis_conductor', version=VERSION) self._client = rpc.get_client(target)
def __init__(self, timeout=None, topic=constants.CONDUCTOR_MAIN_MESSAGING_TOPIC): target = messaging.Target(topic=topic, version=VERSION) if timeout is None: timeout = CONF.conductor.conductor_rpc_timeout self._client = rpc.get_client(target, timeout=timeout)