Skip to content

Commit

Permalink
Fix exception when port status is updated with linux bridge plugin
Browse files Browse the repository at this point in the history
Fixes bug 1072713

Change-Id: I3466e747764fc379d413d9493cf80ea35552179f
  • Loading branch information
Gary Kotton committed Oct 25, 2012
1 parent 9431f78 commit b389ace
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -427,8 +427,10 @@ def port_update(self, context, **kwargs):
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:
Expand Down

0 comments on commit b389ace

Please sign in to comment.