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
This commit is contained in:
parent
9ea39353b4
commit
fd93bb104f
4
quantum/plugins/openvswitch/agent/ovs_quantum_agent.py
Executable file → Normal file
4
quantum/plugins/openvswitch/agent/ovs_quantum_agent.py
Executable file → Normal file
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user