Down PUBLIC_BRIDGE before trying to delete it
When cleanup devstack with linuxbridge, PUBLIC_BRIDGE should be DOWN before trying to delete it. Change-Id: I2d205cbe4d92a03ee5c376a23282d9880dd9a1df Closes-Bug: #1662543
This commit is contained in:
parent
7eef546f8a
commit
40aae6adbf
1
lib/neutron_plugins/linuxbridge_agent
Normal file → Executable file
1
lib/neutron_plugins/linuxbridge_agent
Normal file → Executable file
@ -8,6 +8,7 @@ _XTRACE_NEUTRON_LB=$(set +o | grep xtrace)
|
||||
set +o xtrace
|
||||
|
||||
function neutron_lb_cleanup {
|
||||
sudo ip link set $PUBLIC_BRIDGE down
|
||||
sudo brctl delbr $PUBLIC_BRIDGE
|
||||
|
||||
if [[ "$Q_ML2_TENANT_NETWORK_TYPE" = "vxlan" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user