neutron/devstack/lib/ml2
Rodolfo Alonso Hernandez c6db2a0e40 Remove deprecated SR-IOV devstack file
File [1] functionality is deprecated and not used anymore in
devstack.

Along with this file, the function "configure_ml2" [2] should be
removed. This function is not used anymore [3].

[1]https://opendev.org/openstack/neutron/src/branch/stable/stein/devstack/lib/ml2_drivers/sriovnicswitch
[2]https://opendev.org/openstack/neutron/src/branch/stable/stein/devstack/lib/ml2#L9
[3]http://codesearch.openstack.org/?q=configure_ml2&i=nope&files=&repos=

Change-Id: I835a30244c505876c1b686ceb8c32b340c12b460
Closes-Bug: #1827089
2019-05-02 17:17:27 +00:00

18 lines
686 B
Plaintext

function configure_qos_ml2 {
neutron_ml2_extension_driver_add "qos"
}
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
}