Exemple #1
0
 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)
Exemple #2
0
 def __init__(self):
     target = messaging.Target(topic='coriolis_replica_cron_worker',
                               version=VERSION)
     self._client = rpc.get_client(target)
Exemple #3
0
 def __init__(self, topic=constants.REPLICA_CRON_MAIN_MESSAGING_TOPIC):
     target = messaging.Target(topic=topic, version=VERSION)
     self._client = rpc.get_client(target)
Exemple #4
0
 def __init__(self):
     target = messaging.Target(topic='coriolis_conductor', version=VERSION)
     self._client = rpc.get_client(target)
Exemple #5
0
 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)
Exemple #6
0
 def __init__(self):
     target = messaging.Target(topic='coriolis_conductor', version=VERSION)
     self._client = rpc.get_client(target)