Skip to content

Commit 7bc2af7

Browse files
committed
Neutron: Add a cleanup function for Linux Bridge
Change-Id: Ia1bad5d2fa3b94afc662463b2e072f8482b0ce1f
1 parent 21b7e97 commit 7bc2af7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/neutron-legacy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,10 @@ function cleanup_neutron {
824824
neutron_ovs_base_cleanup
825825
fi
826826

827+
if [[ $Q_AGENT == "linuxbridge" ]]; then
828+
neutron_lb_cleanup
829+
fi
830+
827831
# delete all namespaces created by neutron
828832
for ns in $(sudo ip netns list | grep -o -E '(qdhcp|qrouter|qlbaas|fip|snat)-[0-9a-f-]*'); do
829833
sudo ip netns delete ${ns}

0 commit comments

Comments
 (0)