Commit Graph

596 Commits

Author SHA1 Message Date
Zuul 940b7a5436 Merge "reno: Update master for unmaintained/victoria" 2024-03-14 07:41:23 +00:00
Zuul b4d816e004 Merge "reno: Update master for unmaintained/wallaby" 2024-03-14 07:37:56 +00:00
Zuul 3461af1f9d Merge "reno: Update master for unmaintained/xena" 2024-03-14 07:37:01 +00:00
OpenStack Release Bot 63a3bae431 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: Iac931c973c8728cdaf62c49151bb55db65799003
2024-03-08 13:53:54 +00:00
OpenStack Release Bot e83cf5c84b reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Ie467122dd505b3c4e5b69c424108479868a0a81e
2024-03-05 18:38:14 +00:00
OpenStack Release Bot dc227a5210 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I666e0ff4fe7224a16139d275ba053501148ffb5e
2024-03-05 18:37:33 +00:00
OpenStack Release Bot 27e16248ea reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I3ab374d114c07d2ac4bae0526245cdc4a2f92228
2024-03-05 18:36:48 +00:00
Zuul 804d179af6 Merge "Fix the handling of content-type in HTTPClient" 2024-03-01 10:43:01 +00:00
Zuul 4e5628fad2 Merge "Fix output regarding PM Job response" 2024-02-27 14:27:21 +00:00
Zuul 155b09a581 Merge "Update master for stable/2023.2" 2024-02-27 07:22:55 +00:00
Kaori Mitani 0bae79f913 Fix output regarding PM Job response
According to SOL003, "authentication" should not appear
in the PmJobModifications response.
Therefore, it has been removed from the output obtained
when running "openstack vnfpm job update".

Closes-Bug: #2054420
Change-Id: I14b415a161983e682a4415d11d1fdad5792be3f8
2024-02-22 09:29:32 +00:00
Ayumu Ueha a2406d9510 Fix the handling of content-type in HTTPClient
If content-type other than application/json is used, an error occur
because the processing is lacked in HTTPClient to pass content-type.
So, this patch fixes the handling of `content-type` in HTTPClient.

Closes-Bug: #2052768
Change-Id: Ief823dbdec9cceea3c7129860381b9ab34d0e438
2024-02-09 11:08:56 +00:00
OpenStack Release Bot 6d0ab162d8 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I3cbbb87f550271efb2ffd16b8be75f8933594ba7
2024-02-05 16:05:35 +00:00
Ayumu Ueha e1cd39fa41 Obsolete Legacy APIs excluding VIM feature
This patch obsoletes CLI for Legacy APIs excluding VIM feature.

Implements: blueprint deprecate-legacy-apis
Change-Id: I9be376a660c6f7c34c0abe7e327dec7a91d49ee2
2023-12-08 02:29:05 +00:00
Zuul 1c608378b1 Merge "Remove legacy documentation" 2023-11-20 00:17:07 +00:00
Ayumu Ueha 4978e7db51 Fix unit test error caused by cliff upgrade
This patch fixes the following issue of unit test that caused by
upgraded version of cliff library to v4.4.0.

-----
AttributeError: 'FakeStdout' object has no attribute 'isatty'
-----

Change-Id: I77438314f8cf98e62155b1e43da3484cd5f1f514
2023-11-17 04:37:28 +00:00
Ai Hamano aa2836c072 Remove legacy documentation
This patch removes documentation for the following legacy commands.
- VNF Descriptor (VNFD) Management commands
- VNF Management commands
- Event Management commands
- VNF Forwarding Graph Descriptor (VNFFGD) Management commands
- VNF Forwarding Graph (VNFFG) Management commands
- Network Forwarding Path Management commands
- Service Function Chain (SFC) Management commands
- Flow Classifier Management commands
- Network Service Descriptor Management commands
- Network Service Management commands

Implements: blueprint deprecate-legacy-apis
Change-Id: I6aa68cd1fa14a838c3058343a7a1603790c9358b
2023-11-01 10:45:04 +09:00
OpenStack Release Bot a2717e7124 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: Iba9cb480d8b9437bb1f800b559134f1eb6fbe368
2023-09-08 14:55:34 +00:00
Sairam Vengala e8460be8c5 Update metadata in setup.cfg
we are using some "aliases" that the setuptools docs say
"are supported for compatibility reasons" but their use is not advised[1].

[1] https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#metadata

please check this below reference link

[2] https://review.opendev.org/c/openstack/charm-cinder/+/854987

