Merge "Removing ovs bridge before destroying container"
This commit is contained in:
commit
fca0b3702d
@ -26,6 +26,7 @@ echo "Removing ovs bridge..."
|
|||||||
(docker exec -u root neutron_openvswitch_agent neutron-ovs-cleanup \
|
(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 \
|
--config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini \
|
||||||
--ovs_all_ports) > /dev/null
|
--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
|
fi
|
||||||
|
|
||||||
echo "Stopping containers..."
|
echo "Stopping containers..."
|
||||||
|
Loading…
Reference in New Issue
Block a user