]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Corrected the syntax of port_update call to NVSD agent
authorkedar kulkarni <kedarkulkarni.hcu@gmail.com>
Tue, 13 May 2014 06:31:52 +0000 (12:01 +0530)
committerkedar kulkarni <kedarkulkarni.hcu@gmail.com>
Wed, 14 May 2014 04:29:44 +0000 (09:59 +0530)
The parameters passed to the agent rpc port_update call in
NVSD plugin were wrong. It is corrected now.

Change-Id: I9ec8f74695b6ca813ffad9e33502d9a2e0bd1f92
Closes-Bug: 1318909

neutron/plugins/oneconvergence/plugin.py

index 2fab91dff4707697f77a942cd81e9a1a3a277f47..92b9646dc38ec167d60ae4abd579ea4674ab74ce 100644 (file)
@@ -84,9 +84,8 @@ class NVSDPluginV2AgentNotifierApi(rpc.proxy.RpcProxy,
 
     def port_update(self, context, port):
         self.fanout_cast(context,
-                         self.make_msg('port_update',
-                                       port=port,
-                                       topic=self.topic_port_update))
+                         self.make_msg('port_update', port=port),
+                         topic=self.topic_port_update)
 
 
 class OneConvergencePluginV2(db_base_plugin_v2.NeutronDbPluginV2,