Skip to content
Browse files

Merge "Fix for Quantum LinuxBridge Intf driver plug call"

  • Loading branch information...
2 parents dae5b2c + 7e845f4 commit a76f08b971e58f1f58280374600ca2c62f674e4d Jenkins committed with openstack-gerrit May 18, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 nova/network/linux_net.py
View
8 nova/network/linux_net.py
@@ -1154,10 +1154,10 @@ def plug(self, network, mac_address, gateway=True):
utils.execute('ip', 'link', 'set', bridge, 'up', run_as_root=True)
LOG.debug(_("Done starting bridge %s"), bridge)
- full_ip = '%s/%s' % (network['dhcp_server'],
- network['cidr'].rpartition('/')[2])
- utils.execute('ip', 'address', 'add', full_ip, 'dev', bridge,
- run_as_root=True)
+ full_ip = '%s/%s' % (network['dhcp_server'],
+ network['cidr'].rpartition('/')[2])
+ utils.execute('ip', 'address', 'add', full_ip, 'dev', bridge,
+ run_as_root=True)
return dev

0 comments on commit a76f08b

Please sign in to comment.
Something went wrong with that request. Please try again.