This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).
Change-Id: Ia93782af86d6fdf7efa5e32b516788925733fc1e
Firewall exceptions have been rehomed to neutron-lib
in [1] and this patch is its corresponding change in neutron-fwaas.
[1]: Ie54ac5303020ea1db49ee5c2c6aaab4dd8e4c790
Change-Id: I5c7cc3a0f4acb809f333bcdf41e3b3d156f42492
There is no need to import the corresponding unit test
in the neutron repo [1], as they just tests the policy engine
is worked correctly.
[1] a51271d760/neutron/tests/unit/test_policy.py (L273-L284)
Change-Id: I6dc6b2295a605444c918e44949f4b1485177e82e
Partial-Bug: #1703347
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
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
The well known service type constants are in
neutron_lib.plugins.constants, but for legacy reasons a few still exist
and are referenced from neutron_lib.constants [1] that we'd like to
remove.
This patch switches references over to neutron_lib's plugin constants.
[1] https://github.com/openstack/neutron-lib/blob/master/neutron_lib/constants.py#L353
Change-Id: I33cf47ee37a4c36458d1c4bb740bb5f33c67d650
The code should contain the original copyright notice from the original
project to comply with the BSD license. If we don't include the
original BSD copyright we are relicensing the code under Apache2
which are rights we do not have without consent of Author.
Change-Id: I8870fe5b30da4f405aa032bca96fe0fbff7fcdf2
neutron-lib contains a number of the plugin related constants from
neutron.plugins.common.constants. This patch consumes those constants
from neutron-lib.
Also see I767c626f3fe6159ab3abd6a7ae3cb9893b79bf66 for the related
neutron change.
Change-Id: I48f76aa3c92c098791d78d005ecc1209e3df7f45
This reverts commit e085237297.
The change seems to have a confusion between
service type constant ("FIREWALL") and the extension. ("fwaas")
Change-Id: I677721aeada6fd74e8201c7f308771c887b2a1e9
Closes-Bug: #1696376
When update a firewall, we should update the iptables firstly,
and then remove the conntrack record, just like the function
create_firewall() and create_firewall_group(). Otherwise, the
contrack record could be reproduced. It will be occurred more
easily in scenario of large flow, because removing conntrack
and updating firewall will take some time, and in this interval
the subsequent flow could be came to reproduced the same
conntrack record.
Change-Id: I7bd36964199c6ce7c146f3ef06a693e9c6fe5353
Closes-bug: #1696093
This patch migrates Neutron's RESOURCE_ATTRIBUTE_MAP
to neutron-lib's RESOURCES, following [1].
[1]: Ic455e1af2796e58025381160dc5c3b83217413fa
Change-Id: Icd6fcb4035260f2910eb2612217f70bf9a709056
As a part of the neutron stadium, the neutron-fwaas project should shift
to use the neutron-fwaas API definitions in neutron-lib. This makes
that change happen.
Co-Authored-By: Reedip <reedip14@gmail.com>
Change-Id: I6faf26d263788d21da078e570487ee4876d04efd