Commit Graph

28 Commits

Author SHA1 Message Date
Slawek Kaplonski 52653c95e0 Remove the CLI code from the Neutron client.
This project no longer provides CLI support. All code has been
removed. Please use openstack CLI instead

This patch removes entry point for neutron CLI too, bash completion
script and CLI related functional and unit tests but it
still keeps neutronclient/neutron/v2_0 module as this is used by e.g.
Nova.

Co-Authored-By: Slawek Kaplonski <skaplons@redhat.com>

Closes-Bug: #2003861
Change-Id: I5b6c735d1ff931d7991a42b262e7faa47b75edeb
2023-04-11 13:12:45 +02:00
OpenStack Release Bot ec84aff516 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: I026505ff0d277fd4f15329ed26a5cecf1d573f68
2022-09-14 09:26:48 +00:00
Ghanshyam Mann b720fdaee7 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, move py36 jobs to py38|9,
and update the python classifier for the same.

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

Change-Id: Ibeee0b16ee1ea95f05127563a9cb08ffd0f04e2b
2022-05-11 22:25:31 -05:00
Ghanshyam Mann 143db0177a Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I9a985c439675dc3aa6120a0d9734b8cdeaedccf8
2022-04-30 20:28:29 -05:00
elajkat 3a65712b45 Fix lower-constraints and neutronclient-functional job
Change decorator in l-c.txt from 3.4.0 to 4.1.0
add neutron as devstack plugin to neutronclient-functional job.

Change-Id: Ib4b98f4e9e70f058ba5c7c43f559ab888edf1a88
2021-11-18 16:25:43 +01:00
OpenStack Release Bot 792ad115b3 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ib343cb56e2512862d5b23482a9861ba7b3ce6373
2021-09-10 14:33:53 +00:00
Bernard Cafarelli 2f047b1595 Set ML2/OVS backend explicitly for functional job
After default backend change to OVN, some client tests related to DHCP
or L3 agents are not working fine. Switch the job to ML2/OVS, as it was
done in openstack-client in changeset
Idf6466a59c6cf96be2f1d53e696f0564584fa233

test_neutron_dhcp_agent_list_hosting_net was skipped temporarily
to pass the gate in the parent commit. It is re-enabled now.

Change-Id: I91d03d13adcd38d46ba1b042239a290ae2c99ea4
Closes-Bug: #1936965
2021-07-27 15:29:10 +09:00
OpenStack Release Bot f3756a3d4a Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I8475c835838bbd0d84540cef879b4769581ef06d
2021-03-18 12:56:37 +00:00
OpenStack Release Bot b2ebc6cc9b Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I26b3f45c78c1230a8b7d7faa46b504ac7cd0cc4b
2020-09-10 09:01:42 +00:00
Luigi Toscano 097106d8fb zuul: native Zuul v3 version of the grenade job
Also fix the name according the guidelines.
This job should really live inside neutron-lib.

Change-Id: I76043ea43efe1c78ba9637876ed6a8b997b6d0ee
2020-08-10 16:25:36 +02:00
OpenStack Release Bot ec625d0e93 Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I817e39d2229ffc803fd285d4bedfcad86a450c05
2020-04-11 18:47:45 +00:00
zhanghao b3fa5e530b Drop lib-forward-testing
Change-Id: Ifdce9146e8233e6760ee6c0009338661f90848a2
2020-01-25 04:26:20 -05:00
Akihiro Motoki 010053df07 Drop python 2.7 support
We no longer support python 2.7 past Train.
Let's stop testings with python 2.7 and drop python 2.7 stuffs.

pypy in tox.ini is also dropped too. It is not used for long.

