Merge "devstack: configure ml2 extension drivers using lib/neutron"
This commit is contained in:
commit
2924ac1061
@ -1,5 +1,5 @@
|
||||
function configure_dns_extension {
|
||||
enable_ml2_extension_driver "dns"
|
||||
neutron_ml2_extension_driver_add "dns"
|
||||
}
|
||||
function post_config_dns_extension {
|
||||
iniset $NEUTRON_CONF DEFAULT dns_domain openstackgate.local
|
||||
|
@ -1,18 +1,8 @@
|
||||
source $LIBDIR/ml2_drivers/sriovnicswitch
|
||||
|
||||
|
||||
function enable_ml2_extension_driver {
|
||||
local extension_driver=$1
|
||||
if [[ -z "$Q_ML2_PLUGIN_EXT_DRIVERS" ]]; then
|
||||
Q_ML2_PLUGIN_EXT_DRIVERS=$extension_driver
|
||||
elif [[ ! ,${Q_ML2_PLUGIN_EXT_DRIVERS}, =~ ,${extension_driver}, ]]; then
|
||||
Q_ML2_PLUGIN_EXT_DRIVERS+=",$extension_driver"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
function configure_qos_ml2 {
|
||||
enable_ml2_extension_driver "qos"
|
||||
neutron_ml2_extension_driver_add "qos"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user