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
It's sad but as we still don't have any maintainers for this project,
I think it's time to start process of deprecating this as part of
the Neutron stadium.
Change-Id: I8c8fc6b5ab8a169a0f4a7d77153bb1dfc1530b8e
1. It's Ussuri. We can *finally* stop testing Python 2 [1]. Time to party.
We don't attempt any cleanup but simply stop testing with Python 2,
indicate that we only support Python 3 via 'setup.cfg' and remove any
Python 2 only dependencies.
This should free up a significant amount of resources from the gate and
let us start using Python 3 idioms in our code. Win-win.
2. Cleanup basepython from individual testenv sections
3. From this point on the codebase will be incompatible with python2
[1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html#python2-deprecation-timeline
Change-Id: Ia08c363263aaa406d0bf55e10ce8258695387578
The module reference in PDF doc is not easy to read
and the HTML version is much better, so I decided to show
the module reference in HTML doc only.
Change-Id: I914d26ce1b430573020c78af54a38598ae96886b
Story: 2006099
Task: 35129
Get the FWaaS gate working again by adding the required constructor arg
to L3AgentExtensionAPI. Also bumps up neutron-lib to the latest.
Change-Id: I62d70e8d93cae5a27c8722f69407113035d032bc
This patch implements logging driver in L3 for firewall group
base discussed on the patch [1]
[1] https://review.openstack.org/#/c/509725/
Co-Authored-By: Nguyen Phuong An <AnNP@vn.fujitsu.com>
Co-Authored-By: Kim Bao Long <longkb@vn.fujitsu.com>
Partial-Bug: #1720727
Change-Id: I1194a622c546068991f44559e3f9e343430fd6f9
This patch adds a python binding for libnetfilter_log, it can be used
to capture NFLOG packets in network namespace from logging service in
FWaaS v2.
NFLogWrapper should be covered by functional test. Functional tests
should be added in the future.
Co-Authored-By: Kim Bao Long <longkb@vn.fujitsu.com>
Partial-Bug: #1720727
Change-Id: I2bf0beac5ba373d47c226927d1922f3eb59af501
Currently the job build failed because it requires some reference
from neutron master branch. Which is not released along with latest
neutron Rocky3.
This patch is igrore this path for temporarily and recover after
next neutron release.
Change-Id: I18bae753466be752ff9de879fc7205f806701ae4
Sphinx version 1.7.5 is raised doc build failures. Maybe deps are not
suitable with current sphinx version.
This patch fixes functional test, due to neutron out of date
version and setns() of pynetns doesn't return any open FD anymore [2].
[1] http://lists.openstack.org/pipermail/openstack-dev/2018-April/128986.html
[2] 2e7964f498
Co-Authored-By: Nguyen Phuong An <AnNP@vn.fujitsu.com>
Change-Id: I44c89a4637a6c6b10f374f83ff76fb1225b603b7
This isn't actually used and is a leftover from a thing we did
seven years ago that survives today through copy-pasta.
Change-Id: I319d3815519f55adbb3f421c872991a3d42064fb
oslo.config provides sphinx extensions to generate config reference
and sample config files. This commit enables the auto-generation of
the networking config reference.
Part of doc-migration work
Change-Id: I954f87aebab9c70c8a81e7383e7546035ff4a92c
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: I75401744192375079eab8462065eeb87995c5706
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.
Change-Id: I71c8b7830aa8dd8a26b39be5deadcd40232b4d6b
Closes-Bug:#1693670
This change fleshes out the developer documentation for FWaaS to be more
in line with a project like networking-sfc or networking-odl.
Change-Id: Ic97d2b5db72b0cb5cffb2304a7ba7157ba389ec2
One of the requirements[1] for Neutron stadium projects is to have
in-tree developer documentation. This creates a stub for that. We can
expand on it once the stub is in, but this will permit us to set up
publishing while we iterate on it.
[1] http://docs.openstack.org/developer/neutron/stadium/governance.html#checklist
Change-Id: I914c0e9405385cbcda54c90f9a95275fbc105afd
When building packages if git is absent, then we should not set
html_last_updated_fmt. It can still be set via the -D switch
when building with sphinx-build.
Change-Id: I3341e13efc6011e5fc7354f7a0b0f0ede061b008
Closes-Bug: #1552251
There's no RST file that uses ".. math" and thus
the pngmath Sphinx extension is not used and can
get removed.
Change-Id: I3ea4b529025c8ac3c4092f3720124647861e6668
os.popen() is deprecated since version 2.6. Resolved with use of
subprocess module.
Closes-bug: #1529836
Change-Id: Iaa37baf02de860e71eea0cedc775a10efc868fb4