aboutsummaryrefslogtreecommitdiff
path: root/tools/cleanup-containers
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cleanup-containers')
-rwxr-xr-xtools/cleanup-containers5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/cleanup-containers b/tools/cleanup-containers
index 14249c960..739621336 100755
--- a/tools/cleanup-containers
+++ b/tools/cleanup-containers
@@ -16,6 +16,11 @@ else
egrep -v '(^\s*$)' | sort | uniq)
fi
+echo "Removing ovs bridge..."
+(docker exec -u root neutron_openvswitch_agent neutron-ovs-cleanup \
+ --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini \
+ --ovs_all_ports) > /dev/null
+
echo "Stopping containers..."
(docker stop -t 2 ${containers_to_kill} 2>&1) > /dev/null