summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Update hacking version to 1.1Akihiro Motoki2019-01-316-52/+50
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Remove basepython from [flake8] sectionAkihiro Motoki2019-01-311-1/+0
|/ | | | | | | | basepython is not a valid option for flake8 and it is complaned when running tox -e pep8. It seems to have been added accidentally. Change-Id: Ia5d093bab0c175b2693e7ae47a6bc29c1d44db36
* Merge "Change openstack-dev to openstack-discuss"Zuul2018-12-190-0/+0
|\
| * Change openstack-dev to openstack-discusssunjia2018-12-031-1/+1
| | | | | | | | | | | | Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: I4be1b808bee0a4f9feaea5b203317d04037e3dfd
* | Update mailinglist from dev to discusschenlx2018-12-171-1/+1
| | | | | | | | | | | | | | openstack-dev was decomissioned this night in https://review.openstack.org/621258 Update openstack-dev to openstack-discuss Change-Id: Ib88759901998ebec8a3e3817d1148fa70323cee5
* | Merge "Add support for querying quotas with usage"Zuul2018-12-171-0/+8
|\ \
| * | Add support for querying quotas with usagemid_one2018-12-141-0/+8
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | The neutron HTTP API supports issuing a GET call on /v2.0/quotas/{project_id}/details.json in order to obtain quotas with usage information for a given tenant. However, this capability is not currently exposed in the python-neutronclient code. Add path: quota_details_path Add function show_quota_details Closes-Bug: #1808451 Related-Bug: #1599488 Change-Id: Ia02172f62b9d9915273021627b0feb52a4f376da
* | Add Python 3.6 classifier to setup.cfgqingszhao2018-11-301-0/+1
|/ | | | Change-Id: Id7864c23b73b5f2b265ba04d24d01540b326d105
* Merge "Support of the boolean advertise_extra_routes"Zuul2018-11-205-1/+391
|\
| * Support of the boolean advertise_extra_routesSamuel Barré2018-11-205-1/+391
| | | | | | | | | | | | | | | | | | | | | | | | | | This Boolean attribute is added to the Router Association resource (Neutron API, 'bgpvpn' and 'bgpvpn-routes-control' API extensions) in order to support routes control. This allow to propagate routes of subnets not directly connected to the router The corresponding code in networking-bgpvpn has already merged See https://blueprints.launchpad.net/bgpvpn/+spec/routes-control Change-Id: Icdd7f6592a9d657b6414645406f06b74b6f3bb11 Implements: blueprint routes-control
* | Merge "Update min tox version to 2.3.2"Zuul2018-11-201-1/+1
|\ \
| * | Update min tox version to 2.3.2huang.zhiping2018-11-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The commands used by constraints need at least tox 2.3.2. Update to reflect reality, which should help with local running of constraints targets. Change-Id: I22dec4ff510123520a2c035c3fa1c80f18ce4cdd Closes-Bug: #1801360
* | | Merge "Fix docstring in method list_routers_on_l3_agent"6.11.0Zuul2018-11-131-1/+1
|\ \ \
| * | | Fix docstring in method list_routers_on_l3_agentmid_one2018-11-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For function list_routers_on_l3_agent in the python-neutronclient\neutronclient\v2_0\client.py, the description is "Fetches a list of L3 agents hosting a router". However this function fetches a list of routers hosted on a L3 agent. Change the docstring. Change-Id: Ia2156b5f6f016f338549a6536a0f31bf9e96c7cf Closes-Bug: 1802475
* | | | Fix docstring in method list_networks_on_dhcp_agentmid_one2018-11-121-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For function list_networks_on_dhcp_agent in the python-neutronclient\neutronclient\v2_0\client.py, the description is "Fetches a list of dhcp agents hosting a network". However this function fetches a list of networks hosted on a DHCP agent. Change the docstring. Change-Id: Ifa833d9a7ecab8ba55283d41d7a336d20cb578c3 Closes-Bug: 1802472
* | | Fix api version handling, which completely breaks the clientLucian Petrut2018-11-022-3/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | The neutron client does not work with recent openstacksdk versions (>=0.18.0): http://paste.openstack.org/raw/734040/ This change addresses a mismatch in the api version format. The neutron client passes a dict while the openstack sdk expects a string. Change-Id: I33c868f1c1e40d7673ba6651abedf3dfe0850660 Closes-Bug: #1801360
* | Don't quote {posargs} in tox.iniVieri2018-10-091-1/+1
| | | | | | | | | | | | | | | | Quotes around {posargs} cause the entire string to be combined into one arg that gets passed to stestr. This prevents passing multiple args (e.g. '--concurrency=16 some-regex') Change-Id: I30687b4bcdacb167599b54b6f07e018363980fc7
* | Adds the destination and source fwg to fwrGerman Eichberger2018-09-104-1/+188
| | | | | | | | | | | | | | This will add the source and destination firewall group id to firewall rules. Change-Id: If69b87fc58d36aa7d879ace8e73bc0f7534a1ef4
* | Use templates for cover and lower-constraintsAndreas Jaeger2018-09-081-5/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* | Consolidate irrelevant files added for py3 projectBrian Haley2018-09-071-16/+4
| | | | | | | | | | | | | | The autogenerated changes for the python3-first project duplicated irrelevant-files. This consolidates them. Change-Id: Ib63fe59f28591947324708326d388954f2c3e0e9
* | Switch to stestrVu Cong Tuan2018-09-067-16/+20
| | | | | | | | | | | | | | | | | | | | 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
* | Merge "add lib-forward-testing-python3 test job"6.10.0Zuul2018-09-031-0/+1
|\ \
| * | add lib-forward-testing-python3 test jobDoug Hellmann2018-08-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "add python 3.6 unit test job"Zuul2018-09-031-0/+1
|\ \ \ | |/ /
| * | add python 3.6 unit test jobDoug Hellmann2018-08-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "switch documentation job to new PTI"Zuul2018-09-031-2/+2
|\ \ \ | |/ /
| * | switch documentation job to new PTIDoug Hellmann2018-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "import zuul job settings from project-config"Zuul2018-09-021-0/+42
|\ \ \ | |/ /
| * | import zuul job settings from project-configDoug Hellmann2018-08-291-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Ensure API calls for subnets are in URL length limitMykola Yakovliev2018-08-312-2/+11
|/ / | | | | | | | | | | | | | | Fix situation when with pagination enabled, neutronclient failed to read subnets information due to too long URI. Change-Id: I53240c536d77a95510b5c83b81e21782f29d886a Closes-Bug: 1775922
* | fix tox python3 overridesDoug Hellmann2018-08-291-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com> Change-Id: I6f4a539c68b036474be4ba433cb28293c0ce94e2 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | Merge "Add release note link in README"Zuul2018-08-271-0/+1
|\ \
| * | Add release note link in READMEwu.chunyang2018-06-281-0/+1
| | | | | | | | | | | | Change-Id: Idcd559d5f8c6f991e73d7d10339fb923f2a931b2
* | | [log] Add 'firewall_group' as a loggable resource type for loggingKim Bao Long2018-08-233-16/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, OSC plugin for logging only supports security group as a loggable resource. This patch aims to add 'firewall_group' as a supported resource type. Co-Authored-By: Van Hung Pham <HungPV@vn.fujitsu.com> Depends-On: Ie10063197f02679e987e87cb4852f5230a02f76d Change-Id: I2ac92004c2ad3769c9749e131718a8ef0003c4bd Partial-Bug: #1720727
* | | Add B303 into list of skipped bandit pluginsKim Bao Long2018-08-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Blacklist call of hashlib.sha1 was blacklisted in bandit with [1] and it is now added to list of skipped tests in Neutron Client. [1] PyCQA/bandit@35e3544 Change-Id: I8322d0666528323df8b1214306be4b80c4b0777a
* | | Merge "Fix broken unittests"Zuul2018-08-163-3/+3
|\ \ \
| * | | Fix broken unittestsYushiro FURUKAWA2018-08-153-3/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | _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
* | | Update reno for stable/rockyOpenStack Release Bot2018-08-082-0/+7
|/ / | | | | | | Change-Id: I330ee35255f6afcb1e90a570ee5f9345dc088187
* | Merge "Add bandit to pep8 gate"Zuul2018-06-142-1/+8
|\ \
| * | Add bandit to pep8 gatejessegler2018-06-132-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Update links in READMEXiaojueGuan2018-06-122-3/+3
|/ / | | | | | | | | | | Change the outdated links to the latest links in README Change-Id: I70fbe513066b9375344e80308c646e56bf927db0
* | Remove PyPI downloads6.9.0Chen2018-06-071-4/+0
| | | | | | | | | | | | | | | | | | According to official site, https://packaging.python.org/guides/analyzing-pypi-package-downloads/ PyPI package download statistics is no longer maintained and thus should be removed. Change-Id: I190d233eaaea8e445e2d0c9b98ee81cb8cf08fab
* | Merge "Set or unset port pair group failed"Zuul2018-04-262-9/+9
|\ \
| * | Set or unset port pair group failedchenyaguang2018-04-182-9/+9
| |/ | | | | | | | | | | | | | | Set or unset port pair for port pair group failed because the type of 'existing' is wrong Change-Id: I198e745fccff76184d9813805d1c1915aff5a273 Closes-Bug: #1762884
* | Trivial: Update pypi url to new urlTovin Seven2018-04-201-3/+3
|/ | | | | | | | | Pypi url changed from [1] to [2] [1] https://pypi.python.org/pypi/<package> [2] https://pypi.org/project/<package> Change-Id: I8a94ae70c638927f113d9a648f8cd5df41474bba
* Replace insecure function evalGleb Zimin2018-04-122-10/+39
| | | | | | | | | | | In neutronclient we use a eval function for processing CLI neutron arguments. This function possible insecure because eval get argument from client side. Instead of it we can use a dict with allowed types which is more secure. Closes-Bug: #1762938 Change-Id: Idde55d1b9206e9ef8742464825709f098d488a8e Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
* Fix pep8 errorAkihiro Motoki2018-04-111-2/+2
| | | | | | | pycodestyle 2.4.0 which is updated along with pep8 introduces new checks and they hit neutronclient. Change-Id: Ic417aee3239c46f1e989c50b9814adfd75cff175
* Merge "Fix list bgp speaker by agent ID"Zuul2018-04-091-1/+1
|\
| * Fix list bgp speaker by agent IDJens Harbott2018-04-091-1/+1
| | | | | | | | | | | | | | The arg is called "agent", not "agent_id". Change-Id: I5dd524137202a5411451e775c7ca5d6748dc6e7a Closes-Bug: 1762488
* | Merge "Follow the new PTI for document build"Zuul2018-04-094-9/+8
|\ \