Skip to content

Commit 0af962d

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Neutron: Set experimental option to use linuxbridge agent"
2 parents bd6e520 + cf0bf74 commit 0af962d

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

lib/neutron

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ function configure_neutron_new {
229229
else
230230
mech_drivers+=",linuxbridge"
231231
fi
232+
if [[ "$mech_drivers" == *"linuxbridge"* ]]; then
233+
iniset $NEUTRON_CONF experimental linuxbridge True
234+
fi
235+
232236
iniset $NEUTRON_CORE_PLUGIN_CONF ml2 mechanism_drivers $mech_drivers
233237
iniset $NEUTRON_CORE_PLUGIN_CONF ml2 overlay_ip_version $TUNNEL_IP_VERSION
234238

lib/neutron_plugins/ml2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ function neutron_plugin_configure_service {
125125
fi
126126

127127
populate_ml2_config /$Q_PLUGIN_CONF_FILE ml2 mechanism_drivers=$Q_ML2_PLUGIN_MECHANISM_DRIVERS
128+
if [[ "$Q_ML2_PLUGIN_MECHANISM_DRIVERS" == *"linuxbridge"* ]]; then
129+
iniset $NEUTRON_CONF experimental linuxbridge True
130+
fi
128131
populate_ml2_config /$Q_PLUGIN_CONF_FILE ml2 overlay_ip_version=$TUNNEL_IP_VERSION
129132

130133
if [[ -n "$Q_ML2_PLUGIN_TYPE_DRIVERS" ]]; then

0 commit comments

Comments
 (0)