2015-08-18 16:57:44 +02:00
|
|
|
function configure_qos_ml2 {
|
2017-03-07 06:50:33 +00:00
|
|
|
neutron_ml2_extension_driver_add "qos"
|
2015-08-18 16:57:44 +02:00
|
|
|
}
|
2015-08-25 15:50:09 +03:00
|
|
|
|
|
|
|
|
2017-02-23 22:32:32 -05:00
|
|
|
function configure_ml2_extension_drivers {
|
|
|
|
if is_neutron_legacy_enabled; then
|
|
|
|
# NOTE(yamamoto): This overwrites what neutron-legacy set,
|
|
|
|
# with the latest set of drivers.
|
|
|
|
# While we modifies Q_ML2_PLUGIN_EXT_DRIVERS (via
|
|
|
|
# neutron_ml2_extension_driver_add calls) in the post-config phase,
|
|
|
|
# lib/neutron-legcay populates this in "configure_neutron", which is
|
|
|
|
# before post-config.
|
|
|
|
# REVISIT(yamamoto): Probably this ought to be in lib/neutron-legcay
|
|
|
|
iniset /$NEUTRON_CORE_PLUGIN_CONF ml2 extension_drivers ${Q_ML2_PLUGIN_EXT_DRIVERS}
|
|
|
|
fi
|
|
|
|
}
|