Change-Id: I8a07c007a129cd2141085a1a3cc7f81658c42db2
2019-12-17 14:46:06 +09:00
Zuul e68234ecf6 Merge "Move grenade neutron-lib job to py3 and in python-neutronclient repo" 2019-12-11 23:45:19 +00:00
Ghanshyam Mann c430ed8950 Move grenade neutron-lib job to py3 and in python-neutronclient repo
'legacy-grenade-dsvm-neutron-libs' grenade neutron-lib jobs
is present in opensatck-zuul-jobs repo running on python 2. This needs
to run on py3 from Ussuri onwards and py2 for stable/branch.

python-neutronclient is the only repo which is using this job.

py2 version has been kept in opensatck-zuul-jobs and for ussuri
onwwards this has been migrated to python-neutronclient repo with
py3 version.

Change-Id: I165f86e1d05c8830e0b75b5c2db369178a3df7e7
2019-12-09 09:20:20 +01:00
kangyufei 40996e50ea Switch to Ussuri jobs
Change-Id: I59807606d4865cb2f4d9c6a912f659ea45b3fba8
2019-10-22 17:05:41 +08:00
Akihiro Motoki 1a8fdf355d Switch functional job to python3
Change-Id: I7aa4566b8f2c81da6a00e664908506f5628cd0a1
2019-07-24 23:00:09 +09:00
Akihiro Motoki 6330cc1980 Convert legacy functional jobs to zuulv3
This commit merges the legacy functional test jobs (core and adv-svcs)
into neutronclient-functional. FWaaS v1 was dropped in Stein and
adv-svcs job now checks only VPNaaS, so it looks too much to have
a separate job for VPNaaS.

Note that tls-proxy is disabled as the base class for functional tests
(neutronclient.tests.functional.base.ClientTestBase) does not support
HTTPS endpoints. This can be tackled separately.

Change-Id: I714efd1bc14cbba85f7b4caf6834ce375ff89547
2019-07-24 22:42:54 +09:00
Corey Bryant cf95be3ea5 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: If79694b32ece897c93d1889da28daff641e46f1c
Story: #2005924
Task: #34225
2019-07-08 08:14:07 +00:00
Ghanshyam Mann da62ba3029 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I612c7c40e07f23afa920c92bf4b51b278282dd9d
2019-04-15 16:33:41 +00:00
Corey Bryant b4a0e27ec6 add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: Icb961e81e0d99ab1912f75b1ce83ed371fc1107c
Story: #2004073
2019-02-20 15:39:26 -05:00
Andreas Jaeger 86a67409e6 Use templates for cover and lower-constraints
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Use openstack-lower-constraints-jobs template

Remove jobs that are part of the templates.

Change-Id: I8c870f127f988808f3f9b1044ea1d9ddec48b866
2018-09-08 09:42:46 +02:00
Brian Haley 1a1dbf0962 Consolidate irrelevant files added for py3 project
The autogenerated changes for the python3-first project
duplicated irrelevant-files. This consolidates them.

Change-Id: Ib63fe59f28591947324708326d388954f2c3e0e9
2018-09-07 03:07:25 +00:00
Doug Hellmann d5a89fe5a0 add lib-forward-testing-python3 test job
This is a mechanically generated patch to add a functional test job
running under Python 3 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Idaaa376c0a8685f1999d8d96add0cfd25a2bb8eb
Story: #2002586
Task: #24314
2018-08-29 17:39:07 -04:00
Doug Hellmann bec7dd09b9 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I857b5836273045b48d9706673a6455fed9f18541
Story: #2002586
Task: #24314
2018-08-29 17:39:00 -04:00
Doug Hellmann 124dd33aad switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I4dc74177263a038491bb03521c99d6f43951bd28
Story: #2002586
Task: #24314
2018-08-29 17:38:45 -04:00
Doug Hellmann 01ec2cc94d import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Id183d2dc3b6fa1dd608b0489c609353eb2e35f6d
Story: #2002586
Task: #24314
2018-08-29 17:38:37 -04:00
Doug Hellmann 5614348844 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I4616b8e1472a6f95e245abe79faaa5669ac2496a
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 17:56:57 -04:00