summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update TOX_CONSTRAINTS_FILE for stable/yogastable/yogaOpenStack Release Bot2022-03-071-3/+3
| | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/yoga branch, tests will continue to use the upper-constraints list on master. Change-Id: I3e3ab670a2ecff619d736b378ffc20f839125bad
* Update .gitreview for stable/yogaOpenStack Release Bot2022-03-071-0/+1
| | | | Change-Id: I673fcad656a8c79362476452961d7e0f0c864970
* Skip B105 pep8 error: hardcoded passwordsRodolfo Alonso Hernandez2022-03-071-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 (cherry picked from commit 28628e8f962c49aa276647ca2b2e71a2be530277)
* 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
* Update requirements URLs in tox configlikui2020-11-021-1/+1
| | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so will switch to the correct upper-constraints list automatically when the requirements repository branches. Change-Id: I496dfbc709ecd864f619618252ef5dc992216ca7
* Add Python3 wallaby unit testsOpenStack Release Bot2020-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 wallaby. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I26b3f45c78c1230a8b7d7faa46b504ac7cd0cc4b
* Update master for stable/victoriaOpenStack Release Bot2020-09-102-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/victoria. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/victoria. Change-Id: I09f54e58239b6c2e77f69bff07bc7fe72ce4690d Sem-Ver: feature
* Fix lower-constraints for FocalBernard Cafarelli2020-09-102-7/+7
| | | | | | | Bump to versions supporting python 3.8 and with wheels available and sync requirements Change-Id: Ibcd16c9a9f691775af428ec447f4ebf9baea5e86
* Merge "Allow 4byte ASNs in dynamic routing client"victoria-em7.2.1Zuul2020-09-084-6/+8
|\
| * Allow 4byte ASNs in dynamic routing clientJens Harbott2020-09-014-6/+8
| | | | | | | | | | | | | | | | | | | | Neutron-dynamic-routing has the bgp_4byte_asn extension which allows 4byte ASNs to be used, increasing the range of valid AS numbers. Since we cannot easily tell beforehand whether that extension is available, allow for the maximal interval to be used by clients and let the API validate the input. Change-Id: Ib4695272784b4a5ebbcb792cfec82dac3ef6f3cf
* | Merge "Add aggressive negotiation mode for ikepolicy"Zuul2020-09-083-1/+26
|\ \
| * | Add aggressive negotiation mode for ikepolicyzhanghao2020-05-133-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | The phase1 negotiation mode adds support for aggressive mode, which can be selected when creating an ikepolicy. Change-Id: I8148011558094db07b5f9eba70b16cfe6eeaf98f Partial-Bug: #1701413
* | | Merge "Remove translation sections from setup.cfg"Zuul2020-09-082-16/+0
|\ \ \ | |_|/ |/| |
| * | Remove translation sections from setup.cfgmelissaml2020-08-142-16/+0
| | | | | | | | | | | | | | | | | | | | | These translation sections are not needed anymore, Babel can generate translation files without them. Change-Id: If20aa86f21807497c5dfefb0f34f771040517c6f
* | | zuul: native Zuul v3 version of the grenade jobLuigi Toscano2020-08-103-81/+13
| | | | | | | | | | | | | | | | | | | | | Also fix the name according the guidelines. This job should really live inside neutron-lib. Change-Id: I76043ea43efe1c78ba9637876ed6a8b997b6d0ee
* | | Merge "lower-constraints: Drop os-testr, mox3"Zuul2020-07-211-2/+0
|\ \ \
| * | | lower-constraints: Drop os-testr, mox3Stephen Finucane2020-07-091-2/+0
| |/ / | | | | | | | | | | | | | | | | | | They're no longer used. Change-Id: Ic8b68f900c2d42a3f5e1508ddde2821cb12b696e Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* | | Fix description of bgp speaker set argJens Harbott2020-07-121-1/+1
|/ / | | | | | | | | | | | | The name argument for bgp speaker set defines the new name for the speaker, make the description more clear about this. Change-Id: I29a0c87214c3c60084d0541f8b9a7abc72ff987f