Commit Graph

18 Commits

Author SHA1 Message Date
ajay.parja
c74cad521c Add VNF package update API
Added API to update information of VNF package.

Implemented below API:-

* PATCH /vnf_packages/{vnfPkgId}

Co-authored-by: Shubham Potale <shubham.potale@nttdata.com>
Change-Id: I6d60e87b48a6703362dcd30975f300f524f8ca7a
Implements: bp enhance-vnf-package-support-part1
2020-04-14 00:37:10 +00:00
tpatil
33f92086f4 Delete vnf package if operationalState is DISABLED
Presently, vnf package can be deleted when it's operationalState is
'ENABLED'.

As per pre-condition rule, vnf package can be deleted only when
it's operationalState is 'DISABLED' and it's usageState is 'NOT_IN_USE.

This patch fixes this issue and now vnf package will be deleted only
when it's operationalState is 'DISABLED' and it's usageState is 'NOT_IN_USE.

Note: I have fixed windows style line ending issue in vnf_packages.inc.
Also, updated 'Delete VNF Package' API doc to include 409 error.

Change-Id: Id4d50264d1052a09e6ce527b6aab1bb941fdc6af
Closes-Bug: #1862864
2020-02-19 05:30:47 +00:00
Shubham Potale
938262073f Delete VNF should fail with 409 error
If user deletes VNF in "PENDING_CREATE" status, VNF is deleted from
tacker but the resources created by VIM driver are not cleaned up
properly. This patch doesn't allow VNF to be deleted if the status is
in "PENDING_CREATE" status. It will raise 409 error.

APIImpact
Return 409 error instead of 200 when VNF is deleted in
"PENDING_CREATE" status.

Change-Id: I2de9c3dce5a4b3795119e2550aa8acea68940c45
Closes-Bug: #1798726
2020-01-31 13:54:49 +05:30
bhagyashris
d7ca6c5f9b Add vnf packages documentation
Following are the list of documents updated for vnf package feature
usage:

1. api-reference document
2. release notes

Partial-Implements: blueprint tosca-csar-mgmt-driver
Change-Id: I82fc2e9d3f39e78b24eeb8034b0f611798c1aeb8
2019-09-20 12:26:11 +05:30
venkatamahesh
5a1e4a1ccb Parameter changed from mgmt_url to mgmt_ip_address
At present the VNF mgmt IP address is assigned to parameter name
of "mgmt_url". In this patch it is changed to "mgmt_ip_address"
which will be relevant one

Co-Authored-By: Dharmendra Kushwaha <dharmendra.kushwaha@india.nec.com>

Change-Id: I621b71d4af96a4bfa0f27442efe4d302c5afa96d
Partial-Bug: #1648327
2019-01-31 10:08:17 +00:00
Nguyen Hai
f16ac7c79f Update cirros to 0.4.0
Change-Id: Ie4ff403f803a16ca53c91c7d10d71ec80fbe1a9b
2018-07-25 01:42:48 +00:00
Yan Xing'an
fa4fa99945 Update vims api-ref for rocky
update the api doc of create/list/show/update-vim

Closes-bug: #1777549
Partially Implements: blueprint update-api-ref-for-rocky

Change-Id: Ie796d2024e30191d0724053273c8df6c2b806821
2018-06-19 10:48:19 +08:00
Hangdong Zhang
81ef082047 Update the documentation link for doc migration
Change-Id: I99e2e1872d30bf592233d60e381a017175fab4f1
2017-07-25 14:28:37 +08:00
Cong Phuoc Hoang
d62364cbff Update creating directly VNFFG and NS from descriptor template.
Currently, Tacker only support creating VNFFG and NS from VNFFG descriptor
and NS descriptor. This patch will support creating directy VNFFG and NS
from template file without initiating VNFFG and NS descriptors before.

Change-Id: I4e8ec8405a291300aa6749cf814ad582786c285d
Closes-bug: #1681032
2017-07-19 21:57:45 -07:00
doantungbk
72d7af1d6a Separating tosca driver out from VNFM
This patch is expected to have the separation of tosca driver
in the future.

Implements blueprint: #tosca-engine

Change-Id: Ieab0964f9a5936611a9b2288f2d6d44a42a725de
2017-03-29 00:33:37 -07:00
yong sheng gong
8166b1a8a5 move the left cirros 3.4 into 3.5 disk image
Change-Id: Iac12c44e9bc83d96b81d642a9eaa044415759914
Closes-Bug: #1671982
2017-03-26 12:31:26 +08:00
Jenkins
54a4985ba3 Merge "api-ref for nsd, ns" 2017-02-13 16:52:05 +00:00
dharmendra
b633045120 api-ref for nsd, ns
Change-Id: Iafd840923bd98bd5b07fe12e57d5d7180a5afbca
2017-02-13 11:25:49 +05:30
janki
a3ea91d124 Support VNF create from inline template
Accept transient VNFD template as part of VNF creation without
need for VNFD onboarding into Tacker VNFD catalog.

Change-Id: I3c8bbe139dec27adbfc943d3ac9f909db8097f89
Implements: blueprint vnf-inline-template
Depends-On: I719237dd04dd7fe13fb7e7964402d7074679b2d6
2017-02-08 05:59:45 +05:30
janki
eecbc5e3ea Update api-ref rest parameters
api-ref tests are failing due to few parameters missing in rest_parameters stanza.

Change-Id: I30ffcdbd0f4f3830a3481d7f6495c6cf67a947b1
Closes-Bug: #1660315
2017-01-30 12:22:27 +05:30
janki
dc7426f03a Update API Ref guide
Update API ref guide to remove infra amd mgmt drivers information from the APIs.

Change-Id: Ice91d2fa16b42a171ce5735c2e27eb4df5346156
Partial-Bug: #1630936
2017-01-06 08:15:28 +00:00
Naoya Harada
4a0b5c4569 API reference documentation
This patch follows on api-ref skeleton [1] and brings the
NFV Orchestration API reference content to the repository.
It is a part of the effort described in [2].

[1] https://review.openstack.org/#/c/332183
[2] https://wiki.openstack.org/wiki/Documentation/Migrate#API_Reference_Plan

Change-Id: Ia2d91adb33f10df9073de74eb82cc19be29a3da2
2016-12-01 14:17:47 +09:00
Sridhar Ramaswamy
dcd5e78ec4 Initial api-ref skeleton for Tacker
This patch is the first step to bring the NFV Orchestration
API Reference to the repository.
It is a part of the effort described here [1]:

[1] https://wiki.openstack.org/wiki/Documentation/Migrate#API_Reference_Plan

Once this skeleton patch is merged, an api-ref job can be added to
the gate. The gate job makes it much easier to review API Reference
contents, which will be brought by follow-on patches.

Change-Id: I7cc587f2c7b3c546be9cd11bad7e3b4eeacad171
Co-Authored-By: Naoya Harada <n-harada@vx.jp.nec.com>
2016-11-15 16:25:00 +09:00