From fd93bb104ff422c0a98c31238dcaa1e6dc8118cd 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 a814895b75..6e058eeef0 --- 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"))