def _create_rpc_namespace_proxy(self, src_transport, src_target, dst_transport, dst_target): src_target = target.target_parse(src_target) assert src_target.server dst_target = target.target_parse(dst_target) assert dst_target.server return proxy.get_proxy_server( src_transport, src_target, None, dst_transport, dst_target, None, executor='eventlet')
def _create_rpc_proxy(self, ns_agent, src_transport, src_target, dst_transport, dst_target): rpc_proxy_id = str(uuid.uuid4()) src_target = target.target_parse(src_target) assert src_target.server dst_target = target.target_parse(dst_target) assert dst_target.server proxy_server = proxy.get_proxy_server( src_transport, src_target, None, dst_transport, dst_target, None, executor="eventlet" ) ns_agent.local_proxies[rpc_proxy_id] = proxy_server proxy_server.start() return rpc_proxy_id
def _create_rpc_namespace_proxy(self, src_transport, src_target, dst_transport, dst_target): src_target = target.target_parse(src_target) assert src_target.server dst_target = target.target_parse(dst_target) assert dst_target.server return proxy.get_proxy_server(src_transport, src_target, None, dst_transport, dst_target, None, executor='eventlet')
def _create_rpc_proxy(self, ns_agent, src_transport, src_target, dst_transport, dst_target): rpc_proxy_id = str(uuid.uuid4()) src_target = target.target_parse(src_target) assert src_target.server dst_target = target.target_parse(dst_target) assert dst_target.server proxy_server = proxy.get_proxy_server(src_transport, src_target, None, dst_transport, dst_target, None, executor='eventlet') ns_agent.local_proxies[rpc_proxy_id] = proxy_server proxy_server.start() return rpc_proxy_id