Browse code

Neutron: Add a cleanup function for Linux Bridge

Change-Id: Ia1bad5d2fa3b94afc662463b2e072f8482b0ce1f

Sean M. Collins authored on 2015/06/09 01:36:30
Showing 1 changed files
... ...
@@ -824,6 +824,10 @@ function cleanup_neutron {
824 824
         neutron_ovs_base_cleanup
825 825
     fi
826 826
 
827
+    if [[ $Q_AGENT == "linuxbridge" ]]; then
828
+        neutron_lb_cleanup
829
+    fi
830
+
827 831
     # delete all namespaces created by neutron
828 832
     for ns in $(sudo ip netns list | grep -o -E '(qdhcp|qrouter|qlbaas|fip|snat)-[0-9a-f-]*'); do
829 833
         sudo ip netns delete ${ns}