]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Correct log message in l3_rpc_agent_api
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Sun, 16 Jun 2013 07:45:56 +0000 (16:45 +0900)
committerAkihiro MOTOKI <motoki@da.jp.nec.com>
Mon, 17 Jun 2013 02:47:55 +0000 (11:47 +0900)
Fixes bug #1191623

Change-Id: Ib692a62d6f557ab9a50da1d888e291e3e24871fb

quantum/api/rpc/agentnotifiers/l3_rpc_agent_api.py

index 4dc56f94083ad041c38821dccd23f5b544db2022..53fb093b060e4cd0ec7e7305a4cb3b92f249c02f 100644 (file)
@@ -44,12 +44,7 @@ class L3AgentNotifyAPI(proxy.RpcProxy):
 
     def _agent_notification(self, context, method, routers,
                             operation, data):
-        """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.
-        """
+        """Notify changed routers to hosting l3 agents."""
         adminContext = context.is_admin and context or context.elevated()
         plugin = manager.QuantumManager.get_plugin()
         for router in routers:
@@ -88,7 +83,7 @@ class L3AgentNotifyAPI(proxy.RpcProxy):
         """Fanout the deleted router to all L3 agents."""
         LOG.debug(_('Fanout notify agent at %(topic)s the message '
                     '%(method)s on router %(router_id)s'),
-                  {'topic': topics.DHCP_AGENT,
+                  {'topic': topics.L3_AGENT,
                    'method': method,
                    'router_id': router_id})
         self.fanout_cast(