Remove bad options calling quantum-ovs-cleanup

--external_network_bridge and --ovs_integration_bridge
are no longer a valid options

Fixes LP# 1115213

Change-Id: I9af4514a0cc661f4b72b3f0e00407be163c48945
This commit is contained in:
Davanum Srinivas 2013-02-04 09:16:14 -05:00
parent f3da41a5ee
commit 88a3bc1d8d

View File

@ -12,7 +12,7 @@ function is_quantum_ovs_base_plugin() {
function _quantum_ovs_base_setup_bridge() {
local bridge=$1
quantum-ovs-cleanup --ovs_integration_bridge $bridge
quantum-ovs-cleanup
sudo ovs-vsctl --no-wait -- --may-exist add-br $bridge
sudo ovs-vsctl --no-wait br-set-external-id $bridge bridge-id $bridge
}
@ -39,7 +39,7 @@ function _quantum_ovs_base_configure_debug_command() {
function _quantum_ovs_base_configure_l3_agent() {
iniset $Q_L3_CONF_FILE DEFAULT external_network_bridge $PUBLIC_BRIDGE
quantum-ovs-cleanup --external_network_bridge $PUBLIC_BRIDGE
quantum-ovs-cleanup
sudo ovs-vsctl --no-wait -- --may-exist add-br $PUBLIC_BRIDGE
# ensure no IP is configured on the public bridge
sudo ip addr flush dev $PUBLIC_BRIDGE