use rpc Connection rather than create_connection

The create_connection function in neutron.common.rpc is just an alias to
Connection. This patch switches to the later so we can remove the former
in: https://review.openstack.org/#/c/560130

Change-Id: I60514447afcc2423821da4b5762f55056177874f
This commit is contained in:
Boden R 2018-04-12 14:06:07 -06:00
parent bec68c166b
commit 343d12495b
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class DFL3AgentlessRouterPlugin(service_base.ServicePluginBase,
def start_rpc_listeners(self):
self.topic = topics.L3PLUGIN
self.conn = n_rpc.create_connection()
self.conn = n_rpc.Connection()
self.agent_notifiers.update(
{const.AGENT_TYPE_L3: l3_rpc_agent_api.L3AgentNotifyAPI()})
self.endpoints = [l3_rpc.L3RpcCallback()]