eef8b4ce50557a097383c2ee0163e5f6ba6897fa
[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-list\r
17 description: Lists the logic-link\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 results:\r
25   direction: landscape\r
26   attributes:\r
27     - name: logic-link-name\r
28       description: Onap logic-link name\r
29       scope: short\r
30       type: string\r
31     - name: logic-link-id\r
32       description: Onap logic-link id\r
33       scope: short\r
34       type: string\r
35     - name: in-maint\r
36       description: Onap in-maint\r
37       scope: short\r
38       type: string\r
39     - name: speed-value\r
40       description: Onap speed-value \r
41       scope: short\r
42       type: string\r
43     - name: speed-units\r
44       description: Onap speed-units \r
45       scope: short\r
46       type: string\r
47     - name: prov-status\r
48       description: Onap prov-status \r
49       scope: short\r
50       type: string\r
51     - name: link-role\r
52       description: Onap link-role \r
53       scope: short\r
54       type: string\r
55     - name: resource-version\r
56       description: Onap resource-version\r
57       scope: short\r
58       type: string\r
59 http:\r
60   service:\r
61     auth: basic\r
62     mode: direct\r
63   request:\r
64     uri: /aai/v11/network/logical-links/\r
65     method: GET\r
66   success_codes:\r
67     - 200\r
68   result_map:\r
69     logic-link-name: $b{logical-link.[*].link-name}\r
70     logic-link-id: $b{logical-link.[*].link-id}\r
71     in-maint: $b{logical-link.[*].in-maint}\r
72     speed-value: $b{logical-link.[*].speed-value}\r
73     speed-units: $b{logical-link.[*].speed-units}\r
74     prov-status: $b{logical-link.[*].prov-status}\r
75     link-role: $b{logical-link.[*].link-role}\r
76     resource-version: $b{logical-link.[*].resource-version}\r