Commit Graph

29 Commits

Author SHA1 Message Date
shanyunfan33 179019f82e remove unicode from code
remove unicode from code

Change-Id: I3e32aea0439f68e48c6ff178c50e8a91ac5415e4
2022-05-04 23:36:42 +00: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
Slawek Kaplonski 5e6c048856 Deprecate neutron-fwaas as stadium project
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
2020-02-21 16:33:14 +01:00
caoyuan feb290fa19 Drop Python 2 Support
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
2020-01-22 10:53:44 -05:00
Akihiro Motoki 201a2abebe PDF documentation build
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
2019-09-24 16:29:04 +00: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
Akihiro Motoki 9f8709b396 doc: Add policy reference
Partially Implements: blueprint neutron-policy-in-code

Change-Id: I906646c5e0975b7de14135aa610b4ff18f5a0fe4
2018-12-27 15:31:17 +00:00
Cuong Nguyen 507392be7d [log] FWaaS L3 Logging driver based iptables
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
2018-08-09 17:47:47 +07: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
Cao Xuan Hoang d61bd2961c Adding 'logapi' in apidoc_excluded_paths for sphinx-docs job
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
2018-08-08 14:31:57 +07: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
Nguyen Hai e4b6f60b53 Follow the new PTI for document build
- Follow new PTI for docs build
- Add sphinxcontrib.apidoc to replace pbr autodoc

REF:
[1] https://governance.openstack.org/tc/reference/project-testing-interface.html
[2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
[3] http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Depends-On: https://review.openstack.org/#/c/559330/
Change-Id: I36051485854bdf88719335f280f5562c3a0dbd4a
2018-04-06 14:34:41 +00:00
Monty Taylor 4a1cfe2e12
Remove vestigate HUDSON_PUBLISH_DOCS reference
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
2017-09-02 08:53:01 -05:00
Jenkins c7256bea09 Merge "Add auto-generated config reference" 2017-07-28 08:27:44 +00:00
Akihiro Motoki 004cb8fa3b Update the documentation link for doc migration
Change-Id: Ibe2acaea1a16dc0dbf660acf5e8622dcc690f4f2
2017-07-20 07:15:27 +00:00
Akihiro Motoki e32cad0333 Add auto-generated config reference
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
2017-07-19 20:06:12 +00:00
Akihiro Motoki dbb47f5b8a rearrange content to fit the new standard layout
Change-Id: Iaa7583223650ff4bd0e91995c21497c62a84f334
2017-07-07 10:05:37 +00:00
Van Hung Pham 47378eec71 Switch from oslosphinx to openstackdocstheme
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
2017-07-05 04:54:40 +09:00
Akihiro Motoki fe7cd58a5d Enable warning-is-error in doc build
Clean up python build warnings to enable warning-is-error.
Part of doc-migration work

Change-Id: Iee76a112945a3619de41000e5022eaba195b96c0
2017-07-05 04:52:49 +09:00
Jenkins 77b78a25ab Merge "Optimize the link address" 2017-06-12 15:16:16 +00:00
Van Hung Pham c5a0d0ba79 Optimize the link address
Use https instead of http to ensure the safety

Change-Id: I446b966c46d20b063d8665551344bb8b1465a12e
2017-06-07 18:01:48 +07:00
Vu Cong Tuan fb262da62b Fix html_last_updated_fmt for Python3
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
2017-06-04 11:58:16 +07:00
Nate Johnston e3a742a7b4 Add developer documentation to FWaaS
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
2016-11-07 21:08:57 +00:00
Nate Johnston 867a4f1a29 Add neutron-fwaas in-tree documentation
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
2016-09-16 19:13:10 +00:00
Thomas Bechtold e32d5265a2 Fix doc build if git is absent
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
2016-04-13 09:58:39 +02:00
Andreas Jaeger 4cc965e917 Remove unused pngmath Sphinx extension
There's no RST file that uses ".. math" and thus
the pngmath Sphinx extension is not used and can
get removed.

Change-Id: I3ea4b529025c8ac3c4092f3720124647861e6668
2016-02-29 19:55:31 +01:00
LiuNanke 39fb98e9a6 Replace deprecated library function os.popen() with subprocess
os.popen() is deprecated since version 2.6. Resolved with use of
subprocess module.
Closes-bug: #1529836

Change-Id: Iaa37baf02de860e71eea0cedc775a10efc868fb4
2016-01-10 04:08:11 +08:00
Doug Wiegley e6e929b60f After the services split, get neutron-fwaas Jenkins jobs passing
- Temporarily skip all unit tests, until alembic chains are sorted.

Change-Id: I38f88c8f4638b7c3787479b70bbfe001f3c9f3cd
2014-12-09 00:00:29 -07:00