Commit Graph

189 Commits

Author SHA1 Message Date
elajkat 625b6526ca Bump hacking
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
2024-02-09 09:58:16 +00:00
liushy 3b4e1bdda1 Support standard_attrs for fwaas resources
Now, this patch will support standard_attrs for
firewall_group/firewall_rule/firewall_policy.

Closes-Bug: #1986906
Change-Id: Ib7b06d604a0950a104215bcf4386e14b77d20d12
2023-05-24 16:24:14 +00:00
Rodolfo Alonso Hernandez e479c1a1d6 Fix issues due to recent RBAC changes
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
2023-05-23 05:37:56 +02:00
Zuul 965ac6bcdb Merge "Use ovs constants from neutron-lib" 2022-08-09 11:12:07 +00:00
Zuul 6fe8024fb6 Merge "Bump pyroute2 version to 0.7.2" 2022-08-09 05:58:53 +00:00
yatinkarel 8233224338 Use ovs constants from neutron-lib
ovs constants are being dropped from neutron repo[1] as
those are available in neutron-lib since 2.19.0.
This patch updates minimum required version of neutron-lib
and switch to use ovs_constants from neutron-lib.

[1] https://review.opendev.org/c/openstack/neutron/+/797121
[2] https://review.opendev.org/c/openstack/neutron-lib/+/822131

Change-Id: Ida899e6fc709d3a946934e3ad5e20499380189de
2022-08-09 11:20:03 +05:30
zhouhenglc c70dcb965d Bump pyroute2 version to 0.7.2
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
2022-07-29 08:27:23 +08:00
zhangtongjian b126f4224a Remove usage of six
Remove six-library Replace the following items with Python 3 style code.
- six.six.add_metaclass
- six.PY2
- requirement.txt

Change-Id: Ib87394e41cdba7fc57e6ae6ed08ba1f84465441e
2022-07-27 12:46:16 +00:00
Ghanshyam Mann 216df5cf82 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: Icfceba7407e7c775b29e281bdf940653f84f5340
2022-04-30 20:09:59 -05:00
ZhouHeng a9f26b81e2 revive neutron-fwaas project
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
2022-03-01 01:01:47 +00:00
Slawek Kaplonski caae7b6a6f Retire neutron-fwaas project
Governance change is proposed at [1] and project config patch is
proposed at [2]

[1] https://review.opendev.org/735828
[2] https://review.opendev.org/#/c/735812/

Change-Id: I561504160e5548c54d1af31821c3366ab34cf0ec
2020-06-16 12:38:31 +02:00
Boden R de49260304 fix gate
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
2019-05-21 14:21:28 -06:00
Slawek Kaplonski cc2e0a3f00 Update lower-constraints to be same as in Neutron
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
2019-03-15 10:26:29 +01:00
Akihiro Motoki 781a06c983 Replace ryu with os_ken
Implements: blueprint ryu-framework-maintenace-transition
Change-Id: Ib2b8260fa7f124a5a8fbe674c6278f39f5d96b04
2018-12-28 00:22:39 +09:00
Boden R f32927857d use neutron-lib for _model_query
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
2018-11-13 11:21:36 -07:00
Boden R 314e1de7fc opt in for neutron-lib consumption patches
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
2018-09-25 13:23:55 -06:00
Nguyen Phuong An 15cabc798d Add python binding for libnetfilter_log
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
2018-08-09 17:45:35 +07:00
Boden R d625886898 update requirements for neutron-lib 1.18.0
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
2018-07-23 07:22:39 -06:00
Boden R a661959f32 use autonested_transaction from neutron-lib
Switch usages from neutron's autonested_transaction to neutron-libs
in prep for https://review.openstack.org/#/c/583324

Change-Id: Ic35cc3b7d8563c72abfbec8ce019c2c2f3fdcb53
2018-07-17 12:11:03 -06:00
Nguyen Van Trung 1f3bfe2f6f [Gate] Avoid sphinx_build error and fix functional test
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
2018-07-06 06:24:30 +00:00
Doug Hellmann cd33d79e5c uncap eventlet
We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

