1 # Copyright 2017-18 Huawei Technologies Co., Ltd.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 open_cli_schema_version: 1.0
18 description: delete a VF module (experimental)
21 product: onap-amsterdam
23 author: ONAP CLI Team onap-discuss@lists.onap.org
27 description: VF module Id
30 long_option: vfmodule-id
33 description: unique id for service
36 long_option: service-id
39 description: unique id for related VF
44 - name: vf-model-invariant-id
45 description: vf model invariant id
48 long_option: vf-model-invariant-id
51 description: vfmodule model name
54 long_option: vfmodule-name
56 - name: vfmodule-version
57 description: vf module version
60 long_option: vfmodule-version
63 description: cloud region identifier
66 long_option: cloud-region
69 description: openstack tenant id
71 long_option: tenant-id
82 uri: /ecomp/mso/infra/serviceInstances/v3/${service-id}/vnfs/${vf-id}/vfModules/${vfmodule-id}
84 body: '{"requestDetails":{"modelInfo":{"modelType":"vfModule","modelInvariantId":"${vf-model-invariant-id}","modelName":"${vfmodule-name}","modelVersion":"${vfmodule-version}"},"cloudConfiguration":{"lcpCloudRegionId":"${cloud-region}","tenantId":"${tenant-id}"},"requestInfo":{"source":"VID"}}}'