Commit Graph

366 Commits

Author SHA1 Message Date
OpenStack Release Bot de69ae6d8f Update master for stable/2024.1
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: I4305098ce6f58883d7f4c04db08c708562833bd7
2024-03-14 07:13:54 +00:00
Takashi Kajinami e59494b454 Drop removed options from sample config
The enabled option and the driver option were removed from code by
9b66ded049 .

Change-Id: Ic64030f9d25378fbc6b935f7da308423c242b522
2024-03-11 16:04:53 +00:00
elajkat 8d82419125 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: I586eb25b42d432e0b2158ddebb2dac013f712506
2024-02-13 09:09:06 +00:00
OpenStack Release Bot b64ba77e3b reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I624434a5370f16946b5d05d9feff979aaecb56b4
2024-02-05 16:47:26 +00:00
Zuul bb995b48d1 Merge "Enables external network mirroring" 2024-01-26 16:44:46 +00:00
Zuul 5044ba2305 Merge "Add pyproject.toml to support pip 23.1" 2024-01-26 15:47:24 +00:00
Takashi Kajinami 7c3912b4ce Bump hacking
hacking 3.0.x is really old. Let's bump it to the latest version
available.

Change-Id: I04d4be8f2ecb820e29ea943a06fe571cafc939bd
2024-01-17 23:45:31 +09:00
Felipe Figueroa b6eaef52ab Enables external network mirroring
Change-Id: I95434982c8b8988a7c0d63af8350ad0d40554231
Signed-off-by: FelipeAFV <ffigueroa@whitestack.com>
Related-Bug: #2034445
2024-01-16 15:03:34 -03:00
Zuul 0d5d10680d Merge "docs: Fix releasenote building" 2023-11-21 22:08:50 +00:00
Zuul 2b66482df2 Merge "Support for ovs-dpdk" 2023-11-14 19:07:17 +00:00
elajkat 0013221c30 Add pyproject.toml to support pip 23.1
For details see the below mail thread:
https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/HVFN5RBSHRTM3B2UUKPAWKH6H6AT6CYR/

and the commit message of the keystone patch:
https://review.opendev.org/c/899519

Change-Id: I5b044f13769387f104681d88af77ec75e8985a60
2023-11-10 18:13:11 +01:00
elajkat e7977090f3 docs: Fix releasenote building
Change-Id: I4936c6ac2df293abfb6e678e92b2dcd34640cb5e
2023-10-30 11:32:39 +01:00
elajkat bf3bc1b400 Docs: Point to apiref and remove old CLI examples
Add link to networking api-ref and remove old
neutronclient CLI examples.

Change-Id: I622f24594a7584cbf5881a94665796d4c0c3be07
2023-10-25 11:38:12 +02:00
OpenStack Release Bot c9f147b56f Update master for stable/2023.2
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: If238974d9c1262d3f0356824ba3fb4423e29dfd5
2023-09-15 14:02:02 +00:00
Ghanshyam Mann 42491e35e1 Fix bindep.txt for python 3.11 job(Debian Bookworm)
Python 3.11 job run on Debian Bookworm which does
not the mysql pkg for example, mariadb-server, libmysqlclient-dev
instead they have mariadb. Updating bindep.txt file
to adjust the pkgs as per Debian bookworm.

Change-Id: I57cc80c97e22969f1b11bdfe725bdeebacf129b6
2023-09-06 16:52:51 -05:00
Juan Pablo Suazo 615c47f7f5 Replaces Deprecated Bridge-utils Command
Removes the deprecated bridge-utils command and
replaces it with an equivalent ipruote2 command.

Closes-Bug: #2024498
Signed off-by: Juan Pablo Suazo <jsuazo@whitestack.com>

Change-Id: I7b48770709bd0fb9ea5072ce6c8673074c39ab2b
2023-06-20 17:20:02 -04:00
Juan Pablo Suazo 88627c1bb1 Support for ovs-dpdk
1. While creating br-tap bridge, pass an additional argument, i.e.
   datapath_type. This parameter is read from openvswitch.ini
   conf file.

2. Add tunneling flows for taas only when tunneling is enabled.

Closes-Bug: #2020688
Signed-off-by: Juan Pablo Suazo <jsuazo@whitestack.com>
Change-Id: Ie14e5a8e7a6a237311a538f6f0bf7452ac42f2ae
2023-06-09 18:33:07 +00:00
elajkat bdc5f4b951 Remove the old CLI code from taas
With [1] all the CLI code was removed from python-neutronclient,
This causes test discovery failure for tap-as-a-servic, and
the old neutron tap-service-create type commads can be removed from
the tap-as-a-service repository.

