summaryrefslogtreecommitdiffstats
path: root/nova/virt
diff options
context:
space:
mode:
authorTrey Morris <trey.morris@rackspace.com>2011-07-27 23:19:11 +0000
committerTarmac <>2011-07-27 23:19:11 +0000
commit26fd6c3f309a2febd7538684a470d462ab83dab3 (patch)
tree822856144c2bc2ab95bd305f83cf5809f5f3b628 /nova/virt
parent0fc7f1220139318cfb9cd181324cce653cc27f58 (diff)
parent7f5437a435cb7d98c65749488b9a45bfb8bd6fec (diff)
updates handling of arguments in nova-manage network create.
updates a few of the arguments to nova-manage and related help. updates nova-manage to raise proper exceptions. updates network manager create_networks to handle ipv6 more correctly and efficiently. flat_network_bridge FLAG now defaults to None.
Diffstat (limited to 'nova/virt')
-rw-r--r--nova/virt/libvirt/vif.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt/vif.py b/nova/virt/libvirt/vif.py
index 24d45d1a7..eef582fac 100644
--- a/nova/virt/libvirt/vif.py
+++ b/nova/virt/libvirt/vif.py
@@ -126,7 +126,7 @@ class LibvirtOpenVswitchDriver(VIFDriver):
dev = "tap-%s" % vif_id
try:
utils.execute('sudo', 'ovs-vsctl', 'del-port',
- FLAGS.flat_network_bridge, dev)
+ network['bridge'], dev)
utils.execute('sudo', 'ip', 'link', 'delete', dev)
except:
LOG.warning(_("Failed while unplugging vif of instance '%s'"),