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/2023.2 branch, tests will
continue to use the upper-constraints list on master.
Change-Id: I6f8730c457b2436fa6d89a4868e4afecfac221e4
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: I9b75a33b6eaac93ddf12934ed8f04b823d022aa7
This patch resolves the following error caused by using one data in
multiple tests.
-----
ft1.2: tackerclient.tests.unit.osc.v1.test_vnflcm_subsc.
TestListLccnSubscription.test_take_action_with_
paginationtesttools.testresult.real._StringException:
Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/
python-tackerclient/tackerclient/tests/unit/osc/v1
/test_vnflcm_subsc.py", line 139, in test_take_action_with_
pagination
expected_data.append(vnflcm_subsc_fakes.get_subscription_
data(
File "/home/zuul/src/opendev.org/openstack
/python-tackerclient/tackerclient/tests/unit/osc/v1
/vnflcm_subsc_fakes.py", line 166, in get_subscription_data
subscription.pop(item)
KeyError: 'filter'
-----
Add test data for each test.
(Three data are set for each test data so that the first, last, and
other values can be checked.)
And change not to modify test data directly in get method.
Closes-Bug: #2007524
Change-Id: Id3919fc638f6b858c115a3a7d7e4ca60036217d4
This patch changes to allow setting the `extra` parameter in the VIM
configuration for openstack vim type.
Implements: blueprint enhance-api-policy
Change-Id: I37a3e21afced0aae6e0fd3c0cbb28ab16f2b7df8
Add the Performance Management Threshold CLI to support AutoScale.
The Performance Management Threshold API is based on ETSI NFV-SOL
002 v3.3.1 and ETSI NFV-SOL 003 v3.3.1, which is Version "2.0.0"
API of Tacker.
Implements: blueprint support-auto-lcm
Change-Id: Idd313d6abe47dfa41fc86ddc614d00f99f3fc3b2
This patch deprecates CLI for Legacy APIs excluding VIM feature.
Implements: blueprint deprecate-legacy-apis
Change-Id: Ib74db43b4a3de4676e61f4f9ce6d3d2095a11ddf
In 2023.1 cycle, we are testing the python 3.10
as voting job so updating the python classifier.
Currently we have python 3.8 unit test job running on
Ubuntu Focal and python 3.10 job on Ubuntu Jammy.
Change-Id: Ie5ef1e398f6709e2164db57c3f5bbfbc69053a02
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I92990bd9aa48941e092fafc6246317e152ad4602
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I2bf82a833e8adfb5606ccbd336872b4973f93440
This patch makes the following updates to the API and CLI docs.
* Add support cnf auto heal and scale
Implements: blueprint support-auto-lcm
Change-Id: Ide4d8c8652cdf8ac611e65376a21806488667ace
Support container based VNF AutoHeal and AutoScale operation with
External Monitoring Tools.
Add the Fault Management interfaces and CLI to support AutoHeal.
Add the Performance Management interfaces and CLI to support
AutoScale. The Fault Management and Performance Management
interfaces are based on ETSI NFV-SOL 002 v3.3.1 and ETSI NFV-SOL
003 v3.3.1, which are Version "2.0.0" API of Tacker. Add the
Prometheus Plugin that has a interface between tacker and the
External Monitoring Tool.
Implements: blueprint support-auto-lcm
Change-Id: I7023a72b73f17f3746c74d311919497c7c4e8b3f
This patch enables you to receive all records for target list
commands at once even if Tacker's server paginates them.
Target commands are below.
- openstack vnflcm list
- openstack vnflcm op list
- openstack vnflcm subsc list
* As for the following command, it will be supported after
implementing pagination feature in Tacker's server.
- openstack vnf package list
Implements: blueprint paging-query-result
Change-Id: I8e5c9bdd99b9c1e45aef8aa1e74bdbbfdd7c5c89
Current Python-TackerClient Documentation does not reflect
the latest implementation.
This patch adds the vnflcm commands to the CLI usage,
revises the contributor guide, and makes some minor modifications.
Implements: blueprint update-tackerclient-documentation
Change-Id: Iacd871c52baa0e20c254b7c75d588b52c6086851
If the `extra` parameter is present in the config-file specified
when the 'openstack vim register' command is executed,
the data is sent to the tacker.
Implements: blueprint remove-cnf-restriction
Change-Id: I13420945f7d4f81f48a5be7f8f92a0635fbef18a
This patch adds openid auth info settings support when calling
vim register/update.
Implements: blueprint support-openid-k8s-vim
Change-Id: Id267050ac7adb349f562477dfc7aa6a53188b4cc
This patch supports CLI of vnflcm subscriptions APIs.
They are as follows.
* vnflcm subsc create
* vnflcm subsc delete
* vnflcm subsc list
* vnflcm subsc show
The output message of "vnflcm delete" was also modified
to match "vnflcm subsc delete".
Implements: blueprint support-nfv-solv3-subscriptions
Implements: blueprint support-etsi-nfv-specs
Change-Id: I9a839a3d131afc80fec0c2bbaa30443798117e0d
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.
See also the PTI in governance [1].
[1]:https://governance.openstack.org/tc/reference/project-testing-interface.html
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Change-Id: I4ea4b74fed206aa79078796106c4cee990ad067c
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: I4f89c2cfa951117c832498a17daeb92b4ce8c70f
This patch supports CLI of vnflcm v2 APIs which are added in Yoga
release.
They are as follows.
* vnflcm update
* vnflcm scale
* vnflcm heal
* vnflcm change-ext-conn
* vnflcm op fail
* vnflcm op retry
* vnflcm op rollback
They are common with v1 except heal. An optional parameter
'--additional-param-file' is added to heal CLI.
Implements: blueprint support-nfv-solv3-heal-vnf
Implements: blueprint support-nfv-solv3-change-external-connectivity
Implements: blueprint support-nfv-solv3-modify-vnf
Implements: blueprint support-nfv-solv3-scale-vnf
Implements: blueprint support-nfv-solv3-error-handling
Change-Id: If4acd9c4d35ce7a5bf6c23db1a8238654d536c87
Usage message of all cli commands of tacker is constructed by
argument parser by default. It includes optional parameter
first and insert mandatory parameter at end.
All cli commands are implemented with this design only
except heal cli.
Heal cli is a special case in which optional parameter is
coming at end and mandatory parameter is coming before optional.
To fix this issue usage parameter of argument parser is set
in heal cli.
Closes-Bug: #1954744
Change-Id: I3b1d04df210ad07d4b9a99f300017d49e2b56f0b
"vnflcm op list" with "--exclude-fields" is not
excluding parameters from CLI result.
Closes-Bug: 1953377
Change-Id: If47beccfbab4b85173bbe159905d0605e721cedd
Add ``openstack vnflcm op cancel`` to python-tackerclient. This
command can execute Cancel operation [1]. This API makes a transition a
LCM that is stopped in the PROCESSING state to the FAILED_TEMP state.
[1]
https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/03.03.01_60/gs_NFV-SOL003v030301p.pdf
Implements: blueprint support-cancel
Change-Id: Id957f6a7992f9fd5b04806aff3d76680d8d63a8d
Signed-off-by: Hiromu Asahina <hiromu.asahina.az@hco.ntt.co.jp>
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
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Change-Id: I92cd2f1bfbc16bdd1e36e5e9c3500b488d17bd47
As we agreed on IRC meeting[1], remain lower constraints test only
master branch of tacker and tacker-horizon to difficulty of maintaining
package depencencies for the recent pip dependency resolver. This patch
is to drop lower constraints test from python-tackerclient.
[1] https://meetings.opendev.org/meetings/tacker/2021/tacker.2021-09-14-08.02.log.txt
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Change-Id: I4e10e76fb2ab06fb3269f115b0bd9b893265e2e6
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: I874fe47b95881f35cc9599087feb69810cd9c803
Add version '2' for support version of --os-tacker-api-version to
'openstack vnflcm' CLI.
If '--os-tacker-api-version 2' is specified, REST API url
'/vnflcm/v2' is used instead of '/vnflcm/v1'.
New CLI 'openstack vnflcm versions' is added too.
Implements: blueprint multi-version-api
Change-Id: I256a4010043d0b84ffe43b055c6a6a67a2d5d661
The testtools package removed safe_hasattr in version 2.5.0 [1].
Since it is only used in two unit tests, let's replace it with the
built-in hasattr.
[1] - https://github.com/testing-cabal/testtools/blob/2.5.0/NEWS#L31-L34
Change-Id: I57be2d06efe8913805069150bd3f884322a78a42
In Python-TackerClient guide, under "Indices and tables" section,
"Module Index" refer to a broken link [1].
The documentation build does not generate module index, thus
we can remove the link [1] from page.
[1] https://docs.openstack.org/python-tackerclient/latest/py-modindex.html
Closes-Bug: #1934581
Change-Id: I881cb5faaefab3bffb9b7253dcd65e69581488bf
The use of `yaml.load` without Loader is deprecated and
considered unsafe.
The warning notice:
/opt/stack/python-tackerclient/tackerclient/tacker/v1_0/nfvo/vim.py:
YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated,
as the default Loader is unsafe.
Please read https://msg.pyyaml.org/load for full details.
config_param = yaml.load(config_yaml)
This change adds (Loader=yaml.SafeLoader) to remove the warning.
Change-Id: Idc77d855b41801777d57cfe92d1c448b6e72feaa