bb82f499615e3e2ba0e8ce4aea597e142b4757f2
[cli.git] /
1 # Copyright 2018 Huawei Technologies Co., Ltd.\r
2 #\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
6 #\r
7 #     http://www.apache.org/licenses/LICENSE-2.0\r
8 #\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
14 \r
15 open_cli_schema_version: 1.0\r
16 name: logic-link-delete\r
17 description: Delete logic-link-delete from Onap\r
18 \r
19 info:\r
20   product: onap-beijing\r
21   service: aai\r
22   author: ONAP CLI Team onap-discuss@lists.onap.org\r
23 \r
24 \r
25 parameters:\r
26   - name: logic-link-name\r
27     description: Onap logic-link name\r
28     type: string\r
29     short_option: n\r
30     long_option: logic-link-name\r
31     is_optional: false\r
32   - name: resource-version\r
33     description: Onap logic-link-name resource version\r
34     type: uuid\r
35     short_option: b\r
36     long_option: resource-version\r
37     is_optional: false\r
38 http:\r
39   service:\r
40     auth: basic\r
41     mode: direct\r
42   request:\r
43     uri: /aai/v11/network/pnfs/pnf/${logic-link-name}?resource-version=${resource-version}\r
44     method: DELETE\r
45   success_codes:\r
46     - 204\r
47     - 404\r