
This sets up a new devstack keyword - q-fwaas-v1 - in addition to the existing q-fwaas plugin. The q-fwaas keyword configures the devstack plugin to support FWaaS v2. FWaaS v2 is the future, and should be the default for development at this point. But the new keyword, q-fwaas-v1, will set things up for FWaaS v1, and there is also q-fwaas-v2 to explicitly select FWaaS v2. Also ensure that /etc/neutron/policy.d gets set up for FWaaS policy.json. Depends-On: I88be1670a42fcca4aba3b643a1c5a072ce0d1035 Needed-By: I07a4e5a54c0ad862de791b655445e01f805981e4 Change-Id: If35ca26028ddedcf1bc22dd8749cb11c69a1ccbb
17 lines
561 B
Plaintext
17 lines
561 B
Plaintext
# This file was shamelessly stolen from the neutron repository here:
|
|
# http://git.openstack.org/cgit/openstack/neutron/tree/devstack/lib/l2_agent
|
|
|
|
function plugin_agent_add_l2_agent_extension {
|
|
local l2_agent_extension=$1
|
|
if [[ -z "$L2_AGENT_EXTENSIONS" ]]; then
|
|
L2_AGENT_EXTENSIONS=$l2_agent_extension
|
|
elif [[ ! ,${L2_AGENT_EXTENSIONS}, =~ ,${l2_agent_extension}, ]]; then
|
|
L2_AGENT_EXTENSIONS+=",$l2_agent_extension"
|
|
fi
|
|
}
|
|
|
|
|
|
function configure_l2_agent {
|
|
iniset /$Q_PLUGIN_CONF_FILE agent extensions "$L2_AGENT_EXTENSIONS"
|
|
}
|