From ef0a594c91ad93176e1e19740ef2a46bbf5a8d16 Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Wed, 13 Sep 2017 16:52:28 +0530 Subject: 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 --- .../services/vf-module-delete-schema-1.1.yaml | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 plugins/so/src/main/resources/onap-cli-schema/services/vf-module-delete-schema-1.1.yaml (limited to 'plugins/so/src/main') 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 -- cgit 1.2.3-korg