Beispiel #1
0
    def __init__(self, rpc_conf_dict):
        """Constructs an RPC client for engine.

        :param rpc_conf_dict: Dict containing RPC configuration.
        """
        self._client = base.get_rpc_client_driver()(rpc_conf_dict)
Beispiel #2
0
    def __init__(self, rpc_conf_dict):
        """Constructs an RPC client for the Executor."""

        self.topic = cfg.CONF.executor.topic
        self._client = base.get_rpc_client_driver()(rpc_conf_dict)
Beispiel #3
0
 def __init__(self, rpc_conf_dict):
     """Constructs an RPC client for the EventEngine service."""
     self._client = base.get_rpc_client_driver()(rpc_conf_dict)
Beispiel #4
0
 def __init__(self, rpc_conf_dict):
     """Constructs an RPC client for the Notifier service."""
     self._client = base.get_rpc_client_driver()(rpc_conf_dict)
Beispiel #5
0
    def __init__(self, rpc_conf_dict):
        """Constructs an RPC client for the Executor."""

        self.topic = cfg.CONF.executor.topic
        self._client = base.get_rpc_client_driver()(rpc_conf_dict)
Beispiel #6
0
    def __init__(self, rpc_conf_dict):
        """Constructs an RPC client for engine.

        :param rpc_conf_dict: Dict containing RPC configuration.
        """
        self._client = base.get_rpc_client_driver()(rpc_conf_dict)
 def __init__(self):
     self.topic = cfg.CONF.notifier.topic
     self._client = rpc_base.get_rpc_client_driver()(cfg.CONF.notifier)
Beispiel #8
0
 def __init__(self):
     self.topic = cfg.CONF.executor.topic
     self._client = rpc_base.get_rpc_client_driver()(cfg.CONF.executor)