61 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Manpreet Kaur
b7f27c3dc6 Update python testing classifier
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file and envlist in
tox.ini.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: Ic732cbd41691b11ae500eb9465423bb1d57c9a1e
2021-12-14 21:18:41 +05:30
Zuul
ccda0487d7 Merge "Support of Cancel VNF command in openstackclient" 2021-12-13 18:35:34 +00:00
Hiromu Asahina
6834454309 Support of Cancel VNF command in openstackclient
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>
2021-12-10 18:09:33 +09:00
Zuul
7ee70f5236 Merge "setup.cfg: Replace dashes with underscores" 2021-09-29 02:24:05 +00:00
Itsuro Oda
98789f8f9a Multi version API support
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
2021-08-31 22:24:52 +00:00
maaoyu
b6aec209fd setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: Iab9666e111d6a5c68fe0526e40189d330be0086f
2021-05-04 10:36:37 +08:00
Aldinson Esto
4e6dc4c031 CLI for Individual VNF LCM Operation Occurrence
Add ``openstack vnflcm op show <vnf-lcm-op-occ-id>``
to python-tackerclient. This command can execute the
get Individual VNF LCM Operation Occurrence by
specifying vnf-lcm-op-occ-id as parameter.

Implements: blueprint support-fundamental-lcm
https://specs.openstack.org/openstack/tacker-specs/specs/wallaby/support-fundamental-vnf-lcm-based-on-ETSI-NFV.html
Change-Id: Ibd24a2aa3ec90fbca4caabbcfb3c8a3883e4eae8
2021-03-11 09:54:10 +09:00
Aldinson Esto
6b29bb78b1 Support CLI for Getting List of VNF LCM Operation Occurrences
Add ``openstack vnflcm op list`` to python-tackerclient.
This command can execute getting the list of VNF LCM
Operation Occurrences. User can specify filters for more
specific results.

Note:
- Filtering for the following attributes:
  operationParams, error, resourceChanges and
  changedInfo is only limited to the parent
  attribute. Currently, child attributes/nested
  attributes are not searchable.

Implements: blueprint support-fundamental-lcm
Spec: https://specs.openstack.org/openstack/tacker-specs/specs/wallaby/support-fundamental-vnf-lcm-based-on-ETSI-NFV.html
Change-Id: Ie0b3399946d2a705011269025102d9380102ca92
2021-03-10 22:24:11 +09:00
Wataru Juso
1299e15f35 Support of Retry VNF command in openstackclient
Add ``openstack vnflcm op retry`` to python-tackerclient.
This command can execute Retry operation.
This API re-executes an LCM that is stopped in the FAILED_TEMP state
from where it was interrupted.

Implements: blueprint support-error-handling
Spec: https://specs.openstack.org/openstack/tacker-specs/specs/wallaby/support-error-handling-based-on-ETSI-NFV.html
Change-Id: I6731d0bcbcd5a4e597596e63c2cd883b3897a145
2021-03-10 11:14:11 +09:00
Wataru Juso
cfe14110d1 Support CLI of Change External VNF Connectivity
Add ``openstack vnflcm op chg-ext-conn`` to python-tackerclient.
This command can execute Change external VNF Connectivity operation.
This API can change VL setting.

Implements: blueprint support-change-external-connectivity
Spec: https://specs.openstack.org/openstack/tacker-specs/specs/wallaby/support-change-external-VNF-connectivity-operation.html
Change-Id: I3a935296646361032665082a4060bc21ff51c1b1
2021-03-10 09:54:49 +09:00
Wataru Juso
58167535c7 Support of Fail VNF command in openstackclient
Add ``openstack vnflcm op fail`` to python-tackerclient.
This command can execute Fail operation.
The API can change operationStatus from "FAILED_TEMP" to "FAILED".

Implements: blueprint support-error-handling
Spec: https://specs.openstack.org/openstack/tacker-specs/specs/wallaby/support-error-handling-based-on-ETSI-NFV.html
Change-Id: I83395e159e28c7e831dfe0ecd90435b3fb18c196
2021-03-08 09:26:29 +09:00
Koichi Edagawa
8ff2f35476 Support of RollbackVNF command in openstackclient
Supported RollbackVNF command in OpenStack Tacker Client.

Co-Authored-By: Yasufumi Ogawa <yasufum.o@gmail.com>
Implements: blueprint support-etsi-nfv-specs
Change-Id: If3d717b487f653ef98196149c4c849ddac69ec95
2020-09-15 18:35:09 +00:00
Zuul
2a95e61abf Merge "Implementation Artifacts support in Tacker" 2020-09-15 18:04:29 +00:00
LiangLu
9cd8f11d83 Implementation Artifacts support in Tacker
Implements: bp/add-artifacts-vnf-packages

