66b1754da80cade7e35c4d047ef5c6f6d614237e
[cli.git] /
1 # Copyright 2019 Huawei Technologies Co., Ltd.
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: complex-list
17 description: List the configured complexes
18
19 info:
20   product: onap-elalto
21   service: aai
22   author: ONAP HPA Integration Team (itohan.ukponmwan@intel.com)
23
24 results:
25   direction: landscape
26   attributes:
27     - name: complex-name
28       description: onap complex
29       scope: short
30       type: string
31     - name: physical-location-id
32       description: onap complex location id
33       scope: long
34       type: string
35     - name: data-center-code
36       description: data center code
37       scope: short
38       type: string
39     - name: identity-url
40       description: identity url
41       scope: long
42       type: string
43     - name: resource-version
44       description: complex resource version
45       scope: short
46       type: string
47     - name: physical-location-type
48       description: physical location type
49       scope: long
50       type: string
51     - name: street1
52       description: onap complex street1
53       scope: long
54       type: string
55     - name: street2
56       description: onap complex street2
57       scope: long
58       type: string
59     - name: city
60       description: onap complex city
61       scope: long
62       type: string
63     - name: state
64       description: onap complex state
65       scope: long
66       type: string
67     - name: postal-code
68       description: onap complex postal code
69       scope: long
70       type: string
71     - name: country
72       description: onap complex country
73       scope: short
74       type: string
75     - name: region
76       description: onap complex region
77       scope: short
78       type: string
79     - name: latitude
80       description: onap complex latitude
81       scope: short
82       type: string
83     - name: longitude
84       description: onap complex longitude
85       scope: short
86       type: string
87     - name: elevation
88       description: onap complex elevation
89       scope: short
90       type: string
91     - name: lata
92       description: onap complex lata
93       scope: long
94       type: string
95
96 http:
97   service:
98     auth: basic
99     mode: direct
100   request:
101     uri: /aai/v16/cloud-infrastructure/complexes/
102     method: GET
103   success_codes:
104     - 200
105   result_map:
106     physical-location-id: $b{complex.[*].physical-location-id}
107     data-center-code: $b{complex.[*].data-center-code}
108     complex-name: $b{complex.[*].complex-name}
109     identity-url: $b{complex.[*].identity-url}
110     resource-version: $b{complex.[*].resource-version}
111     physical-location-type: $b{complex.[*].physical-location-type}
112     street1: $b{complex.[*].street1}
113     street2: $b{complex.[*].street2}
114     city: $b{complex.[*].city}
115     state: $b{complex.[*].state}
116     postal-code: $b{complex.[*].postal-code}
117     country: $b{complex.[*].country}
118     region: $b{complex.[*].region}
119     latitude: $b{complex.[*].latitude}
120     longitude: $b{complex.[*].longitude}
121     elevation: $b{complex.[*].elevation}
122     lata: $b{complex.[*].lata}
123