[1]: https://review.opendev.org/c/openstack/python-neutronclient/+/871711

Change-Id: I44d2009ca661ff88d7b4a2ed89528aefc3a1f2eb
Related-Bug: #2003861
2023-05-16 11:22:53 +02:00
Zuul 30cbe66dba Merge "OSC: Remove calls to neutronclient" 2023-04-17 15:28:11 +00:00
elajkat def943f447 OSC: Remove calls to neutronclient
With [1] the python binding code in Neutronclient prints warning
about future deprecation, change taas osc client code to use
totally OpenstackSDK.

[1]: https://review.opendev.org/c/openstack/python-neutronclient/+/862371

Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/871287
Related-Bug: #1999774
Change-Id: Id22e20efbf30dddbdbcb986186e02f056f3ed21d
2023-03-03 15:58:30 +01:00
OpenStack Release Bot 51ccf801c4 Update master for stable/2023.1
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: I65fdf7ec606ca050b481f62351f2916375771ad1
2023-03-01 09:15:32 +00:00
Zuul 868e9c6e9a Merge "CI: Add openstack-tox-py39-with-oslo-master to periodic weekly queue" 2023-02-21 06:40:11 +00:00
Zuul 8868e486ae Merge "Add pylint to pep8 and adopt code to the results" 2023-01-30 16:45:46 +00:00
elajkat c962119edb CI: Add openstack-tox-py39-with-oslo-master to periodic weekly queue
Change-Id: Id71d57ce0d6dc0773bb82b431f4d239881c98d74
2023-01-30 13:01:22 +00:00
elajkat 1ef9316e92 Add pylint to pep8 and adopt code to the results
Change-Id: Ia9048ef2dbc602ecd571da502ac2131b575f59ac
2023-01-30 13:39:38 +01:00
Corey Bryant 7eaf7dfebb Switch away from Mock auto_spec=True
In Python 3.10, Mock spec arguments are no longer allowed.
More details are available at: https://bugs.python.org/issue43478

Closes-Bug: #1954476
Change-Id: I98c3d6d67ba518f9c6c3455e9c5b0e2ea669a2f6
2023-01-30 12:28:06 +00:00
Rodolfo Alonso Hernandez 1ffcb341d7 Fix tox.ini for tox4
Change-Id: I4e4281f3fdfef70b310b90c5762c459e061fff8b
2022-12-25 08:58:25 +01:00
elajkat 3b110ff405 Cleanup tox.ini
For details see the mail:
https://lists.openstack.org/pipermail/openstack-discuss/2022-November/031343.html

Change-Id: I936c121d37c2b19da48836607917dccfd50d5b22
2022-11-29 12:11:23 +01:00
OpenStack Release Bot a0d5cb4e75 Switch to 2023.1 Python3 unit tests and generic template name
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: Ifab8a0eeb73afa39713e5eac85086fcb748c5e5a
2022-09-15 15:50:18 +00:00
OpenStack Release Bot 8cfdceed63 Update master for stable/zed
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: I567fbc1aaa5236841dd8808a1446d3d852f48b49
2022-09-15 15:50:16 +00:00
elajkat fc72381ad6 Py3: Remove six
Remove six.add_metaclass usage in taas code.

Change-Id: I73bb6d75b6608ad8fed05bc54f497abb1ca50ff1
2022-07-27 12:20:11 +00:00
Rodolfo Alonso Hernandez 1ff8830e5c Add WebTest as dependency for testing
Latest pecan release dropped this dependency. This is why now it is
needed to explicitly install it during testing.

This patch also registers the Neutron core common config options in
``TaasExtensionTestCase``. Since [1], the configuration options
must be explicitly loaded.

[1]https://review.opendev.org/c/openstack/neutron/+/837392

Closes-Bug: #1982110
Change-Id: I3d8cd840881a2c67e7b07458276d600e214d028e
2022-07-09 18:38:06 +00:00
zitptan fedca42dbd Modify taas extensions to use neutron-lib API def
Change-Id: I2920a6e375c3dbd0521ae2c48a4c91e5ab613629
Depends-On: https://review.opendev.org/c/openstack/neutron-lib/+/824926
2022-06-14 11:38:52 +00:00
liyou01 53d353bfbc setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of
dash-separated options in 'setup.cfg' will not be supported
in a future version [1].
Get ahead of the issue by replacing the dashes with underscores.
Without this, we see 'UserWarning' messages
like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

