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