Commit Graph

110 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
Xing Zhang 193d1e2766
Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py38 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: I009b6e65424ba3b662949baa1226fbf0ff14af80
2023-06-27 11:15:24 +08:00
zhouhenglc 3a5dde69e7 Readd neutron-tempest-plugin-fwaas job
Add neutron-tempest-plugin-fwaas job to check and gate pipeline

Change-Id: I7b899deba4e418c70d7234ff18b260eda5c86dbf
2022-03-03 09:53:58 +08: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 a88d23c797 Remove os-testr leftovers
All projects should be switched to use stestr already. In
neutron-fwaas it is already done but there were some leftovers
after os-testr and this commit removes them.

Change-Id: I7d0c72d1327eedcfd309ec4c346064d0adad6008
2019-11-27 22:30:31 +01:00
zhulingjie 45a36b8ba8 Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: Ia5454a92a46fc4fab981fd0b7730244f692504d6
2019-05-31 14:43:39 +08:00
Zuul 9bbef34bd9 Merge "Migrate to stestr as unit tests runner" 2019-03-22 07:31:06 +00: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
Yushiro FURUKAWA 0a2bef43e3 Migrate to stestr as unit tests runner
Recent update brought os-testr 1.0.0 that already uses stestr test [1]
runner instead of testrepository. This patch migrates those places using
testrepository to using stestr.

[1] http://lists.openstack.org/pipermail/openstack-dev/2017-September/122135.html

Co-Authored-By: Nate Johnston <nate.johnston@redhat.com>
Change-Id: I36f922799fa5a0ed75f412999922f7d5bab180cc
2019-03-08 12:33:20 +09:00
Dao Cong Tien b3a0f3bfe4 Check pep8 without ignoring D000
Currently, pep8 ignores D000 check because of error:
"D000 Cannot analyze code. Pygments package not found."

Pygments is supported from:
https://review.openstack.org/#/c/568729/

This patch also changed code-block type from "none" to "ini"
as D000 check does not allow the "none" type.

Change-Id: I05d1d41160ad86589308912ff81c4294983069ff
2018-05-30 09:12:27 +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
OpenStack Proposal Bot e6b60df4d5 Updated from global requirements
Change-Id: I4dc999154c49d218437c9a7abf49952b0cb560bc
2018-03-26 08:12:46 +00:00
OpenStack Proposal Bot d4de944f23 Updated from global requirements
Change-Id: Ibdb4593dc457c9636831ff46e68548e6f23c77da
2018-03-17 00:16:01 +00:00
OpenStack Proposal Bot 089d413556 Updated from global requirements
Change-Id: I7910b24fe65261e3fbcba1333f7e706d370bd349
2018-03-10 13:27:53 +00:00
OpenStack Proposal Bot 5f69f91e3d Updated from global requirements
Change-Id: I1581ac30010809ce864eef57070d7b9e6656fd11
2018-01-24 01:08:39 +00:00
OpenStack Proposal Bot 8a58c510fd Updated from global requirements
Change-Id: I379b701242a70a4932bede579324049ac374825b
2018-01-18 03:09:16 +00:00
OpenStack Proposal Bot 6b36e15ddf Updated from global requirements
Change-Id: I8377830671bd5eea7803b21e706035703ccc42ad
2018-01-16 12:37:47 +00:00
Nguyen Van Trung 4eefecf4f0 Add doc8 to pep8 check for neutron-fwaas project
This patch adds a doc8 check of .rst files to the current pep8 check.
It includes fixes to the .rst files that didn't pass the check.

Change-Id: I9d6d604e7a21540728c4f44afc9be5577d02805f
2017-12-20 03:48:10 +00:00
OpenStack Proposal Bot 8cfc604bf2 Updated from global requirements
Change-Id: If3263d322445ed1b52edac8f8f055138ca31d303
2017-11-29 09:05:46 +00:00
OpenStack Proposal Bot 6723081333 Updated from global requirements
Change-Id: I284e5f6e0e97681f7ef890150b5838881c7be882
2017-09-13 12:55:20 +00:00
OpenStack Proposal Bot 465023a136 Updated from global requirements
Change-Id: Icbfd7e1f62a35780d232fbe02b0825a78ea0bf6b
2017-08-18 11:34:45 +00:00
OpenStack Proposal Bot 37e6d2e46d Updated from global requirements
Change-Id: I1598ebca254677419dac8da53b07ca7f79069502
2017-07-28 12:53:14 +00:00
Jenkins 488fa006b2 Merge "Switch from oslosphinx to openstackdocstheme" 2017-07-11 16:39:46 +00:00
Gary Kotton 5fc8b6daf3 Use flake8-import-order plugin
Automate the process. By using flake8-import-order plugin, we can avoid
this. It enforces loose checking so it sounds good to use it.

Note that flake8-import-order version is pinned to avoid unexpected
breakage of pep8 job.