Change-Id: If04bce0a49fcffcd11dae18973cbcf570009c2bb
2022-06-04 11:12:47 +08:00
Zuul 2d3d736990 Merge "Make neutron tempest plugin job voting again" 2022-05-30 16:11:48 +00:00
Zuul 3fde047777 Merge "test: Make py310 passing" 2022-05-27 15:47:36 +00:00
Zuul 37132a6a63 Merge "py310: Add rpm packages to bindep.txt" 2022-05-27 15:47:34 +00:00
Zuul 74e6e5639b Merge "Code cleaning: make RPC method signatures more meaningful" 2022-05-27 15:42:40 +00:00
yatinkarel c6298bd831 Make neutron tempest plugin job voting again
It was made non-voting in [1] until [2] is merged, and
since [2] is merged let's make it voting again.

[1] https://review.opendev.org/c/openstack/tap-as-a-service/+/842134
[2] https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/842113

Change-Id: Ie72f5942af56f41227189faa1b54acafa618b6b9
2022-05-27 18:00:03 +05:30
Zuul 5a03edf92f Merge "Update python testing as per zed cycle teting runtime" 2022-05-26 16:00:50 +00:00
elajkat f59837263c Add context for all SQL transactions
Follow the last efforts to make Neutron compatible with sqlalchemy-20
(see [1]), and use the necessary context for all SQL transactions.

Also make tempest job non-voting until [2] merges.

[1] https://review.opendev.org/c/openstack/neutron-lib/+/828738
[2] https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/842113

Closes-Bug: #1973757
Change-Id: I5aef8683df55b0825181e57257f0b71887315e52
2022-05-23 15:37:50 +02:00
Ghanshyam Mann a5cc42565f Update python testing as per zed cycle teting runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Add release notes and update the python
classifier for the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: Ib54a7e977dccdd2f4f5c4e54f048858abde5e351
2022-05-11 22:29:55 -05:00
elajkat 611c44c5c6 test: Make py310 passing
Remove test-setup.sh as with zuul it is not necessary, and would like to
use mysqladmin which is not available on some nodesets.
Fix failing unit tests with a possible typo and change auto_spec to
autospec in calling mock.patch.object.

Change-Id: Idd7b6788152a336314d5b99ae89f5049182a269c
2022-04-26 16:15:07 +00:00
elajkat cc2d82d138 py310: Add rpm packages to bindep.txt
py310 test from Zed job template openstack-python3-zed-jobs-neutron
uses fedora-35 node type, thus fails for taas as mysql_admin is used
by test-setup.sh, but binary dependencies are not installed.

This patch adds rpm binary dependencies.

Change-Id: I4593f8f869122f30657c7d991b39c60779ad7e94
2022-04-26 18:14:09 +02:00
elajkat 002de24695 Code cleaning: make RPC method signatures more meaningful
Change RPC calls like create_tap_service or create_tap_flow signature
to avoid parameter names like tap_service which is really a dict of
values.

Change-Id: I0ec7fef934e63eff76dd30bb1fb28c8277f1a749
2022-04-26 12:37:19 +00:00
elajkat ee460a3c06 Add weekly jobs
Add jobs to the weekly periodic pipeline (see [1]).
Current jobs to be run weekly: openstack-tox-py39,
tap-as-a-service-tempest and tap-as-a-service-tempest-plugin.

[1]: https://opendev.org/zuul/project-config/src/branch/master/zuul.d/pipelines.yaml#L130

Change-Id: I6965efea90be93c0f59eab4cfeffdc6da649289c
2022-04-25 09:56:16 +00:00
elajkat 1066701ced tests: Use Zed job definitions
As [1] was merged to neutron-tempest-plugin we can use
neutron-tempest-plugin-tap-as-a-service job in check and gate queue.
Chane to use openstack-python3-zed-jobs-neutron template in the new
cycle.

[1]: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/814876

Change-Id: I99612226fdb598027df57479e1d7b7dc2dc1bc1f
2022-04-20 09:46:18 +00:00
Zuul fcaebb77dc Merge "Do not try to call status setting methods in case of periodic task" 2022-03-23 13:54:20 +00:00
Zuul 654187e729 Merge "Remove ovs-vsctl direct calls" 2022-03-23 13:54:17 +00:00
OpenStack Release Bot 9aae49ca14 Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: I233d71d78c3ed0ea502b8a2a4d4ac7a8e7336097
2022-03-10 08:20:47 +00:00