Merge "Don't set external_network_bridge by default"

This commit is contained in:
Jenkins 2017-02-24 12:00:44 +00:00 committed by Gerrit Code Review
commit 10e1e387ce
3 changed files with 1 additions and 5 deletions

View File

@ -54,7 +54,6 @@ function neutron_plugin_configure_dhcp_agent {
}
function neutron_plugin_configure_l3_agent {
iniset $Q_L3_CONF_FILE DEFAULT external_network_bridge
iniset $Q_L3_CONF_FILE DEFAULT l3_agent_manager neutron.agent.l3_agent.L3NATAgentWithStateReport
}

View File

@ -48,7 +48,6 @@ function neutron_plugin_configure_l3_agent {
local conf_file=$1
sudo brctl addbr $PUBLIC_BRIDGE
set_mtu $PUBLIC_BRIDGE $PUBLIC_BRIDGE_MTU
iniset $conf_file DEFAULT external_network_bridge
}
function neutron_plugin_configure_plugin_agent {

View File

@ -87,9 +87,7 @@ function _neutron_ovs_base_configure_firewall_driver {
}
function _neutron_ovs_base_configure_l3_agent {
if [ "$Q_USE_PROVIDERNET_FOR_PUBLIC" = "True" ]; then
iniset $Q_L3_CONF_FILE DEFAULT external_network_bridge ""
else
if [ "$Q_USE_PROVIDERNET_FOR_PUBLIC" != "True" ]; then
iniset $Q_L3_CONF_FILE DEFAULT external_network_bridge $PUBLIC_BRIDGE
fi