From: Gary Kotton Date: Thu, 25 Oct 2012 03:30:24 +0000 (+0000) Subject: Fix exception when port status is updated with linux bridge plugin X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b389aceda93366b2486b4c4884476b060ffa38cb;p=openstack-build%2Fneutron-build.git Fix exception when port status is updated with linux bridge plugin Fixes bug 1072713 Change-Id: I3466e747764fc379d413d9493cf80ea35552179f --- diff --git a/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py b/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py index d6ecdad3a..774d4cf41 100755 --- a/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py +++ b/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py @@ -427,8 +427,10 @@ class LinuxBridgeRpcCallbacks(): port = kwargs.get('port') if port['admin_state_up']: vlan_id = kwargs.get('vlan_id') + physical_network = kwargs.get('physical_network') # create the networking for the port self.linux_br.add_interface(port['network_id'], + physical_network, vlan_id, port['id']) else: