457 Commits

Author SHA1 Message Date
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
Zuul
e712c255d0 Merge "Show proper error message for non-existing vnf package" 1.0.0 2020-01-21 02:40:41 +00:00
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
727129d958 Show proper error message for non-existing vnf package
When you pass non-existing vnf package uuid to ``vnf package upload``
command as shown below, it doesn't show user-friendly message as it's
shown in case ``vnf package show`` command.

  $openstack vnf package upload --path sample_vnf_pkg.zip dummy-id
  "404-tackerFault"

This patch fixes this issue and now it will output below error message:

  $openstack vnf package upload --path sample_vnf_pkg.zip dummy-id
  Can not find requested vnf package: dummy-id

Change-Id: I84de0140463d6bd834d3bcc22f6a6cea1fef9130
Closes-Bug: #1799683
2019-10-16 14:50:21 +05:30
Zuul
1d375bd49e Merge "Update master for stable/train" 2019-09-23 05:51:34 +00:00
Zuul
842cb75c53 Merge "fix:"openstack vnf set" command can't execute" 2019-09-22 14:20:47 +00:00
772f94b3e1 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

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

Change-Id: Id8f93c185c7f4c5516e547f7d240a749fa4d2982
Sem-Ver: feature
2019-09-20 17:43:24 +00:00
Zuul
4bcde28490 Merge "fix:osc scale is failed." 2019-09-20 17:09:07 +00:00
Zuul
334c8e8994 Merge "Blacklist sphinx 2.1.0 (autodoc bug)" 2019-09-20 17:04:23 +00:00
nirajsingh
31b7690858 Add restFul methods to fix backward compatibility issue
Tacker functional tests and applications using old version
of tackerclient might be using post/get/delete/put/list
method interfaces provided by Client in their applications.
These interfaces were removed in the recent changes [1]
because of which tacker tests are failing.

Added post/delete/put/get/list methods back to the Client class.

[1] : https://review.opendev.org/#/c/679956

Closes-Bug: #1844625

Change-Id: I803298dbc16dea9e58ec2a0a5fe3afe431c8532c
2019-09-20 06:04:00 +00:00
Shubham Potale
edb7dad611 Add documentation for VNF Package commands
Added reference documentation for below vnf package commands.
1)vnf package create
2)vnf package list
3)vnf package show
4)vnf package upload
5)vnf package delete

Change-Id: Iad2536e81a6f419e25a4b6fd98b7b74ef0d965cd
Implements: bp tosca-csar-mgmt-driver
0.16.0
2019-09-13 10:34:41 +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
Zuul
0edfda9171 Merge "Add Python 3 Train unit tests" 2019-09-06 08:03:05 +00:00
Hiroya Nakaya
9a1020fc84 fix:"openstack vnf set" command can't execute
internal function's args is wrong.

Closes-Bug: #1839232

Change-Id: Iea1becdc0ee5dea3a94d843c558f28bce38e4d1c
2019-08-07 04:51:13 +00:00
pengyuesheng
d9f7ea1a5f Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details

Change-Id: I75c4e678992dbded8653a00b6a7b38730d0b13c8
2019-08-02 11:13:54 +08: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
1e280fb1fe Adds support force delete for NS.
This patch adds '--force' parameter to NS delete command, to delete NS
forcefully.

blueprint force-delete-resources

Change-Id: I7d8eb7ae63f9e43da37701e3e8312e650ea5bd3c
2019-07-30 11:05:30 +00:00
Hiroya Nakaya
983a2402a4 fix:osc scale is failed.
parameter which isn't used is removed.
changed Command type.

Closes-Bug:#1834548

Change-Id: Id884f9ebd26f311ebc213bcadff6019aaee5cd3a
2019-07-26 04:48:25 +00:00
jacky06
47996394b3 Replace git.openstack.org URLs with opendev.org URLs
1. Replace git.openstack.org URLs with opendev.org URLs
2. Update some urls

Change-Id: Icf9a7857be01056c0967fed0c777f2f46a993b6c
2019-06-19 15:48:59 +08:00
dharmendra
08b8922c49 update sphinx requirement
syncs sphinx dependency with global requirements.
It caps python 2 since sphinx 2.0 no longer supports Python 2.7.

