summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "OSC: Remove BGP calls to neutronclient"HEAD10.0.0masterZuul2023-05-0210-168/+192
|\
| * OSC: Remove BGP calls to neutronclientelajkat2023-03-0310-168/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | With [1] the python binding code in Neutronclient prints warning about future deprecation, change neutron-dynamic-routing osc client code to use totally OpenstackSDK. [1]: https://review.opendev.org/c/openstack/python-neutronclient/+/862371 Related-Bug: #1999774 Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/869485 Depends-On: https://review.opendev.org/c/openstack/requirements/+/873598 Change-Id: I5dd143e670b70cc42a2ae48fe4bac0cf09416cb5
* | Remove the CLI code from the Neutron client.Slawek Kaplonski2023-04-1193-15350/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Update master for stable/2023.1OpenStack Release Bot2023-03-022-0/+7
|/ | | | | | | | | | | | 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: I194c39a2bbfde10c65912835019a8c2f21464569
* Remove CLI warning message9.0.0Rodolfo Alonso Hernandez2023-02-141-3/+0
| | | | | | | | | | | | This warning was added in [1]. This patch is partially reverting it but we keep the release note. This warning message could be a bit intrusive for those users still using it. In any case, the recommendation to move to OSC is something already known and publicly requested. [1]https://review.opendev.org/c/openstack/python-neutronclient/+/862371 Change-Id: I0c2fba3e45a9de1eba09efcf8919661a855c7e89
* Move network trunk commands from python-neutronclientelajkat2023-01-167-1272/+0
| | | | | | | | | The depends-on patch adds trunk commands to OSC, as we can long consider trunk operations as core Networking operations. Change-Id: Ie557a5d541cf117d20f3f2b548620a74dbadb383 Depends-On: https://review.opendev.org/c/openstack/python-openstackclient/+/869447 Related-Bug: #1999774
* Tox4: add allowlist_externals where necessaryelajkat2023-01-162-4/+4
| | | | | | | | | | With tox4 allowlist_externals is more strictly checked, so fix it where necessary and fix pylint version. Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/866943 Related-Bug: #1999558 Change-Id: Id115a436b95b3ede5a1f3102b4bb9e3ade75c970
* Fix help sentence in network log create --enable8.2.1Elvira GarcĂ­a2022-11-251-2/+2
| | | | | | | | | As the documentation states [1], the default in network log objects is to be enabled, not disabled. [1] https://docs.openstack.org/neutron/latest/admin/config-logging.html Change-Id: I13e9d1132fc38104e6e85d9c8442bc7506adc2fd
* Add warning and reno for SDK8.2.0elajkat2022-10-212-0/+10
| | | | | | | | | | | On the 2023.1 (Antelope) PTG we discussed the status of the python binding (SDK) code in python-neutronclient and decided to not allow new features to this repo (see [1]), and make users to use openstacksdk. Let's add a warning log message and a releasenote to make it visible. [1]: https://etherpad.opendev.org/p/neutron-antelope-ptg#L163 Change-Id: I03317179bd0d30a69b91eef6e451b8e40eb28191
* Switch to 2023.1 Python3 unit tests and generic template nameOpenStack Release Bot2022-09-141-1/+1
| | | | | | | | | | | | 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
* Update master for stable/zedOpenStack Release Bot2022-09-092-0/+7
| | | | | | | | | | | | 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: Ie6a0efba406cd26606168ce5b6dbc8ee7ae759ed
* Add support to floating ip port forwarding8.1.0Pedro Henrique2022-07-152-0/+32
| | | | | | | | | | | | | | | | | | To extend Horizon to allow users to create port forwarding rules for their floating ips, we need to extend this client to allow it, as Horizon uses this client. This patch is the one of a series of patches to implement floating ip port forwarding with port ranges. The specification is defined in: https://github.com/openstack/neutron-specs/blob/master/specs/wallaby/port-forwarding-port-ranges.rst Implements: blueprint floatingips-portforwarding-ranges Related-Bug: #1885921 Change-Id: I3f616dba5e2ebe301cf6ce4bed8c2e6e4da2da9b
* Update python testing as per zed cycle teting runtime8.0.0Ghanshyam Mann2022-05-113-4/+7
| | | | | | | | | | 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
* Drop lower-constraints.txt and its testingGhanshyam Mann2022-04-304-118/+4
| | | | | | | | | | | | | 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
* Merge "Update master for stable/yoga"Zuul2022-03-082-0/+7
|\
| * Update master for stable/yogaOpenStack Release Bot2022-03-032-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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: I3f709510026817ae2f36d646ca3fe9487637b717
* | Skip B105 pep8 error: hardcoded passwordsRodolfo Alonso Hernandez2022-03-031-1/+4
|/ | | | | | | | | | Skip B105 pep8 error: * https://bandit.readthedocs.io/en/latest/plugins/b105_hardcoded_password_string.html * https://cwe.mitre.org/data/definitions/259.html Trivial-Fix Change-Id: I8e58da2d88d727018c8d5af5949e34f8c0893c1f
* Merge "Add support for 'smart-nic' vnic-type"7.8.0Zuul2022-01-192-3/+23
|\
| * Add support for 'smart-nic' vnic-typeFrode Nordahl2021-09-142-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'smart-nic' vnic_type was added in the Train time frame in I91f63810626ce4e054e358f5de5e46434c4da131. This vnic_type will also be used to support off-path SmartNIC port binding with OVN, and it is expected that the user will create ports with this vnic_type as part of the workflow. As such the client must allow users to interact with this vnic_type and this patch addresses that. Partial-Bug: #1932154 Change-Id: I7f80bb47db7f8608db4d6a646b0f4b0ef6d6fb48
* | Update python testing classifierdengzhaosen2021-12-242-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Yoga testing runtime[1] has been updated to add py39 testing as voting. Unit tests update are handled by the job template change in openstack-zuul-job - https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286 this commit updates the classifier in setup.cfg file. [1] https://governance.openstack.org/tc/reference/runtimes/yoga.html Change-Id: Iedb1c345df99ae9be5cce22ab930c6de7a5e7832
* | Merge "Add CURD actions for packet rate limit rule"Zuul2021-12-062-0/+41
|\ \
| * | Add CURD actions for packet rate limit ruleLIU Yulong2021-11-242-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Neutron added new QoS rule [1] for packet rate limit. Neutron fullstack test cases [2] rely on the neutron client to interact with the neutron-server (API), so for new QoS rule `packet rate limit`, we add the needed methods for new cases of the QoS driver testing. [1] https://docs.openstack.org/api-ref/network/v2/index.html#qos-packet-rate-limit-rules [2] https://github.com/openstack/neutron/blob/master/neutron/tests/fullstack/resources/process.py#L24 Change-Id: I0ad236c9e585a25fbd405813ac48898a2df897d2
* | | Add support for minimum packet rate rule to the client7.7.0Przemyslaw Szczerbik2021-11-192-0/+41
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the introduction of QoS minimum packet rate rule in Neutron, it's important to ensure that tools like Heat support it as well. Unfortunately, Heat still depends on python-neutronclient instead of python-openstackclient. So even though QoS minimum packet rate rule support have been proposed for python-openstackclient [1] and openstacksdk [2], it's still necessary to extend python-neutronclient code. Since Heat uses only the client part, can skip CLI support. [1] https://review.opendev.org/c/openstack/python-openstackclient/+/810559 [2] https://review.opendev.org/c/openstack/openstacksdk/+/810364 Partial-Bug: #1922237 See-Also: https://review.opendev.org/785236 Change-Id: I4f16b963a202a476cd3cd2b69c1dd4e4ee6f0fc7
* | Fix lower-constraints and neutronclient-functional jobelajkat2021-11-182-1/+2
|/ | | | | | | 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
* Add Python3 yoga unit testsOpenStack Release Bot2021-09-101-1/+1
| | | | | | | | | | | 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
* Update master for stable/xenaOpenStack Release Bot2021-09-102-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/xena. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/xena. Sem-Ver: feature Change-Id: If1185e64ff9e9c2a622f7a41df3993b3fe414b96
* Merge "Replace deprecated assertDictContainsSubset"Zuul2021-09-061-3/+3
|\
| * Replace deprecated assertDictContainsSubsetTakashi Kajinami2021-09-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The method is deprecated since Python 3.2[1] and shows the following DeprecationWarning. /usr/lib/python3.9/unittest/case.py:1134: DeprecationWarning: assertDictContainsSubset is deprecated warnings.warn('assertDictContainsSubset is deprecated', [1] https://docs.python.org/3/whatsnew/3.2.html#unittest Closes-Bug: #1938103 Change-Id: I1d0ee6c77476707a7e4fe4fbf2b979bf34550d05
* | Merge "Use yaml.safe_load instead of yaml.load"xena-em7.6.0Zuul2021-09-022-4/+4
|\ \
| * | Use yaml.safe_load instead of yaml.loadTakashi Kajinami2021-09-012-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since PyYAML 5.1, yaml.load without specifying the Loader option is deprecated and shows the following warning. YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. This change replaces usage of yaml.load by yaml.safe_load, to get rid of that warning message. Change-Id: Ibe25c4aaf3aa7226f28ec60b8a929ecc143face1
* | | Merge "Ussuri+ is python3 only and update python to python3"Zuul2021-09-013-3/+0
|\ \ \ | |_|/ |/| |
| * | Ussuri+ is python3 only and update python to python3dengzhaosen2021-06-243-3/+0
| | | | | | | | | | | | | | | | | | To remove the useless shebang Change-Id: I611c5bc47562f8def9a8623117b7b0655474b555
* | | Set ML2/OVS backend explicitly for functional jobBernard Cafarelli2021-07-272-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | tests: change safe_hasattr to hasattrelajkat2021-07-272-3/+4
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | testtools 2.5.0 removed the helper (see [0]) safe_hasattr, and assumes that the hasattr implementation in python reliable enough now. test_neutron_dhcp_agent_list_hosting_net is skipped temporarily as there is no DHCP agent with ML2/OVN. It will be re-enabled [1]. [0] https://github.com/testing-cabal/testtools/blob/2.5.0/NEWS#L31 [1] https://review.opendev.org/c/openstack/python-neutronclient/+/801997 Change-Id: I4fe6fabc4f745e2c9a366e30dbea7e7200151f12
* | Merge "Changed minversion in tox to 3.18.0"Zuul2021-06-211-3/+3
|\ \
| * | Changed minversion in tox to 3.18.0wu.shiming2021-06-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | The patch bumps min version of tox to 3.18.0 in order to replace tox's whitelist_externals by allowlist_externals option: https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: I83717c5b2661df0d4288699903c38814cefb43d9
* | | Add a release note on deprecation for removal of neutron CLI7.5.0Akihiro Motoki2021-06-091-0/+10
| | | | | | | | | | | | Change-Id: I866ade23cd76cf1e44e10eeb15dcc02cc8d0dc66
* | | Set when deprecated neutron client CLI will be removedSlawek Kaplonski2021-05-272-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [1] was the last missing bit in OSC to have feature parity between OpenStack client and Neutronclient CLI tools. So now as [1] is merged we can really deprecate and specify that in Z cycle we will remove neutronclient CLI. This patch changes deprecation message to reflect that. [1] https://review.opendev.org/c/openstack/python-openstackclient/+/768210 Change-Id: Ia68af29ea15bda7330fda1b18416798a0f4cb7a4
* | | Skip metering functional tests when metering extension is not enabledSlawek Kaplonski2021-05-271-0/+4
|/ / | | | | | | Change-Id: I9e3f41a2be56c1fd5fc3aff9af8e5ff5163087bd
* | setup.cfg: Replace dashes with underscores7.4.0likui2021-05-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: I56804844c7438d7a5bffaaa363b9e3d79850c5c2
* | Replace getargspec with getfullargspeclikui2021-05-101-1/+1
|/ | | | | | | | inspect.getargspec() is deprecated since py3 [1] https://docs.python.org/3/library/inspect.html#inspect.getargspec Change-Id: I2ae460a7a7f01d7346d5e51ec6ccb44c22d0c53e
* Merge "Support passing mTLS certificate/key to HTTPClient"Zuul2021-03-262-3/+11
|\
| * Support passing mTLS certificate/key to HTTPClientsri harsha mekala2021-03-052-3/+11
| | | | | | | | Change-Id: I00065293daf6b2e5d540e056c05f85b82f8bc72c
* | Merge "Add Python3 xena unit tests"Zuul2021-03-241-1/+1
|\ \
| * | Add Python3 xena unit testsOpenStack Release Bot2021-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Update master for stable/wallaby"Zuul2021-03-242-0/+7
|\ \ \ | |/ /
| * | Update master for stable/wallabyOpenStack Release Bot2021-03-182-0/+7
| |/ | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/wallaby. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/wallaby. Sem-Ver: feature Change-Id: I91d4355bb94ac18a80ff215796cd403be870986a
* | Fix lower constraintsElod Illes2021-03-192-12/+12
|/ | | | | | | | | | | | This patch updates lower-constraints.txt to eliminate contradictions. keystoneauth1 lower constraint has to be bumped in requirements.txt as another dependency, openstacksdk 0.15.0 depends on keystoneauth1>=3.8.0 dogpile.cache version bumped to 0.6.5 as older version had 'async' as variable name which gives SyntaxError from py37. Change-Id: I31464518cb7f76c0fa5275a4ef52b2a6b634cfa3
* remove unicode from code7.3.0zhangboye2021-01-032-5/+5
| | | | Change-Id: I2521c2ba836b6a332883134112b6f99d996cc4e4
* Dep's should be restricted by tox-constraintswu.shiming2020-11-201-2/+6
| | | | | | | | Tox trying to install latest versions for building docs which may not be supported by stable and lower branches, so should be restricted by respective version's tox-constraints.txt Change-Id: Iecd29788d1c94fd727072aa5dd7fe5d828dbf174