
It also changes devstack plugin to set fwaas L3 agent extension in "agent" section of config file. Previously it was set in "AGENT" section and it looks that it makes the difference when running on Python 3. Change-Id: If177e682e00e38eeb75a7ad77cf5796a04fe831b
17 lines
561 B
Plaintext
17 lines
561 B
Plaintext
# This file is completely based on one in the neutron repository here:
|
|
# https://opendev.org/openstack/neutron/src/branch/master/devstack/lib/l2_agent
|
|
|
|
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 $Q_L3_CONF_FILE agent extensions "$L3_AGENT_EXTENSIONS"
|
|
}
|