Change-Id: Ia24adb0fe6690a1f89fa8b1675a2c31f3f50b4b9
2023-07-07 07:44:19 +00:00
OpenStack Release Bot 863c377741 Update master for stable/2023.1
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
2023-02-24 15:18:54 +00:00
Zuul e5bd58ffe1 Merge "Extends unit test code support for merged patch" 2023-02-17 05:07:40 +00:00
Zuul 2add9e0f85 Merge "Fix list VNF/Subscription UT error" 2023-02-17 04:39:07 +00:00
Ai Hamano a41323dc1d Fix list VNF/Subscription UT error
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
2023-02-17 02:25:25 +00:00
Zuul a4e0790e75 Merge "Extra param for OpenStack type when register vim" 2023-02-16 12:07:03 +00:00
Zuul 0f9b6f5c52 Merge "Add support cnf auto scale via threshold interface" 2023-02-16 10:32:17 +00:00
kexuesheng e398f422a8 Extra param for OpenStack type when register vim
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
2023-02-16 11:07:39 +09:00
Yi Feng 8b45c8082b Add support cnf auto scale via threshold interface
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
2023-02-16 10:36:47 +09:00
psingla 6b168365d6 Extends unit test code support for merged patch
This patch extends unit test code for the
feature which is implemented in this patch
https://review.opendev.org/c/openstack/python-tackerclient/+/847746

Implements: blueprint paging-query-result
Change-Id: Ic1c23ee51ab838168577c60a3ac44b600bca2563
2023-02-15 05:49:53 +00:00
Ayumu Ueha 156deea66c Add deprecation notice for Legacy APIs
This patch deprecates CLI for Legacy APIs excluding VIM feature.

Implements: blueprint deprecate-legacy-apis
Change-Id: Ib74db43b4a3de4676e61f4f9ce6d3d2095a11ddf
2023-01-27 00:38:21 +00:00
Ayumu Ueha 82bf387f77 Fix tox4 error
Remove skipsdist that it was never supported and causes breakage
when used with usedevelop.

Change-Id: Ia0c03eaa5474f13600880dd6eca79d284bba5ca8
2023-01-12 05:08:29 +00:00
Manpreet Kaur 326d02671e Update python classifier for python 3.10
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
2022-12-15 12:21:12 +05:30
Zuul 6a13f2ecbd Merge "Switch to 2023.1 Python3 unit tests and generic template name" 2022-10-24 01:30:11 +00:00
OpenStack Release Bot 0849569507 Switch to 2023.1 Python3 unit tests and generic template name
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
2022-09-14 09:28:28 +00:00
Zuul 190dc6d581 Merge "Update master for stable/zed" 2022-09-12 17:28:18 +00:00
OpenStack Release Bot b4e49b3653 Update master for stable/zed
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
2022-09-08 15:52:48 +00:00
Koji Shimizu 80ee721263 Add docs for cnf auto heal and scale
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
2022-09-08 19:49:24 +09:00
Koji Shimizu 64d7a87670 Add support cnf auto heal and scale
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
2022-09-01 12:16:57 +00:00
Zuul 3da27cc89a Merge "Support listing all records at once with paging" 2022-09-01 01:03:51 +00:00
Koichi Edagawa 06750997e6 Support listing all records at once with paging
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
2022-08-31 17:18:24 +09:00
Zuul 52ebdc0aec Merge "Update Python-TackerClient Documentation" 2022-08-30 16:49:10 +00:00
Hirofumi Noguchi 075a327f63 Update Python-TackerClient Documentation
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
2022-08-30 21:15:56 +09:00
Hideki Matsuda fa4a66858e Support for 'extra' parameters for vim register
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
2022-08-30 10:56:39 +00:00
Zuul bfc0c8fdeb Merge "Add OpenID Connect Token Auth for k8s" 2022-08-25 09:36:16 +00:00
Yi Feng 0fcb9a59a1 Add OpenID Connect Token Auth for k8s
This patch adds openid auth info settings support when calling
vim register/update.

Implements: blueprint support-openid-k8s-vim
Change-Id: Id267050ac7adb349f562477dfc7aa6a53188b4cc
2022-08-18 12:26:30 +09:00
Ai Hamano 21f60be225 Add vnflcm subscriptions APIs
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
2022-07-21 14:56:56 +09:00
Yasufumi Ogawa 5c643d007e Add Python3 zed unit tests
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
2022-07-13 23:21:46 +00:00
OpenStack Release Bot 50c6570c51 Update master for stable/yoga
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
2022-03-03 10:51:00 +00:00
Zuul 417f27b9b8 Merge "Support ChangeVNFPackage command in tackerclient" 2022-02-25 02:32:22 +00:00
Yi Feng ab901b6466 Support ChangeVNFPackage command in tackerclient
Add ``openstack vnflcm change_vnfpkg`` to python-tackerclient. This
command can execute change current vnf package operation [1].

[1]
https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/03.03.01_60/gs_NFV-SOL003v030301p.pdf

Implements: blueprint upgrade-vnf-package
Change-Id: I0d9c88147dee3a273cb27224db6be6c91cf7fe55
2022-02-25 09:51:40 +09:00
Itsuro Oda 3724240344 Add vnflcm v2 APIs
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
2022-02-22 03:01:25 +00:00