Change-Id: Ic909ffca550329c8ba23e4ffe9f18f601d674a3b
2019-05-16 07:25:42 +00:00
Zuul
4921a75cd2 Merge "Drop py35 jobs" 2019-05-02 09:13:16 +00: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
OpenDev Sysadmins
11c49bc027 OpenDev Migration Patch
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.
2019-04-19 19:32:16 +00:00
4469984763 Update master for stable/stein
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: I33c314ef84413b42ae5572a927a874d508eb27e4
Sem-Ver: feature
2019-03-18 14:55:54 +00:00
Zuul
c62beecc1f Merge "Update hacking version" 2019-03-18 11:22:01 +00:00
Zuul
8f84ee183b Merge "add python 3.7 unit test job" 2019-03-18 11:12:25 +00:00
Zuul
c7d27fc74f Merge "Add upper-constraints.txt to releasenotes tox environment" 2019-03-18 06:48:53 +00:00
jacky06
ab9aa0da69 Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: I9596666d9bac8efae8ae22e027aca49a432069dc
2019-03-06 22:28:37 +08:00
ZhongShengping
fcd8965f6a add python 3.7 unit test job
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: I121b0d1b2c217c14c6589455c0155f975f7793a7
Story: #2004073
Task: #27456
2019-02-19 17:05:51 +08:00
Zuul
f4839f308a Merge "Adds support force delete resources" 0.15.0 stein-em 2019-02-12 08:35:42 +00:00
98k
6cb5d3c704 Add upper-constraints.txt to releasenotes tox environment
Without these dependencies, the releasenotes build does not actually
work.

Change-Id: Iabae8a5730d934473a36d9e2bc83a7005c1aca17
2019-02-11 05:53:32 +00:00
dharmendra
1fdf521ba9 Parameter changed from mgmt_url to mgmt_ip_address
In continuation of [1], fixing the same in tackerclient.
[1]: https://review.openstack.org/#/c/490471

Change-Id: I45dfe784e20f96cff12e346d34b1cce856a564db
2019-02-04 09:20:48 +00:00
Zuul
b5010b16e3 Merge "Use template for lower-constraints" 2019-01-16 02:16:26 +00:00
Zuul
0454016b6f Merge "Add python 3.6 unit test job" 2019-01-16 02:16:25 +00:00
Zuul
1763a4b392 Merge "Add Python 3.6 classifier to setup.cfg" 2019-01-14 15:29:58 +00:00
Vieri
2b87f41944 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 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: I6e5e543f2fcbeda881c506a34e6f55bcb3560c5b
Story: #2002586
2019-01-14 13:55:44 +00:00
Andreas Jaeger
417dfa0aa6 Use template for lower-constraints
Small cleanups:

* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates

Change-Id: I50707932b24d0935f1cd04c334ff655e5d62a4fa
Needed-By: https://review.openstack.org/623229
2018-12-20 21:53:29 +01: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
Cong Phuoc Hoang
66794e007b Adds support force delete resources
This patch adds '--force' parameter to vnf delete command,
to force delete VNF instances.

e.g: openstack vnf delete --force VNF1

blueprint force-delete-resources

Change-Id: I20aee4ecb66643dfa5fad490956d898f7e851411
2018-11-28 10:25:44 +09:00
Nguyen Hai Truong
c4e310859b Add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 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: I49e69314bd4e9ca2e4327cce878c1831a95b1df8
2018-11-06 17:42:34 -08:00
Nguyen Hai
71e0b047c8 Remove tacker command guide in docs
Tacker command is deprecated after Rocky release.

Change-Id: Ia71041edb4a3971483200fa3091fc58ea4dd0190
2018-09-04 21:39:52 +09:00
Nguyen Hai
b7023b38d3 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs 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: Id01cdc06dd23fa98dbcb8706c2751315e75fd29f
Story: #2002586
Task: #24324
2018-08-17 20:15:37 +09:00
Nguyen Hai
67081192b7 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I64b476cc4fdb1da25c79341d49e25ab4715062dc
Story: #2002586
Task: #24324
2018-08-17 20:14:58 +09:00