Neutron: Add a cleanup function for Linux Bridge
Change-Id: Ia1bad5d2fa3b94afc662463b2e072f8482b0ce1f
This commit is contained in:
parent
21b7e975fa
commit
7bc2af7a6b
@ -824,6 +824,10 @@ function cleanup_neutron {
|
||||
neutron_ovs_base_cleanup
|
||||
fi
|
||||
|
||||
if [[ $Q_AGENT == "linuxbridge" ]]; then
|
||||
neutron_lb_cleanup
|
||||
fi
|
||||
|
||||
# delete all namespaces created by neutron
|
||||
for ns in $(sudo ip netns list | grep -o -E '(qdhcp|qrouter|qlbaas|fip|snat)-[0-9a-f-]*'); do
|
||||
sudo ip netns delete ${ns}
|
||||
|
Loading…
Reference in New Issue
Block a user