neutron-fwaas/neutron_fwaas
Swaminathan Vasudevan eab443dc09 FWaaS-DVR: FWaaS rules not updated in DVR routers on compute host
When a firewall is created after the routers have been deployed,
we are supposed to manually do a firewall-update on specific routers
where we wanted the firewall policy to be applied in the case of
FWaaS-v1.
But in the case of DVR routers, we have seen the firewall-update
for routers that are deployed in the compute hosts are not getting
propagated properly.
The reason is the firewall update, firewall delete and firewall
create events are not notified to all the respective router hosts.
The original code only handles getting the host information from
the routers that are scheduled to the l3 agent, but in the case of
DVR routers, the routers are only scheduled to the network node l3
agents and the other distributed routers on compute are created
based on the service port binding.

This bug is applicable only for FWaaS-v1 and the patch should be
applied for Rocky release and below, since FWaaS-v1 is not supported
in Stein and Train release.

This patch fixes the problem described above by taking care of
collecting all the hosts involved with DVR routers and notifying
them.

Change-Id: I7ef193baba9447d0f09cd9544cce9d05a956b920
Closes-Bug: #1845557
(cherry picked from commit 20fd026116)
2019-10-04 18:26:08 +00:00
..
common Validating if a port is supported by FWaaS L2 driver 2018-02-05 13:07:12 +07:00
db Merge "Fix sanity check for default firewall group name" into stable/queens 2018-07-12 22:52:14 +00:00
extensions Use API Definitions from neutron-lib 2017-07-26 15:10:21 +09:00
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2017-12-13 06:05:29 +00:00
privileged Support IPv6 for netlink_conntrack 2018-01-24 02:29:57 +00:00
services FWaaS-DVR: FWaaS rules not updated in DVR routers on compute host 2019-10-04 18:26:08 +00:00
tests FWaaS-DVR: FWaaS rules not updated in DVR routers on compute host 2019-10-04 18:26:08 +00:00
__init__.py Use flake8-import-order plugin 2017-07-06 04:53:45 +00:00
_i18n.py Remove log translations 2017-08-28 18:01:48 +09:00
opts.py Fix genconfig in neutron-fwaas 2017-07-16 17:38:52 +00:00
version.py After the services split, get neutron-fwaas Jenkins jobs passing 2014-12-09 00:00:29 -07:00