diff options
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2017-09-13 16:52:28 +0530 |
---|---|---|
committer | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2017-09-21 19:43:24 +0530 |
commit | ef0a594c91ad93176e1e19740ef2a46bbf5a8d16 (patch) | |
tree | f2d43cb39ca97465c39d6a232beafa7265261589 /plugins/so/src/main/resources | |
parent | 89e032445521d50537886c0e413605bade1b321e (diff) |
Implement CLI for VF module delete
Implement CLI for VF module delete.
Change-Id: I3432db598e90fdb565467b793f20e00dec72cd11
Issue-ID: CLI-15
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'plugins/so/src/main/resources')
-rw-r--r-- | plugins/so/src/main/resources/onap-cli-schema/services/vf-module-delete-schema-1.1.yaml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/plugins/so/src/main/resources/onap-cli-schema/services/vf-module-delete-schema-1.1.yaml b/plugins/so/src/main/resources/onap-cli-schema/services/vf-module-delete-schema-1.1.yaml new file mode 100644 index 00000000..0ea7c321 --- /dev/null +++ b/plugins/so/src/main/resources/onap-cli-schema/services/vf-module-delete-schema-1.1.yaml @@ -0,0 +1,50 @@ +open_cli_schema_version: 1.0 +name: vf-module-delete +description: delete a VF module +version: onap-1.1 +service: + name: mso + version: v2 + auth: basic + mode: direct + +parameters: + - name: vnf-instance-id + description: id for vnf + type: string + short_option: x + long_option: vnf-instace-id + is_optional: false + - name: service-instance-id + description: unique id for service instance + type: string + short_option: y + long_option: service-instace-id + is_optional: false + - name: vf-module-id + description: vf module id + type: string + short_option: w + long_option: vf-module-id + is_optional: false + - name: lcp-cloudregion-id + description: AIC LCP node location identifier + type: string + short_option: l + long_option: lcp-cloudregion-id + is_optional: false + - name: tenant-id + description: openstack tenant id (uuid) + type: string + short_option: z + long_option: tenant-id + is_optional: false + +http: + request: + uri: ecomp/mso/infra/serviceInstances/v2/${service-instance-id}/vnfs/${vnf-instance-id}/vfModules/${vf-module-id} + method: DELETE + body: '{"requestDetails":{"modelInfo":{"modelType":"vfModule","modelInvariantId":"ff5256d2-5a33-55df-13ab-12abad84e7ff","modelName":"vSAMP12..base..module-0","modelVersion":"1"},"cloudConfiguration":{"lcpCloudRegionId":"${lcp-cloudregion-id}","tenantId":"${tenant-id}"},"requestInfo":{"source":"VID"}}}' + + success_codes: + - 202
\ No newline at end of file |