Removing ovs bridge before destroying container
Change-Id: I0fac4cef9e961b1d64f269bfc27804e77f4ea842 Closes-bug: #1689422
This commit is contained in:
parent
b595f236d0
commit
479d567177
@ -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..."
|
||||
|
Loading…
Reference in New Issue
Block a user