1 # Copyright 2019 Huawei Technologies Co., Ltd.
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 open_cli_schema_version: 1.0
17 description: Create a cloud complex in Onap
22 author: Intel ONAP HPA integration team (itohan.ukponmwan@intel.com)
25 - name: physical-location-id
26 description: id of physical location
29 long_option: physical-location-id
31 - name: data-center-code
32 description: datacenter name
35 long_option: data-center-code
38 description: complex name
41 long_option: complex-name
44 description: identity url for complex
47 long_option: identity-url
49 - name: physical-location-type
50 description: complex physical location type
53 long_option: physical-location-type
56 description: name of street 1 for complex
62 description: name of street 2 for complex
68 description: city complex is located in
74 description: state complex is located in
80 description: postal code for complex
83 long_option: postal-code
86 description: country complex is located
92 description: region complex is located
98 description: latitude of complex location
101 long_option: latitude
104 description: longitude of complex location
107 long_option: longitude
110 description: elevation of complex location
113 long_option: elevation
116 description: lata of complex
128 uri: /aai/v16/cloud-infrastructure/complexes/complex/${complex-name}
131 "physical-location-id": "${physical-location-id}",
132 "data-center-code": "${data-center-code}",
133 "complex-name": "${complex-name}",
134 "identity-url": "${identity-url}",
135 "physical-location-type": "${physical-location-type}",
136 "street1": "${street1}",
137 "street2": "${street2}",
140 "postal-code": "${postal-code}",
141 "country": "${country}",
142 "region": "${region}",
143 "latitude": "${latitude}",
144 "longitude": "${longitude}",
145 "elevation": "${elevation}",