| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I12e1a2a4a22116cabd09a3b808f871d98e4bd1f2
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I5486638526b26ce0710c7b1926e408dd70057a66
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bandit 1.6.0 introduces a regression[0] with the -x option,
a fix is expected to be included in 1.6.1 soon.
This commit also aligns Sphinx requirement with the requirements
project [2]. This is required to pass requirements-check.
The lower bound for sphinx was missing and requirements-check
now requires it, so the lower bound sphinx >=1.6.2 was added.
[0] https://github.com/PyCQA/bandit/issues/488
[1] https://github.com/PyCQA/bandit/pull/489
[2] https://review.opendev.org/#/c/657890/
Change-Id: I937cfa722f5234ca4d5506047001d9cb07728cd8
|
|
|
|
|
|
|
|
|
|
|
|
| |
Older hacking depends on pep8, but pep8 module is replaced by
pycodestyle. This can be resolved by updating hackinng version.
This commit also fixes E117 (over-indented) and
W605 (invalid escape sequence) warnings.
pep8 is dropped from lower-constraints.txt as it is no longer used.
Change-Id: I3a8e3b0dedf9422e4db02b525b333d12ce012a95
|
|
|
|
|
|
|
|
|
|
| |
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: Ib58745d5c0d98fb79eb3cf7278c2cbfb5160efcd
|
|
|
|
|
|
|
|
|
|
| |
_clean() method is renamed to clean() in osprofiler 2.3.0.
It was suggested in a past neutronclient review.
Closes-Bug: #1783789
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Depends-On: https://review.openstack.org/#/c/592018/
Change-Id: Ic8e03db85dc08cfdcac5507e99ecdf7eac8eb972
|
|
|
|
|
|
|
|
| |
Neutron uses bandit to detect security issues. This patch adds bandit
to the pep8 gate to automatically lint for security issues in
python-neutronclient.
Change-Id: Ifd8caf65cc89e7d6d6ebc8f58539741cfbab839b
|
|
|
|
|
|
|
|
|
|
|
|
| |
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html
Depends-On: https://review.openstack.org/#/c/559315/
Depends-On: https://review.openstack.org/#/c/559332/
Change-Id: Icbdc67dab1853162b1a877891195cc26b4873cb0
|
|
|
|
|
| |
Change-Id: I9719d9b308811e7bf218af2f7da949b6c0509fc1
Closes-Bug: #1753504
|
|
|
|
| |
Change-Id: Ie636b2253cd263e9f958af430e93fc1eb5efbc23
|
|
|
|
| |
Change-Id: Ib897d23991b49d7efe68876f51b095c36fb91958
|
|
|
|
| |
Change-Id: I2db9e43b98a209d654c1749576235bd8260c0fc5
|
|
|
|
| |
Change-Id: I1add04870af21a1e453fed7b6a2a34e70a646ad8
|
|
|
|
| |
Change-Id: Ic8c98ad03917ed628453c28200defed000592045
|
|
|
|
| |
Change-Id: Ibfc6c074416de0dab68b37623d64b7e737849431
|
|
|
|
| |
Change-Id: I2f5dbe4729c8b2d3664224c7b61d6d21323a2415
|
|
|
|
| |
Change-Id: I036c81a2cc84e615d8dd7936ceee60812260abba
|
|
|
|
| |
Change-Id: Iea16b097e17dfe3244f6e99abfdf8d6a7a1e6179
|
|
|
|
| |
Change-Id: Iaec435d5f56b48469fff6d53247e9bbf7feb21c3
|
|
|
|
| |
Change-Id: Idcc7808ae5af7fc42dafc0fc04c3ca1d69239288
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In reviews we usually check import grouping but it is boring.
By using flake8-import-order plugin, we can avoid this.
It enforces loose checking so it sounds good to use it.
This flake8 plugin is already used in tempest.
Note that flake8-import-order version is pinned to avoid unexpected
breakage of pep8 job.
Setup for unit tests of hacking rules is tweaked to disable
flake8-import-order checks. This extension assumes an actual file
exists and causes hacking rule unit tests.
Change-Id: I61e683ab0119e4ae90b7107f0690528d789e3875
|
|
|
|
| |
Change-Id: Ib08574e2413af218f70af0e56b08286256ccb79b
|
|
|
|
| |
Change-Id: Ic8f9b6821da7958a895dad6053d2cd1b6761a405
|
|
|
|
| |
Change-Id: I7eeae5666364dd24282036c0f1b981198e645d8b
|
|
|
|
| |
Change-Id: I42d4fb6f4fc127a327ab5d543d03c354bbed33e5
|
|
|
|
| |
Change-Id: I37500788354e3d7a46002177012c592ff0e7e8da
|
|
|
|
| |
Change-Id: I46cbb16bda94a9501a65231a3a16f6885c5c8453
|
|
|
|
| |
Change-Id: If404f874168f825fe70a2d253d26c3400183536b
|
|
|
|
|
|
|
|
|
| |
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848
Change-Id: Ifc984fa1c425999fabc3a62b6f6f3f29fa1100af
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To be able to create profiling traces for Neutron, client should be
able to send special HTTP header that contains trace info.
This patch is also important to be able to make cross project
traces. (Typical case nova calls neutron via python client, if
profiler is initialized in nova, neutron client will add extra
header, that will be parsed by special osprofiler middleware in neutron
api.)
Closes-Bug: #1335640
Co-Authored-By: Roman Podoliaka <rpodolyaka@mirantis.com>
Change-Id: Ic11796889075b2a0e589b70398fc4d4ed6f3ef7c
|
|/
|
|
| |
Change-Id: I17e20f6dc80036a9a00ff0d9111abffa7a20bc8f
|
|
|
|
| |
Change-Id: I63fb5e5486670bc369abc5339a2da8e65ba2ec6f
|
|
|
|
| |
Change-Id: I47bedcde68a0aaebf973f2207f9855d29922bc13
|
|
|
|
| |
Change-Id: I2ea110e8810899c46b4e768deb521df36d404692
|
|
|
|
| |
Change-Id: I7c7a77b9e7935d89782ea23d3bbe54dc30afc0ac
|
|
|
|
| |
Change-Id: Idda966e85eb7dedf950c4d398b3247ddee10d1ac
|
|
|
|
|
|
| |
It's only needed for python < 2.7 which is not supported
Change-Id: I2d0386cd181afce62bbba810f420f4fdb83d16fa
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Enable neutronclient OSC plugin support.
This patch set does the following:
- Establishes OSC plugin structure for commands and unit tests
- Creates the OSC plugin
- Adds OSC to test-requirements.txt
Co-Authored-By: Akihiro Motoki <motoki@da.jp.nec.com>
Change-Id: I9a20bc7a3d8aa7b631fb0fd534fc5705c23326ce
Related-Bug: #1521291
|
| |
| |
| |
| | |
Change-Id: Ia7b03a36b1ad078b4d48d32121ee9225f8cc3fde
|
| |
| |
| |
| | |
Change-Id: Id5266aa1ab577adbccde9be2725cafb1e7f48ae7
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
http://specs.openstack.org/openstack/qa-specs/specs/tempest/reintegrate-tempest-lib.html
The tempest-lib project is going to live in the tempest repo.
Now tempest.lib had been created, so this patch update them in
neutronclient.
Change-Id: I25c2309f84a2f06ba0882682d63d2a8be347ae07
Closes-bug: #1583562
|
|/
|
|
| |
Change-Id: I94641c2e8629df1225e37e53c22c3d80295c9f60
|
|
|
|
| |
Change-Id: I00f8c716e6ea6399066a87d149c6eed298859c1f
|
|
|
|
| |
Change-Id: I602360343feb37f17961f555a288fd6a92c90f37
|
|
|
|
|
|
|
|
|
|
| |
APIImpact
Partial-implements: rfe role-based access control for qos policies
Related Blueprint: rbac-qos
Related-bug: #1512587
Depends-On: I1c59073daa181005a3e878bc2fe033a0709fbf31
Change-Id: If11a10da617e279b19c17d995b7ab89be8cd9427
|
|
|
|
| |
Change-Id: I4fe34e07dcb5ffd16f849e95483d5b4aaaf5102c
|
|
|
|
| |
Change-Id: Ieb89e1291194e947c444a5a3bfce5423b5797c1d
|