Correct log message in l3_rpc_agent_api

Fixes bug #1191623

Change-Id: Ib692a62d6f557ab9a50da1d888e291e3e24871fb
This commit is contained in:
Akihiro MOTOKI 2013-06-16 16:45:56 +09:00
parent 55dbdb7226
commit 0b2d1ac235

View File

@ -44,12 +44,7 @@ class L3AgentNotifyAPI(proxy.RpcProxy):
def _agent_notification(self, context, method, routers, def _agent_notification(self, context, method, routers,
operation, data): operation, data):
"""Notify changed routers to hosting l3 agents. """Notify changed routers to hosting l3 agents."""
Adjust routers according to l3 agents' role and
related dhcp agents.
Notify dhcp agent to get right subnet's gateway ips.
"""
adminContext = context.is_admin and context or context.elevated() adminContext = context.is_admin and context or context.elevated()
plugin = manager.QuantumManager.get_plugin() plugin = manager.QuantumManager.get_plugin()
for router in routers: for router in routers:
@ -88,7 +83,7 @@ class L3AgentNotifyAPI(proxy.RpcProxy):
"""Fanout the deleted router to all L3 agents.""" """Fanout the deleted router to all L3 agents."""
LOG.debug(_('Fanout notify agent at %(topic)s the message ' LOG.debug(_('Fanout notify agent at %(topic)s the message '
'%(method)s on router %(router_id)s'), '%(method)s on router %(router_id)s'),
{'topic': topics.DHCP_AGENT, {'topic': topics.L3_AGENT,
'method': method, 'method': method,
'router_id': router_id}) 'router_id': router_id})
self.fanout_cast( self.fanout_cast(