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/train branch, tests will
continue to use the upper-constraints list on master.
Change-Id: Ieffc1b87a0f899801f8084ecd01c99c40d3991a9
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)
Commit ab426a791a changed
sha1 to sha256.
Need to change string correspondingly
Change-Id: I8b35350c32ab551d513f21325931d6697f62fb2f
Related-Bug: #1759250
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
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
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
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
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
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
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
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
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
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
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss
Change-Id: Ib88759901998ebec8a3e3817d1148fa70323cee5
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
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
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
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
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
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
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
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
The autogenerated changes for the python3-first project
duplicated irrelevant-files. This consolidates them.
Change-Id: Ib63fe59f28591947324708326d388954f2c3e0e9
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