Merge "Removing ovs bridge before destroying container"

This commit is contained in:
Jenkins 2017-06-16 10:51:44 +00:00 committed by Gerrit Code Review
commit fca0b3702d
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ 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
(docker exec -it openvswitch_vswitchd bash -c 'for br in `ovs-vsctl list-br`;do ovs-vsctl --if-exists del-br $br;done') > /dev/null
fi
echo "Stopping containers..."