
Adds devstack configs to try to enable the L3 agent extension `fip_qos` by checking the API service extension router, agent and QoS. Once this L3 agent extension works during the devstack zuul job installation, we can continue to run the neutron-tempest-plugin tests for floating IP QoS. This cherry-pick closes related bug in stable/queens for linuxbridge scenario job. In master branch there is no this problem in linuxbridge scenario job as fip_qos L3 extension is already properly configured and QoS for Floating IPs works properly. Partially-Implements blueprint: floating-ip-rate-limit Related-Bug: #1758033 Change-Id: Ibef48e7842a276fe77c901403d67760871f2b7e0 (cherry picked from commit 6e50a77fc7412b2d0f5c6cf36c147d649cfb16a9)
14 lines
410 B
Plaintext
14 lines
410 B
Plaintext
function plugin_agent_add_l3_agent_extension {
|
|
local l3_agent_extension=$1
|
|
if [[ -z "$L3_AGENT_EXTENSIONS" ]]; then
|
|
L3_AGENT_EXTENSIONS=$l3_agent_extension
|
|
elif [[ ! ,${L3_AGENT_EXTENSIONS}, =~ ,${l3_agent_extension}, ]]; then
|
|
L3_AGENT_EXTENSIONS+=",$l3_agent_extension"
|
|
fi
|
|
}
|
|
|
|
|
|
function configure_l3_agent {
|
|
iniset $NEUTRON_L3_CONF agent extensions "$L3_AGENT_EXTENSIONS"
|
|
}
|