Merge "Neutron: Add a cleanup function for Linux Bridge"

This commit is contained in:
Jenkins 2015-06-09 22:26:12 +00:00 committed by Gerrit Code Review
commit 69c32dbfc1

@ -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}