a9f26b81e2
This reverts commit caae7b6a6f
.
Reason for revert:
Many users still need L3 firewalls and Inspur team wants to maintain
this project.
Neutron drivers team discussed the topic of the maintenance of
neutron-fwaas, and agreed to include neutron-fwaas again to Neutron
stadium[1].
Some updates have been made:
Remove use "autonested_transaction" method, see more [2]
Replace "neutron_lib.callbacks.registry.notify" with "registry.publish"
Replace rootwrap execution with privsep context execution.
Ensure db Models and migration scripts are sync, set table
firewall_group_port_associations_v2's two columns nullable=False
[1] https://meetings.opendev.org/meetings/neutron_drivers/2022/neutron_drivers.2022-01-28-14.00.log.html#l-14
[2] https://review.opendev.org/c/openstack/neutron-lib/+/761728
Change-Id: I14f551c199d9badcf25b9e65c954c012326d27cd
17 lines
564 B
Plaintext
17 lines
564 B
Plaintext
# This file was shamelessly stolen from the neutron repository here:
|
|
# https://opendev.org/openstack/neutron/src/branch/master/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"
|
|
}
|