e05b1a3001564a15d6d0fd58968a7eb39c7a5ab0
[cli.git] /
1 # Copyright © Intel Corporation 2019
2 #
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
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
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.
14
15 open_cli_schema_version: 1.0
16 name: vf-model-list
17 description: List the VF resource model in SDC
18
19 info:
20   product: onap-elalto
21   service: sdc.catalog
22   author: ONAP CLI Team onap-discuss@lists.onap.org
23
24
25 results:
26   direction: landscape
27   attributes:
28     - name: uuid
29       description: UUID
30       type: string
31       scope: short
32     - name: id
33       description: id
34       type: string
35       scope: short
36     - name: invariant-uuid
37       description: Invariant UUID
38       type: string
39       scope: short
40     - name: name
41       description: Name
42       type: string
43       scope: short
44     - name: version
45       description: version
46       type: string
47       scope: short
48     - name: status
49       description: status
50       type: string
51       scope: short
52     - name: description
53       description: description
54       type: string
55       scope: long
56     - name: vsp-uuid
57       description: VSP uuid
58       type: string
59       scope: long
60     - name: vsp-version
61       description: VSP version
62       type: string
63       scope: long
64 http:
65   service:
66     name: sdc
67     version: v1.0
68     auth: basic
69     mode: direct
70   request:
71     uri: /sdc2/rest/v1/followed
72     method: GET
73   success_codes:
74     - 200
75   result_map:
76     uuid: $b{resources.[*].uuid}
77     id: $b{resources.[*].uniqueId}
78     invariant-uuid: $b{resources.[*].invariantUUID}
79     version: $b{resources.[*].version}
80     name: $b{resources.[*].name}
81     status: $b{resources.[*].lifecycleState}
82     description: $b{resources.[*].description}
83     vsp-uuid: $b{resources.[*].csarUUID}
84     vsp-version: $b{resources.[*].csarVersion}