l3 notifer should not be a set

An exceptions is raised when a gateway is set to a router because
l3 notifer is a set

Close-Bug: #1793633
Change-Id: I9ae83a9890fb3db2db6150d52a77e67435869770
This commit is contained in:
wangjian 2018-09-21 11:54:19 +08:00
parent 3574f6fa54
commit 00ae684538
1 changed files with 2 additions and 2 deletions

View File

@ -95,9 +95,9 @@ class DFL3AgentlessRouterPlugin(service_base.ServicePluginBase,
def _start_rpc_notifiers(self):
"""Initialization RPC notifiers for agents"""
self.agent_notifiers[const.AGENT_TYPE_L3] = {
self.agent_notifiers[const.AGENT_TYPE_L3] = (
l3_rpc_agent_api.L3AgentNotifyAPI()
}
)
def start_rpc_listeners(self):
self.topic = topics.L3PLUGIN