abd38171ba
Those are generally defined by new lib/neutron code. Change-Id: I2dd0128267b8a836c392d7ac26ade5bd0f421997 Co-Authored-By: YAMAMOTO Takashi <yamamoto@midokura.com>
14 lines
420 B
Plaintext
14 lines
420 B
Plaintext
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 /$NEUTRON_CORE_PLUGIN_CONF agent extensions "$L2_AGENT_EXTENSIONS"
|
|
}
|