Merge "Neutron: Set experimental option to use linuxbridge agent"

This commit is contained in:
Zuul 2022-08-01 23:36:22 +00:00 committed by Gerrit Code Review
commit 0af962d60a
2 changed files with 7 additions and 0 deletions

View File

@ -229,6 +229,10 @@ function configure_neutron_new {
else
mech_drivers+=",linuxbridge"
fi
if [[ "$mech_drivers" == *"linuxbridge"* ]]; then
iniset $NEUTRON_CONF experimental linuxbridge True
fi
iniset $NEUTRON_CORE_PLUGIN_CONF ml2 mechanism_drivers $mech_drivers
iniset $NEUTRON_CORE_PLUGIN_CONF ml2 overlay_ip_version $TUNNEL_IP_VERSION

View File

@ -125,6 +125,9 @@ function neutron_plugin_configure_service {
fi
populate_ml2_config /$Q_PLUGIN_CONF_FILE ml2 mechanism_drivers=$Q_ML2_PLUGIN_MECHANISM_DRIVERS
if [[ "$Q_ML2_PLUGIN_MECHANISM_DRIVERS" == *"linuxbridge"* ]]; then
iniset $NEUTRON_CONF experimental linuxbridge True
fi
populate_ml2_config /$Q_PLUGIN_CONF_FILE ml2 overlay_ip_version=$TUNNEL_IP_VERSION
if [[ -n "$Q_ML2_PLUGIN_TYPE_DRIVERS" ]]; then