* python-tackerclient

  * Modify ``vnf package show`` command to display ``additionalArtifacts``
    information.
  * Add new OSC command ``vnf package artifact`` to fetch individual artifact
    in an on-boarded VNF package.

Change-Id: Id0694724f2f2e335c14824bc5ca5bf2e67ac4b96
2020-09-14 07:35:55 -04:00
Aldinson Esto
d7f7ea35d2 Support of Scale command in openstackclient
Supported Scale command in Openstack Tacker Client.

Implements: blueprint support-etsi-nfv-specs

Change-Id: I27b670c0aaa0c9b9cbce6ae44e03e5ba6234beb5
2020-09-14 12:13:31 +09:00
Koichi Edagawa
60c268f04d Support of UpdateVNF command in openstackclient
Supported UpdateVNF command in OpenStack Tacker Client.

Change-Id: I20435547e6072c4ca14a5d2cccd7ab77bfea08f8
2020-09-03 11:17:27 +09:00
Shubham Potale
ac02653f21 Add command to read vnfd of vnf package API
Added command support for fetching VNFD of the vnf package.

Please see results here:-
http://paste.openstack.org/show/789212/

Change-Id: Ifa15ddf7ff306ed2705cf7a170d9e9f512491fba
Implements: bp enhance-vnf-package-support-part1
2020-04-09 07:21:06 +00:00
Shubham Potale
af4d8343ad Add command for update vnf package API
Added command support for updating vnf package.

Please see results here:-
http://paste.openstack.org/show/788463

Change-Id: I0cd32d531db569b7013332fcfaaaefde403e7aed
Implements: bp enhance-vnf-package-support-part1
2020-04-09 07:05:54 +00:00
Andreas Jaeger
30ec46337b Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: Id4de4bb72bd40cdcd9eef53fe9ea9dba855c0a5a
2020-04-04 17:15:39 +02:00
Shubham Potale
5581c3513f OSC support to heal vnf
Added a new command ``openstack vnflcm heal`` to heal vnf
instance.

Blueprint: support-etsi-nfv-specs
Change-Id: I31165e1def0a53a56e1fcefd1877630712bfab5e
2020-03-31 12:03:01 +00:00
Shubham Potale
9c7708bd53 OSC support to list vnfs
Added a new command ``openstack vnflcm list`` to list the vnf instances.

Blueprint: support-etsi-nfv-specs
Change-Id: I4ef7ac0dd4d4744c74ceb13df6b4438a090ac72a
2020-03-31 12:02:09 +00:00
Shubham Potale
c3a8f25947 OSC support to delete and terminate vnf
Added new commands ``openstack vnflcm delete`` and
``openstack vnflcm terminate``.

Blueprint: support-etsi-nfv-specs
Change-Id: I72ea99c2149621428a34403504f28f9e9b1a3719
2020-03-31 12:01:57 +00:00
Shubham Potale
eae2c896cd OSC support to instantiate and show vnf
Added new commands ``openstack vnflcm instantiate`` and
``openstack vnflcm show``.

Blueprint: support-etsi-nfv-specs
Change-Id: I528e20be6ec01c61b5ca6d646972a9ae22f1c158
2020-03-31 12:01:28 +00:00
Shubham Potale
66efce28d4 OSC support to create vnf using vnflcm API
Added a new command ``openstack vnflcm create`` to create a new vnf.

Blueprint: support-etsi-nfv-specs
Change-Id: Ia90955df6ac141661c3d58e4de4e098c4cb51aab
2020-03-14 11:19:50 +05:30
Ghanshyam Mann
5ff4c334e9 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

python-tackerclient is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

Change-Id: I74266f66cd9755208ddc2cc3a36c103c2bb95555
2019-12-13 23:46:06 +00:00
Shubham Potale
ffaf88505a Add command for upload vnf package API
Added support vnf package upload command and their unit test cases.

Please see result here.
http://paste.openstack.org/show/766299/

Change-Id: I88da4e209413a00d52c73fc83983ed2f5fd273c6
Implements: bp tosca-csar-mgmt-driver
2019-09-13 10:34:12 +00:00
Shubham Potale
11e23eed22 Add commands for list, show and delete vnf package API's
Added support for below three commands and their unit test cases.
1.vnf package list
2.vnf package show
3.vnf package delete

Please see results here
http://paste.openstack.org/show/774848/

