Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: If74eaf7f7d10994ec91e2ec676bb6eb4b2f484a6
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
tox now always recreates an env although the env is shared using envdir
options.
~~~
$ tox -e genpolicy
genpolicy: recreate env because env type changed from
{'name': 'genconfig', 'type': 'VirtualEnvRunner'} to
{'name': 'genpolicy', 'type': 'VirtualEnvRunner'}
~~~
According to the maintainer of tox, this functionality is not intended
to be supported.
https://github.com/tox-dev/tox/issues/425#issuecomment-1011944293
Change-Id: I069f590d873ea7a0e689936664c07843c2706fd5
These translation sections are not needed anymore, Babel can generate
translation files without them.
Change-Id: I7eb99b96ea1e9a1a96e28c53760d9d747670d6e4
This removed usage of LBaaS constants from unit tests. LBaaS was
retired some time ago and these constants will be removed.
Change-Id: I2951c866cdfbd88bcba9fb8d299f592cd6a44dff
This option is not needed since [1], Also set
tempest_plugins var to setup neutron-tempest-plugin
in tempest venv.
[1] https://review.opendev.org/c/openstack/devstack/+/558930
Change-Id: I595f81ac10443b6484b8b0bc0a12b5b58e75044f
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: I5f7c8b7b019852558289e94dd18d4867b033b3cb
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
Since [1] (release 1.11.0), the Alembic operations "now enforce
keyword-only arguments as passed as keyword and not positionally"
(from the commit message).
This change is compatible with the previous versions (as confirmed
in the CI).
[1]df75e85489
Closes-Bug: #2019948
Change-Id: Iedf9a47a80a2775f73e7873ce3e55c4152d0f564
If the status of the firewall group is consistent with the status
to be updated, there is no need to notify the plugin to update the
status.
The processing of the agent requires a certain amount of time. If
firewall group is updated during this period, updating the firewall
group status at this time may cause the firewall group to be in an
incorrect state.
Partial-Bug: #2021457
Change-Id: I316827259367d78d7dbb57888ad41408d44c43f6
Currently, we determine that the firewall group is in use based on
its ACTIVE status. But the firewall group may have just updated
the port and is currently PENDING_UPDATE status, deletion should
not be allowed at this time.
This patch changes the judgment method for deleting firewall
groups, no longer based on their status. But like other neutron
resources, based on whether or not they are associated.
Closes-Bug: #2018967
Depends-On: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/883826
Change-Id: Ib7ab0daf9f6de45125ffc9408f865fc0964ff339
These exception definitions are already in neutral-lib.
And it has already been directly referenced in neutron lib
in the code.
Change-Id: I9f0d5efc3d86bdab97a188ea880780b19e2a7e43
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
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: I63a4a2131a6d569a120346dc20e8a413cdae93f4
Since we use usedevelop=True, as a result neutron-fwaas
installation happens at 'develop-inst' phase and it installs
requirements from requirements.txt without considering
tox constraints, This can lead to issue where broken
requirements are installed in docs job and as a result
it will fail.
In order to get constraints be considered for this case, add
requirements.txt to deps for docs env(same as [1]).
[1 https://review.opendev.org/q/Ic8f6472fe708d12f8fc129729465367083e1095a
Change-Id: Iea9556f6f025ad2f3dfa38fd401aa64414bd561f
In some logs before other SqlAlchemy tracebacks the missing of
this method is reported.
Change-Id: I36b2083ab3432080857d8ce97ea96f9b5acc87fe
Related-Bug: #2006683
With latest tox (>4.0.15) python version conflicted with base
python. Adding ignore_basepython_conflict = True solves this
issue.
Change-Id: I4711cdb1741c0348bc81049be53a5480945e7e12
In [1] we finally got rid of the unfinished lib/neutron module and kept
only lib/neutron-legacy. It's renamed to lib/neutron now and it's the
only neutron related module in Devstack.
So this patch removes left over todo comments about things to do when
migration to the new lib/neutron module will be finished.
[1] https://review.opendev.org/c/openstack/devstack/+/865014
Change-Id: I7913f4b0426624c1486efd027d6c412dfa296a06
The 'all-plugin' tox environment was deprecated by this patch [1].
Instead of the 'all-plugin' it is recommended to use the 'all' tox
environment.
[1] https://review.opendev.org/c/openstack/tempest/+/543974
Change-Id: I8981592bf8c4e812c72b446e9d9fdeaaaa8c4537
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I7847ca8d6760745ae6fc85748de7248fb3e05c52
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I37f7771e52e7f6d624bedca57b8c5186bf6be0cb
The work for making routed networks work with multiple segments per
host, introduced new signature for VlanManager.get, requesting
segmentation_id, make neutron-fwaas code compatible with it.
With oslo.db 12.1.0 some unit tests started to fail, with using the
CONTEXT_R/W session we can fix it.
Adopt dsvm-functional target name as [0] changed in Neutron, so the new
name of the target is dsvm-functional-gate.
[0]: https://review.opendev.org/c/openstack/neutron/+/856262
Change-Id: Ie7459974f6f2358c8d9c37e66aa9cda530ecefc0
Related-Bug: #1956435
Related-Bug: #1764738