From 82113467f8872e14306e8ef49a672fccb99f6a37 Mon Sep 17 00:00:00 2001 From: Alessio Ababilov Date: Mon, 28 Jan 2013 17:23:38 +0200 Subject: [PATCH] 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 --- quantum/plugins/openvswitch/agent/ovs_quantum_agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 quantum/plugins/openvswitch/agent/ovs_quantum_agent.py 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")) -- 2.45.2