Skip to content

Commit cf0bf74

Browse files
kajinamitslawqo
authored andcommitted
Neutron: Set experimental option to use linuxbridge agent
Recently the experimental mechanism has been added to Neutron and now it requires the [experimental] linuxbridge option when the linuxbridge mechanism driver is used. Depends-on: https://review.opendev.org/c/openstack/neutron/+/845181 Change-Id: Ice82a391cda9eb0193f23e6794be7ab3df12c40b
1 parent 44d07f3 commit cf0bf74

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)