Browse code

Merge "remove external_network_bridge option"

Zuul authored on 2018/11/07 09:35:02
Showing 2 changed files
... ...
@@ -95,9 +95,6 @@ NEUTRON_ROOTWRAP_CONF_FILE=$NEUTRON_CONF_DIR/rootwrap.conf
95 95
 NEUTRON_ROOTWRAP_CMD="$NEUTRON_ROOTWRAP $NEUTRON_ROOTWRAP_CONF_FILE"
96 96
 NEUTRON_ROOTWRAP_DAEMON_CMD="$NEUTRON_ROOTWRAP-daemon $NEUTRON_ROOTWRAP_CONF_FILE"
97 97
 
98
-# This is needed because _neutron_ovs_base_configure_l3_agent will set
99
-# external_network_bridge
100
-Q_USE_PROVIDERNET_FOR_PUBLIC=${Q_USE_PROVIDERNET_FOR_PUBLIC:-True}
101 98
 # This is needed because _neutron_ovs_base_configure_l3_agent uses it to create
102 99
 # an external network bridge
103 100
 PUBLIC_BRIDGE=${PUBLIC_BRIDGE:-br-ex}
... ...
@@ -96,10 +96,6 @@ function _neutron_ovs_base_configure_firewall_driver {
96 96
 }
97 97
 
98 98
 function _neutron_ovs_base_configure_l3_agent {
99
-    if [ "$Q_USE_PROVIDERNET_FOR_PUBLIC" != "True" ]; then
100
-        iniset $Q_L3_CONF_FILE DEFAULT external_network_bridge $PUBLIC_BRIDGE
101
-    fi
102
-
103 99
     neutron-ovs-cleanup --config-file $NEUTRON_CONF
104 100
     if [[ "$Q_USE_PUBLIC_VETH" = "True" ]]; then
105 101
         ip link show $Q_PUBLIC_VETH_INT > /dev/null 2>&1 ||