Change-Id: I47e3e99a42aa36ab286fa01802999deb964a168f
Implements: bp tosca-csar-mgmt-driver
2019-09-13 10:32:19 +00:00
Shubham Potale
9940682bc8 OSC support for VNF package APIs
Added support vnf package create command and their unit test cases.

Please see the results here:
http://paste.openstack.org/show/775422/

Change-Id: Idf59847aaf33e360dae696eae819d217ae63570f
Implements: bp tosca-csar-mgmt-driver
2019-09-13 10:27:48 +00:00
pengyuesheng
a1667a9f58 Add Python 3 Train unit tests
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Story: #2005924
Task: #34237

Change-Id: I32e05c3b0013dd3cb066f660a43ffd5b7896bd26
2019-08-02 11:12:11 +08:00
dharmendra
6fd2d466ca Drop py35 jobs
Python 3.5 was the target runtime for the Rocky release. The current
target py3 runtime for Stein is Python 3.6, so there is no reason to
keep testing against the older version.

https://governance.openstack.org/tc/reference/runtimes/stein.html#python-runtime-for-stein

Change-Id: I136f092985be2d05ce933230add5f78469234b14
2019-04-30 09:24:30 +00:00
Zuul
1763a4b392 Merge "Add Python 3.6 classifier to setup.cfg" 2019-01-14 15:29:58 +00:00
prankul mahajan
16454d5e4c Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces
openstack-dev.

Change-Id: Ib23199e1de96ae222e16771dc97ecaefaf5b66bc
2018-12-04 11:37:43 +05:30
qingszhao
023373c934 Add Python 3.6 classifier to setup.cfg
Change-Id: If7af362ce8dca4ae0decacb487501b631567660f
2018-11-30 07:33:38 +00:00
Nguyen Hai
9ff673557e Update homepage link in setup.cfg
This patch also adds a note about deprecation of 'tacker' command line.

This patch also remove redundant section in setup.cfg related to
building docs.
See: http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: Ic8206eeef5c2cdb75834011eede48fa8b998481a
2018-06-19 17:57:14 +09:00
dharmendra
e40b9c8a47 Complete VNF osc commands
Please see the results here:
http://paste.openstack.org/show/696708/
http://paste.openstack.org/show/699455/ (list commands)

Change-Id: Iea353ef119710660e19fd4d8f209ebe500cd0afe
Implements: blueprint tacker-support-python-openstackclient
Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
2018-03-13 18:42:20 +09:00
Nguyen Hai
e3b3d7e50c Add documentation for python-tackerclient
This patch also fix "InterpreterNotFound: pypy" error in tox.ini

This patch also follow the new PTI for document build [1][2]

[1] https://governance.openstack.org/tc/reference/project-testing-interface.html
[2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I9fb6637cb95603532b46f89dc4beab185278c833
Closes-bug: #1754556
Closes-bug: #1754926
2018-03-13 12:13:51 +09:00
Nguyen Hai
30bd8ffd1a Complete VNFFG & related VNFFG osc commands
openstack vnf graph
openstack vnf chain
openstack vnf classifier
openstack vnf network forwarding path

Please see the results here:
http://paste.openstack.org/show/684261/

Change-Id: I02c18a460eb412af76d1aa1c77102ba92e174566
Implements: blueprint tacker-support-python-openstackclient
2018-03-03 22:25:21 +09:00
Nguyen Hai
09c13e1c5d Complete NS osc commands
Please see the results here:
http://paste.openstack.org/show/686780/

Change-Id: If71aa334bc988eba7939b5d55692d80530ba0bba
Implements: blueprint tacker-support-python-openstackclient
2018-03-01 01:48:49 +09:00
Nguyen Hai
7a13c3ce96 Complete Event osc commands
Please see the results here:
http://paste.openstack.org/show/683041/

Change-Id: Ib6b35b5757fb63465e0f587e47c122313b909720
Implements: blueprint tacker-support-python-openstackclient
2018-02-28 23:11:54 +09:00
Nguyen Hai
75b316ae51 Complete NSD osc commands
Please see the results here:
http://paste.openstack.org/show/680416/

Change-Id: I9abbd140cdbe0a8245d7903c5c7e90b61f92eeee
Implements: blueprint tacker-support-python-openstackclient
2018-02-28 15:40:59 +09:00
Nguyen Hai
d967a881aa Complete VNFFGD osc commands
Please see the results here:
http://paste.openstack.org/show/680427/

Change-Id: I800c71a2c2cf5d1710ed6b4c9e4d5b63b31ced4f
Implements: blueprint tacker-support-python-openstackclient
2018-02-22 23:08:45 +09:00