Change-Id: I962e48816dad309c2b6d09ab93be1c31d703b00a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-16 08:39:11 +00:00
OpenStack Proposal Bot d4de944f23 Updated from global requirements
Change-Id: Ibdb4593dc457c9636831ff46e68548e6f23c77da
2018-03-17 00:16:01 +00:00
Andreas Jaeger 4b315e1027 Avoid tox-install.sh
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
2018-03-15 19:57:52 +00:00
OpenStack Proposal Bot 4b1ba9ad2a Updated from global requirements
Change-Id: If53a3c6d7828b1c365eef5e48ef9cbecf0888a89
2018-01-27 20:09:44 +00:00
OpenStack Proposal Bot 6b36e15ddf Updated from global requirements
Change-Id: I8377830671bd5eea7803b21e706035703ccc42ad
2018-01-16 12:37:47 +00:00
Nguyen Van Trung d75663961d Replace jsonutils by common json package
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
2017-12-15 04:09:50 +00:00
OpenStack Proposal Bot 8cfc604bf2 Updated from global requirements
Change-Id: If3263d322445ed1b52edac8f8f055138ca31d303
2017-11-29 09:05:46 +00:00
OpenStack Proposal Bot 1b1a1bc631 Updated from global requirements
Change-Id: I17e62d3802680fa49c3938a40f7ed8292ac791b8
2017-11-15 18:17:16 +00:00
OpenStack Proposal Bot aa292f8ddb Updated from global requirements
Change-Id: I0f76144efb9dd10d69e6248f25a5b5913abaaf80
2017-11-03 01:07:07 +00:00
OpenStack Proposal Bot 66d3d57ac4 Updated from global requirements
Change-Id: Iad9ee2c7bbfdc2eadcbe41174379328f416438e0
2017-10-25 04:27:50 +00:00
OpenStack Proposal Bot 43f7ae3493 Updated from global requirements
Change-Id: Idc2a1ca7b1baae8333a81f7d2ef8fe13a9da1d3a
2017-09-27 17:14:35 +00:00
OpenStack Proposal Bot df919a3e2d Updated from global requirements
Change-Id: Ie77b38af7cb847f960bd332aeda66f28b287d41d
2017-09-24 12:22:21 +00:00
OpenStack Proposal Bot 6723081333 Updated from global requirements
Change-Id: I284e5f6e0e97681f7ef890150b5838881c7be882
2017-09-13 12:55:20 +00:00
OpenStack Proposal Bot a831bd7b7f Updated from global requirements
Change-Id: I536a54472bd581c43bfab1d6021da152d09659fe
2017-09-06 17:00:05 +00:00
OpenStack Proposal Bot f6deeab238 Updated from global requirements
Change-Id: I639f4661e63b698ccf621f2b8b45da111e22b1f0
2017-08-27 11:41:58 +00:00
OpenStack Proposal Bot b12d4300cc Updated from global requirements
Change-Id: I9738a4d69e36cb11d818f244dedfc74c883c8a2d
2017-08-23 23:29:03 +00:00
OpenStack Proposal Bot 5b41e2c639 Updated from global requirements
Change-Id: I6d7f4ceea768a25cd315c927bf344a24bf050036
2017-07-19 18:37:53 +00:00
OpenStack Proposal Bot abfcc8fba3 Updated from global requirements
Change-Id: Iedec4795c27900a415bf7dac2fbb892026e0732d
2017-07-06 19:48:10 +00:00
OpenStack Proposal Bot 94e748b71d Updated from global requirements
Change-Id: Ib0c3c41c4cfb323c914f15b1b6c23881602bdcb5
2017-06-27 17:47:19 +00:00
OpenStack Proposal Bot cc85fe34fc Updated from global requirements
Change-Id: Ifb7c6eac155236a154308856e97432b182f0588e
2017-06-15 16:28:06 +00:00
OpenStack Proposal Bot 9296f44167 Updated from global requirements
Change-Id: Id042c7742d0dbd3f77cc640e846be65a14d2332b
2017-06-10 13:30:45 +00:00
OpenStack Proposal Bot 9b21f3c381 Updated from global requirements
Change-Id: I82ecac256fb3974e91f3797a9c6d4c0eb20da44a
2017-06-03 13:08:30 +00:00
OpenStack Proposal Bot e73b214d73 Updated from global requirements
Change-Id: I015f0cb4a2a311c72fd8f480ef3cef362a2b2644
2017-05-25 02:11:45 +00:00
OpenStack Proposal Bot 8589bf30a9 Updated from global requirements
Change-Id: Id30e653ea29b9133d2490ebebf00cfef45e40ad1
2017-05-18 12:49:24 +00:00
OpenStack Proposal Bot dc9296b745 Updated from global requirements
Change-Id: I906a12e6a65f928e619c21e83aa1476908041999
2017-05-05 02:26:32 +00:00
OpenStack Proposal Bot 622bdb1b94 Updated from global requirements
Change-Id: Ic202f78579492fe158281432c417cd9f4325c942
2017-04-27 20:31:13 +00:00
OpenStack Proposal Bot f77305cf9e Updated from global requirements
Change-Id: Iac94775052dfcbbe6d045db4a5b72142960e2b3e
2017-04-15 17:45:42 +00:00
OpenStack Proposal Bot fc363c3ee0 Updated from global requirements
Change-Id: I5ac24061d427ffe66124b78281d0a3fe701ec6c8
2017-04-01 15:27:51 +00:00
OpenStack Proposal Bot ab8aff38df Updated from global requirements
Change-Id: I5153b76c49824f705420e591344e1e9b4a78f1c0
2017-03-21 14:54:15 +00:00
OpenStack Proposal Bot 1122a85d70 Updated from global requirements
Change-Id: I3e6ac133cc4aa923d233e0659a43b3b6d41f9689
2017-03-13 19:35:49 +00:00