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
This commit is contained in:
Rodolfo Alonso Hernandez 2019-04-30 16:24:54 +00:00
parent b43aad9d75
commit c6db2a0e40
2 changed files with 0 additions and 18 deletions

View File

@ -1,23 +1,8 @@
source $LIBDIR/ml2_drivers/sriovnicswitch
function configure_qos_ml2 { function configure_qos_ml2 {
neutron_ml2_extension_driver_add "qos" neutron_ml2_extension_driver_add "qos"
} }
function configure_ml2 {
OIFS=$IFS;
IFS=",";
mechanism_drivers_array=($Q_ML2_PLUGIN_MECHANISM_DRIVERS);
IFS=$OIFS;
for mechanism_driver in "${mechanism_drivers_array[@]}"; do
if [ "$(type -t configure_ml2_$mechanism_driver)" = function ]; then
configure_ml2_$mechanism_driver
fi
done
}
function configure_ml2_extension_drivers { function configure_ml2_extension_drivers {
if is_neutron_legacy_enabled; then if is_neutron_legacy_enabled; then
# NOTE(yamamoto): This overwrites what neutron-legacy set, # NOTE(yamamoto): This overwrites what neutron-legacy set,

View File

@ -1,3 +0,0 @@
function configure_ml2_sriovnicswitch {
:
}