hacking 3.0.x is too old.
Try to synchronize pylint ignore and extension list with
other Networking projects.
With new pip the order of packages is not relevant, so the
related comment from requirements.txts is removed, see pip
documentation:
https://pip.pypa.io/en/stable/cli/pip_install/#installation-order
Change-Id: I99a2d30149088d3d71d56351d180e665c38686ef
Now, this patch will support standard_attrs for
firewall_group/firewall_rule/firewall_policy.
Closes-Bug: #1986906
Change-Id: Ib7b06d604a0950a104215bcf4386e14b77d20d12
Neutron recently merged a commit enabling secure rbacs by default
[1], breaking several unit tests of networking-fwaas.
This patch changes the necessary test calls to be admin and
requires neutron >= 23.0.0.0b2.
[1]670cc383e0
Related-Bug: #2019097
Change-Id: I60ad379f9fc94919581f461fd6a731cfe4baba30
pyroute2 version 0.6.x instead of one monolithic package pyroute2
is broken down into several, minimizing requirements of each
package[1]. but verion 0.7.x goes back to one monolithic package.
Avoid using version 0.6.x, bump pyroute2 version >=0.7.2(version
0.7.1 contains bugs[2]).
[1] https://github.com/svinota/pyroute2/discussions/786
[2] https://review.opendev.org/c/openstack/requirements/+/850295
Change-Id: I3149804aacf013292bd6e6559bb1e8ceb2d7a6f2
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
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 updates lower constraints of neutron-fwaas to be
same as for neutron project.
It also bumps neutron version to lates 14.0.0 beta3 and
psycopg2 package to 2.7.3 to fix issue [1].
[1] https://github.com/psycopg/psycopg2/issues/489
Change-Id: I4c78da3a593a9f02a328c6ba02688de04ff98d5a
The model_query module is in neutron-lib and the CommonDBMixin will
eventually be removed. This patch swiches use of the _model_query
method over to query_with_hooks from neutron-lib.
This patch also bumps the neutron-lib version up to 1.20.0
Change-Id: I670d3cef59d8e729e573323fc636a08ff7b86920
As part of the Denver PTG [1] we decided networking related projects
that are "current" and want to receive neutron-lib consumption patches
on an on-going basis should indicate such with a well defined comment
in their requirements.txt. This allows us to easily find the list of
project to receive neutron-lib consumption patches [2] by searching for
the string.
In addition, projects opting-in for these patches are also attesting
they will stay up to date with TC and infra initiatives to ensure
consumption patches can flow freely.
This patch adds the "neutron-lib-current" string to requirements.txt
opting in for neutron-lib consumption patches.
[1] https://etherpad.openstack.org/p/neutron-stein-ptg
[2] https://docs.openstack.org/neutron-lib/latest/contributor/contributing.html#phase-4-consume
Change-Id: I7ece3a500fc488a8c8365036734be2dc16ce716c
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
Neutron-lib 1.18.0 is our Rocky RC and is already being used by neutron
[1]. This patch updates the neutron-lib required version to match
neutron [1] in prep for the Rocky release.
[1] https://review.openstack.org/#/c/583671/
Change-Id: Ied1f59a4027fc0df29ede6243620eb876b3ae75f
Switch usages from neutron's autonested_transaction to neutron-libs
in prep for https://review.openstack.org/#/c/583324
Change-Id: Ic35cc3b7d8563c72abfbec8ce019c2c2f3fdcb53
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
Instead of using tox-install.sh, we can install horizon and neutron
now directly from pypi - or use the current branch in CI system using
tox-siblings.
Update tox.ini for this change and add neutron to requirements file.
Change-Id: I29c17d51f2648e4bdef1a8c9799ca5e785aa3423
This PS is going to following item:
- Remove dependency oslo.serialization which only use at one test-case
and use build-in python package that is json[1] in the code-base.
- Ignore N521 check in the flake which no longer need to check when we
change into json.
[1] https://docs.python.org/3.6/library/json.html
Change-Id: I22cf66d1ea5666a072a06456213a7964c5deced8