Change-Id: I8585568761395ed83cf123141ac7931a3707ad5f
2017-07-06 04:53:45 +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
OpenStack Proposal Bot 94e748b71d Updated from global requirements
Change-Id: Ib0c3c41c4cfb323c914f15b1b6c23881602bdcb5
2017-06-27 17:47:19 +00:00
OpenStack Proposal Bot 9b21f3c381 Updated from global requirements
Change-Id: I82ecac256fb3974e91f3797a9c6d4c0eb20da44a
2017-06-03 13:08:30 +00:00
OpenStack Proposal Bot ca50ffcb6c Updated from global requirements
Change-Id: Ic3abdba216c50f07dc5e6dcceb6c6d51a608c935
2017-05-17 03:52:08 +00:00
OpenStack Proposal Bot fc363c3ee0 Updated from global requirements
Change-Id: I5ac24061d427ffe66124b78281d0a3fe701ec6c8
2017-04-01 15:27:51 +00:00
OpenStack Proposal Bot f0f23adb62 Updated from global requirements
Change-Id: I70889b76aca978299fae6003356d270a594f046c
2017-03-03 22:53:13 +00:00
ricolin ddc5377ecf [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: I0bbea320d0336bf8aefb5af145e4fe93121fcbee
2017-03-02 18:53:38 +00:00
OpenStack Proposal Bot 6ae618f16a Updated from global requirements
Change-Id: Ic7722e067393968c08b07c88ed5c719fba41adda
2017-02-10 05:53:07 +00:00
OpenStack Proposal Bot 5f980e83aa Updated from global requirements
Change-Id: I29d4d99f7a25494c997dde2980fe0e88a82507c1
2016-12-22 19:05:03 +00:00
OpenStack Proposal Bot c3d3d6cd1f Updated from global requirements
Change-Id: I4fb5a820db704bd80fc2216805a3a2bf086090cc
2016-11-30 23:09:29 +00:00
Jenkins 27fd33bc11 Merge "Add os-testr to test requirements" 2016-11-29 03:31:24 +00:00
Nate Johnston daf0c4a9cf Add os-testr to test requirements
Add os-testr to test-requirements.txt like in change 359143[1], as
indicated in the neutron stadium governance requirements[2].

[1] https://review.openstack.org/#/c/359143/1/test-requirements.txt
[2] http://git.openstack.org/cgit/openstack/neutron/tree/doc/source/stadium/governance.rst#n226

Change-Id: Icce67bf2717f4269d664920478d2bec7e0d6c7b4
2016-11-29 01:48:00 +00:00
OpenStack Proposal Bot f7c7d6b6e7 Updated from global requirements
Change-Id: I3dc139a37b62a618e9283e4f2f1bd34806020f03
2016-11-15 19:53:07 +00:00
OpenStack Proposal Bot 7be3a8ff9f Updated from global requirements
Change-Id: Icc56c2d1f0173dfb70702cb32d825ebde17689c1
2016-11-02 15:35:07 +00:00
OpenStack Proposal Bot 7fd0ea3189 Updated from global requirements
Change-Id: I1953cdec7a6ad0b2b0c3941d61e40ac66860e9bf
2016-10-22 01:22:22 +00:00
OpenStack Proposal Bot 54ffa6fdf0 Updated from global requirements
Change-Id: I79e673b2e4b623d15ec61157052282bf1cfce264
2016-10-12 22:49:22 +00:00
OpenStack Proposal Bot 78da7cf847 Updated from global requirements
Change-Id: I6abf1fcedd62be55802a4de6eb7916ee7c7da208
2016-09-28 16:55:56 +00:00
OpenStack Proposal Bot e9ab56be31 Updated from global requirements
Change-Id: I3c3f3fb7c955bf05148833949a1ffb514c03c04e
2016-09-27 22:34:59 +00:00
OpenStack Proposal Bot 2edad4e80b Updated from global requirements
Change-Id: I39fb47875c5723bd6da65d4d44ce12a353388fcf
2016-09-26 04:23:00 +00:00
OpenStack Proposal Bot c6c67f42de Updated from global requirements
Change-Id: Iaadfd7e64262f92d77432e3014cc33dca7bb539c
2016-09-01 19:52:04 +00:00
Henry Gessau 9c79d0bc51 Add tests ensuring models and migrations are in sync
Co-Authored-By: Nate Johnston <Nate_Johnston@cable.comcast.com>

Change-Id: I40bc69d6db5520a34d318ed6ebf26754f104d6bd
2016-09-01 11:32:49 -07:00
OpenStack Proposal Bot d9815203e6 Updated from global requirements
Change-Id: If4a0e0974e2f608642073f19e4c6eb279a94d4b3
2016-06-25 20:22:59 +00:00
OpenStack Proposal Bot 9447fbbbb7 Updated from global requirements
Change-Id: I94eb3b5f77a13d4927cbad5aab80aa1cbc36a358
2016-06-08 22:00:32 +00:00
OpenStack Proposal Bot 0e00b647b4 Updated from global requirements
Change-Id: I234ed84da3864091552cea8947236e4677a4a3cf
2016-06-01 13:50:47 +00:00
OpenStack Proposal Bot 802776cdc5 Updated from global requirements
Change-Id: I5f507001ef5f11fee9c48761fd8fb4dcc954a820
2016-05-21 15:49:16 +00:00