Merge "devstack 'cleanup-node' script should delete OVS bridges"
This commit is contained in:
commit
6b2a1c46e5
@ -23,3 +23,8 @@ if virsh pool-list | grep -q $LIBVIRT_STORAGE_POOL ; then
|
|||||||
virsh vol-list $LIBVIRT_STORAGE_POOL | grep -q $VOL_NAME &&
|
virsh vol-list $LIBVIRT_STORAGE_POOL | grep -q $VOL_NAME &&
|
||||||
virsh vol-delete $VOL_NAME --pool $LIBVIRT_STORAGE_POOL
|
virsh vol-delete $VOL_NAME --pool $LIBVIRT_STORAGE_POOL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sudo brctl delif br-$NAME ovs-$NAME || true
|
||||||
|
sudo ovs-vsctl del-port $NETWORK_BRIDGE ovs-$NAME || true
|
||||||
|
sudo ifconfig br-$NAME down || true
|
||||||
|
sudo brctl delbr br-$NAME || true
|
||||||
|
Loading…
Reference in New Issue
Block a user