8a50f4f2a80f4dd1ad7090bd193eb5315ebef60f
[cli.git] /
1 open_cli_schema_version: 1.0
2 name: service2vf-model-list
3 description: List the VF in a given service model in SDC
4
5 info:
6   product: onap-amsterdam
7   service: sdc
8   author: ONAP CLI Team onap-discuss@lists.onap.org
9
10
11 parameters:
12   - name: service-model-id
13     description: Service model uuid
14     type: string
15     short_option: z
16     long_option: service-model-id
17     is_optional: false
18
19 results:
20   direction: landscape
21   attributes:
22     - name: vf-uuid
23       description: UUID
24       type: string
25       scope: short
26     - name: vf-name
27       description: name
28       type: string
29       scope: short
30     - name: vf-customization-uuid
31       description: customization UUID
32       type: string
33       scope: short
34     - name: vf-version
35       description: version
36       type: string
37       scope: short
38
39 http:
40   service:
41     name: sdc
42     version: v1.0
43     auth: basic
44     mode: direct
45   request:
46     uri: /sdc2/rest/v1/catalog/services/${service-model-id}
47     method: GET
48   success_codes:
49     - 200
50   result_map:
51     vf-uuid: $b{componentInstances.[*].componentUid}
52     vf-name: $b{componentInstances.[*].componentName}
53     vf-version: $b{componentInstances.[*].componentVersion}
54     vf-customization-uuid: $b{componentInstances.[*].customizationUUID}