01c0466d74
For now it only supports q-qos service that is used to configure QoS service plugin. It also adds ability to enable l2 agent extensions. To check that it works, I am enabling QoS tests back for API job. Partially-Implements: blueprint quantum-qos-api Change-Id: I19e4fe0cf5ecc55397628017631c3ff6718ce36f
14 lines
383 B
Plaintext
14 lines
383 B
Plaintext
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"
|
|
}
|