From: Alessio Ababilov Date: Mon, 28 Jan 2013 15:23:38 +0000 (+0200) Subject: Fix OVSQuantumAgent.port_update if not admin_state_up X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=82113467f8872e14306e8ef49a672fccb99f6a37;p=openstack-build%2Fneutron-build.git Fix OVSQuantumAgent.port_update if not admin_state_up self.agent does not exist. Use self.plugin_rpc, not self.agent.plugin_rpc. Change-Id: Id472c07f5a16891c040cc1afdcb457e1ef81beed --- diff --git a/quantum/plugins/openvswitch/agent/ovs_quantum_agent.py b/quantum/plugins/openvswitch/agent/ovs_quantum_agent.py old mode 100755 new mode 100644 index a814895b7..6e058eeef --- a/quantum/plugins/openvswitch/agent/ovs_quantum_agent.py +++ b/quantum/plugins/openvswitch/agent/ovs_quantum_agent.py @@ -215,8 +215,8 @@ class OVSQuantumAgent(object): self.agent_id) else: # update plugin about port status - self.agent.plugin_rpc.update_device_down(self.context, port['id'], - self.agent.agent_id) + self.plugin_rpc.update_device_down(self.context, port['id'], + self.agent_id) def tunnel_update(self, context, **kwargs): LOG.debug(_("tunnel_update received"))