Update vfc cli
[cli.git] / products / onap-dublin / features / vfc / src / main / resources / open-cli-schema / nslcm / vfc-nslcm-sol005-delete-schema.yaml
1 # Copyright (c) 2019, CMCC Technologies Co., Ltd.
2 # Licensed under the Apache License, Version 2.0 (the "License")
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 #
6 #       http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 open_cli_schema_version: 1.0
15 name: vfc-nslcm-sol-delete
16 description: vfc nslcm delete ns in sol005 api
17
18 info:
19   product: onap-dublin
20   service: vfc
21   author: ONAP VFC Team (yangyanyj@chinamobile.com)
22
23 parameters:
24   - name: ns-instance-id
25     description: ns's instance id
26     type: string
27     short_option: c
28     long_option: ns-instance-id
29     is_optional: false
30
31 http:
32   service:
33     auth: none
34     mode: direct
35   request:
36     uri: /api/nslcm/v1/ns_instances/${ns-instance-id}
37     method: DELETE
38     context:
39       remove_empty_node: true
40     body: '{}'
41     headers:
42       Content-Type: application/json
43       Accept: application/json
44   success_codes:
45     - 204