summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Add router add/remove extra routes operationsBence Romsics2019-09-132-0/+15
| |/ | | | | | | | | | | | | | | | | Add methods to the client to call the two new member actions introduced by new Neutron extension: extraroute-atomic. Change-Id: Idb1fa073c2ff31f566b376cfa4f63cf27fecec86 Partial-Bug: #1826396 (rfe) Related-Change: https://review.opendev.org/655680 (spec)
* | Improve help textjiasirui2019-08-301-3/+3
|/ | | | Change-Id: Idc8f55567d0d4c95968d34d3b7aa95048623d9d0
* Fix string in headerOleg Bondarev2019-08-201-1/+1
| | | | | | | | | Commit ab426a791ad1937ea2cf3b340202b3968a378978 changed sha1 to sha256. Need to change string correspondingly Change-Id: I8b35350c32ab551d513f21325931d6697f62fb2f Related-Bug: #1759250
* Use secure sha256 instead of sha1Oleg Bondarev2019-08-131-1/+1
| | | | | | | Fix for bandit B303: Use of insecure MD2, MD4, MD5, or SHA1 hash function. Change-Id: I00403d7bd3b40ae00420e6cddcf40f45488284a9 Partial-Bug: #1759250
* Switch functional job to python36.13.0Akihiro Motoki2019-07-242-0/+2
| | | | Change-Id: I7aa4566b8f2c81da6a00e664908506f5628cd0a1
* Convert legacy functional jobs to zuulv3Akihiro Motoki2019-07-242-18/+24
| | | | | | | | | | | | | 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
* Merge "Run functional test correctly"Zuul2019-07-192-5/+3
|\
| * Run functional test correctlyAkihiro Motoki2019-07-182-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | legacy-neutronclient-test-dsvm-functional job actually runs neutronclient.tests.unit because .stestr.conf does not honor OS_TEST_PATH. This commit fixes .stestr.conf to honor OS_TEST_PATH specified in tox.ini. Also fixes the logic of is_extension_enabled() in ClientTestBase to check whether FWaaS v1 (fwaas) is enabled correctly. Previously the logic checks a substring of a specified extension, so 'fwaas' (FWaaS v1) matches 'fwaas_v2' (FWaaS v2), which leads to a failure of FWaaS v1 CLI tests. Change-Id: I958ad496b16cca8d03a7b84ebf5f8f031e4248ea
* | Add friendly event hints for loggingzhanghao22019-07-161-1/+1
|/ | | | | | | | When creating a network log with the '--event' parameter, it is impossible to know which parameter values can be specified, and it is necessary to add a prompt. Change-Id: I6aa4f95b650cdc7b04e74b851a78a2ae42fc288a
* Add Python 3 Train unit testsCorey Bryant2019-07-083-3/+3
| | | | | | | | | | | | 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
* Merge "doc: Remove prompt from python binding examples"Zuul2019-06-191-36/+36
|\
| * doc: Remove prompt from python binding examplesAkihiro Motoki2019-05-101-36/+36
| | | | | | | | | | | | | | | | The current python binding examples have prompts of python interactive mode, but these prompts make it difficult to copy-and-paste the examples. This commit removes them. Change-Id: Ia5d35fbb585ed0d0d11c8d035196981e9dd46785
* | Blacklist bandit 1.6.0 due to directory exclusion bugAkihiro Motoki2019-05-282-2/+3
|/ | | | | | | | | | | | | | | | 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
* Merge "Replace git.openstack.org URLs with opendev.org URLs"Zuul2019-05-026-10/+10
|\
| * Replace git.openstack.org URLs with opendev.org URLsjacky062019-04-286-10/+10
| | | | | | | | Change-Id: I3cc418bd8219a3d4f3ab5c018adf06b66ef36b46
* | Merge "Dropping the py35 testing"Zuul2019-05-013-3/+1
|\ \ | |/ |/|
| * Dropping the py35 testingGhanshyam Mann2019-04-153-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | OpenDev Migration PatchOpenDev Sysadmins2019-04-191-1/+1
|/ | | | | | | | | | | | | | | This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
* Merge "Replace openstack.org git:// URLs with https://"Zuul2019-03-272-2/+2
|\
| * Replace openstack.org git:// URLs with https://Ian Wienand2019-03-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated change to replace openstack.org git:// URLs with https:// equivalents. This is in aid of a planned future move of the git hosting infrastructure to a self-hosted instance of gitea (https://gitea.io), which does not support the git wire protocol at this stage. This update should result in no functional change. For more information see the thread at http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html Change-Id: I15a69bcf6d51bfb1d5ade8f5119bb77bb2387f77
* | Merge "add python 3.7 unit test job"Zuul2019-03-221-0/+1
|\ \
| * | add python 3.7 unit test jobCorey Bryant2019-02-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Update master for stable/steinOpenStack Release Bot2019-03-182-0/+7
| |/ |/| | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/stein. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/stein. Change-Id: I9add4f457af409830f3faff0af2661e0b3909b40 Sem-Ver: feature
* | Add subnet onboard CLI6.12.0Ryan Tidwell2019-02-278-0/+143
| | | | | | | | | | | | | | | | | | | | This is the implementation of the "onboard network subnets" CLI. This enables the subnet onboard feature of neutron to be driven via CLI. Depends-On: https://review.openstack.org/348080 Change-Id: Ic637ed689b0d3806d2c33faa419c3a98a310effa Implements: blueprint subnet-onboard
* | Update json module to jsonutilscao.yuan2019-02-252-11/+8
|/ | | | | | | | | | oslo project provide jsonutils, and neutronclient use it in many place[1], this PS to update the remained json module to oslo jsonutils for consistency. [1]: https://github.com/openstack/python-neutronclient/search?utf8=%E2%9C%93&q=jsonutils&type= Change-Id: Ic4639628c8910b88a14b0fe8f37638bb4f9474be
* Merge "Update hacking version to 1.1"Zuul2019-02-076-52/+50
|\
| * 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
|\ \ \ | |/ /