blob: 210390fd9ecdaef955680b7cf1fe3e3a4a16f3ef [file] [log] [blame]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +03001---
2
3heat_template_version: queens
4
5description: MCP environment for heat-cicd-queens-dvr-sl
6
7parameters:
8 instance_domain:
9 type: string
10 default: heat-cicd-queens-dvr-sl.local
11 mcp_version:
12 type: string
13 env_name:
14 type: string
15 control_subnet_cidr:
16 type: string
17 management_subnet_cidr:
18 type: string
19 management_subnet_pool_start:
20 type: string
21 management_subnet_pool_end:
22 type: string
23 management_subnet_cfg01_ip:
24 type: string
25 management_subnet_gateway_ip:
26 type: string
27
28 key_pair:
29 type: string
30
31 ctl_flavor:
32 type: string
33 cfg_flavor:
34 type: string
35 cid_flavor:
36 type: string
37 kvm_fake_flavor:
38 type: string
39 dbs_flavor:
40 type: string
41 msg_flavor:
42 type: string
43 mon_flavor:
44 type: string
45 log_flavor:
46 type: string
47 mtr_flavor:
48 type: string
49 cmp_flavor:
50 type: string
51 foundation_flavor:
52 type: string
53 cmn_flavor:
54 type: string
55 rgw_flavor:
56 type: string
57 osd_flavor:
58 type: string
59 gtw_flavor:
60 type: string
61 dns_flavor:
62 type: string
63 kmn_flavor:
64 type: string
65 prx_flavor:
66 type: string
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +030067 mdb_flavor:
68 type: string
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030069
70 net_public:
71 type: string
72
Dennis Dmitrievcba86122019-05-24 13:41:46 +030073 foundation_image:
74 type: string
75
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +030076 bm_availability_zone:
77 type: string
78 vm_availability_zone:
79 type: string
80
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030081resources:
82 networks:
83 type: MCP::Networks
84 properties:
85 stack_name: { get_param: "OS::stack_name" }
86 env_name: { get_param: env_name }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +030087 subnets:
88 depends_on: [networks]
89 type: MCP::Subnets
90 properties:
91 stack_name: { get_param: "OS::stack_name" }
92 env_name: { get_param: env_name }
93 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
94 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
95 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
96 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030097
98 #flavors:
99 # type: MCP::Flavors
100
101 cfg01_node:
102 type: MCP::MasterNode
103 depends_on: [networks]
104 properties:
105 env_name: { get_param: env_name }
106 mcp_version: { get_param: mcp_version }
107 cfg01_flavor: { get_param: cfg_flavor }
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300108 availability_zone: { get_param: bm_availability_zone }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300109 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
110 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
111 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
112 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudze6bff762019-05-23 18:15:49 +0300113 tenant_net_static_ip:
114 list_join:
115 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300116 - [ { get_attr: [subnets, tenant_net_prefix] }, '15' ]
sgudze6bff762019-05-23 18:15:49 +0300117 external_net_static_ip:
118 list_join:
119 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300120 - [ { get_attr: [subnets, external_net_prefix] }, '15' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300121 instance_name: cfg01
122 instance_domain: {get_param: instance_domain}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300123
124 control_cluster:
125 type: MCP::MultipleInstance
126 depends_on: [cfg01_node]
127 properties:
128 env_name: { get_param: env_name }
129 mcp_version: { get_param: mcp_version }
130 instance_domain: {get_param: instance_domain}
131 instance01_name: ctl01
132 instance02_name: ctl02
133 instance03_name: ctl03
134 instance_flavor: {get_param: ctl_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300135 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300136 underlay_userdata: { get_file: ./underlay-userdata.yaml }
137 instance01_control_net_static_ip:
138 list_join:
139 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300140 - [ { get_attr: [subnets, control_net_prefix] }, '11' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300141 instance02_control_net_static_ip:
142 list_join:
143 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300144 - [ { get_attr: [subnets, control_net_prefix] }, '12' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300145 instance03_control_net_static_ip:
146 list_join:
147 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300148 - [ { get_attr: [subnets, control_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300149 instance01_tenant_net_static_ip:
150 list_join:
151 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300152 - [ { get_attr: [subnets, tenant_net_prefix] }, '11' ]
sgudze6bff762019-05-23 18:15:49 +0300153 instance02_tenant_net_static_ip:
154 list_join:
155 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300156 - [ { get_attr: [subnets, tenant_net_prefix] }, '12' ]
sgudze6bff762019-05-23 18:15:49 +0300157 instance03_tenant_net_static_ip:
158 list_join:
159 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300160 - [ { get_attr: [subnets, tenant_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300161 instance01_external_net_static_ip:
162 list_join:
163 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300164 - [ { get_attr: [subnets, external_net_prefix] }, '11' ]
sgudze6bff762019-05-23 18:15:49 +0300165 instance02_external_net_static_ip:
166 list_join:
167 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300168 - [ { get_attr: [subnets, external_net_prefix] }, '12' ]
sgudze6bff762019-05-23 18:15:49 +0300169 instance03_external_net_static_ip:
170 list_join:
171 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300172 - [ { get_attr: [subnets, external_net_prefix] }, '13' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300173
174 instance_config_host: { get_attr: [cfg01_node, instance_address] }
175
176 openstack_database_cluster:
177 type: MCP::MultipleInstance
178 depends_on: [control_cluster]
179 properties:
180 env_name: { get_param: env_name }
181 mcp_version: { get_param: mcp_version }
182 instance_domain: {get_param: instance_domain}
183 instance01_name: dbs01
184 instance02_name: dbs02
185 instance03_name: dbs03
186 instance_flavor: {get_param: dbs_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300187 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300188 underlay_userdata: { get_file: ./underlay-userdata.yaml }
189 instance01_control_net_static_ip:
190 list_join:
191 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300192 - [ { get_attr: [subnets, control_net_prefix] }, '51' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300193 instance02_control_net_static_ip:
194 list_join:
195 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300196 - [ { get_attr: [subnets, control_net_prefix] }, '52' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300197 instance03_control_net_static_ip:
198 list_join:
199 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300200 - [ { get_attr: [subnets, control_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300201 instance01_tenant_net_static_ip:
202 list_join:
203 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300204 - [ { get_attr: [subnets, tenant_net_prefix] }, '51' ]
sgudze6bff762019-05-23 18:15:49 +0300205 instance02_tenant_net_static_ip:
206 list_join:
207 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300208 - [ { get_attr: [subnets, tenant_net_prefix] }, '52' ]
sgudze6bff762019-05-23 18:15:49 +0300209 instance03_tenant_net_static_ip:
210 list_join:
211 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300212 - [ { get_attr: [subnets, tenant_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300213 instance01_external_net_static_ip:
214 list_join:
215 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300216 - [ { get_attr: [subnets, external_net_prefix] }, '51' ]
sgudze6bff762019-05-23 18:15:49 +0300217 instance02_external_net_static_ip:
218 list_join:
219 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300220 - [ { get_attr: [subnets, external_net_prefix] }, '52' ]
sgudze6bff762019-05-23 18:15:49 +0300221 instance03_external_net_static_ip:
222 list_join:
223 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300224 - [ { get_attr: [subnets, external_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300225
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300226 instance_config_host: { get_attr: [cfg01_node, instance_address] }
227
228 fake_kvm_cluster:
229 type: MCP::MultipleInstance
230 depends_on: [cfg01_node]
231 properties:
232 env_name: { get_param: env_name }
233 mcp_version: { get_param: mcp_version }
234 instance_domain: {get_param: instance_domain}
235 instance01_name: kvm01
236 instance02_name: kvm02
237 instance03_name: kvm03
238 instance_flavor: {get_param: kvm_fake_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300239 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300240 underlay_userdata: { get_file: ./underlay-userdata.yaml }
241 instance01_control_net_static_ip:
242 list_join:
243 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300244 - [ { get_attr: [subnets, control_net_prefix] }, '241' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300245 instance02_control_net_static_ip:
246 list_join:
247 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300248 - [ { get_attr: [subnets, control_net_prefix] }, '242' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300249 instance03_control_net_static_ip:
250 list_join:
251 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300252 - [ { get_attr: [subnets, control_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300253 instance01_tenant_net_static_ip:
254 list_join:
255 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300256 - [ { get_attr: [subnets, tenant_net_prefix] }, '241' ]
sgudze6bff762019-05-23 18:15:49 +0300257 instance02_tenant_net_static_ip:
258 list_join:
259 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300260 - [ { get_attr: [subnets, tenant_net_prefix] }, '242' ]
sgudze6bff762019-05-23 18:15:49 +0300261 instance03_tenant_net_static_ip:
262 list_join:
263 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300264 - [ { get_attr: [subnets, tenant_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300265 instance01_external_net_static_ip:
266 list_join:
267 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300268 - [ { get_attr: [subnets, external_net_prefix] }, '241' ]
sgudze6bff762019-05-23 18:15:49 +0300269 instance02_external_net_static_ip:
270 list_join:
271 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300272 - [ { get_attr: [subnets, external_net_prefix] }, '242' ]
sgudze6bff762019-05-23 18:15:49 +0300273 instance03_external_net_static_ip:
274 list_join:
275 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300276 - [ { get_attr: [subnets, external_net_prefix] }, '243' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300277
278 instance_config_host: { get_attr: [cfg01_node, instance_address] }
279
280 openstack_message_queue_cluster:
281 type: MCP::MultipleInstance
282 depends_on: [openstack_database_cluster]
283 properties:
284 env_name: { get_param: env_name }
285 mcp_version: { get_param: mcp_version }
286 instance_domain: {get_param: instance_domain}
287 instance01_name: msg01
288 instance02_name: msg02
289 instance03_name: msg03
290 instance_flavor: {get_param: msg_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300291 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300292 underlay_userdata: { get_file: ./underlay-userdata.yaml }
293 instance01_control_net_static_ip:
294 list_join:
295 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300296 - [ { get_attr: [subnets, control_net_prefix] }, '41' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300297 instance02_control_net_static_ip:
298 list_join:
299 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300300 - [ { get_attr: [subnets, control_net_prefix] }, '42' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300301 instance03_control_net_static_ip:
302 list_join:
303 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300304 - [ { get_attr: [subnets, control_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300305 instance01_tenant_net_static_ip:
306 list_join:
307 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300308 - [ { get_attr: [subnets, tenant_net_prefix] }, '41' ]
sgudze6bff762019-05-23 18:15:49 +0300309 instance02_tenant_net_static_ip:
310 list_join:
311 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300312 - [ { get_attr: [subnets, tenant_net_prefix] }, '42' ]
sgudze6bff762019-05-23 18:15:49 +0300313 instance03_tenant_net_static_ip:
314 list_join:
315 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300316 - [ { get_attr: [subnets, tenant_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300317 instance01_external_net_static_ip:
318 list_join:
319 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300320 - [ { get_attr: [subnets, external_net_prefix] }, '41' ]
sgudze6bff762019-05-23 18:15:49 +0300321 instance02_external_net_static_ip:
322 list_join:
323 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300324 - [ { get_attr: [subnets, external_net_prefix] }, '42' ]
sgudze6bff762019-05-23 18:15:49 +0300325 instance03_external_net_static_ip:
326 list_join:
327 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300328 - [ { get_attr: [subnets, external_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300329
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300330 instance_config_host: { get_attr: [cfg01_node, instance_address] }
331
332 cicd_cluster:
333 type: MCP::MultipleInstance
334 depends_on: [cfg01_node]
335 properties:
336 env_name: { get_param: env_name }
337 mcp_version: { get_param: mcp_version }
338 instance_domain: {get_param: instance_domain}
339 instance01_name: cid01
340 instance02_name: cid02
341 instance03_name: cid03
342 instance_flavor: {get_param: cid_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300343 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300344 underlay_userdata: { get_file: ./underlay-userdata.yaml }
345 instance01_control_net_static_ip:
346 list_join:
347 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300348 - [ { get_attr: [subnets, control_net_prefix] }, '91' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300349 instance02_control_net_static_ip:
350 list_join:
351 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300352 - [ { get_attr: [subnets, control_net_prefix] }, '92' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300353 instance03_control_net_static_ip:
354 list_join:
355 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300356 - [ { get_attr: [subnets, control_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300357 instance01_tenant_net_static_ip:
358 list_join:
359 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300360 - [ { get_attr: [subnets, tenant_net_prefix] }, '91' ]
sgudze6bff762019-05-23 18:15:49 +0300361 instance02_tenant_net_static_ip:
362 list_join:
363 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300364 - [ { get_attr: [subnets, tenant_net_prefix] }, '92' ]
sgudze6bff762019-05-23 18:15:49 +0300365 instance03_tenant_net_static_ip:
366 list_join:
367 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300368 - [ { get_attr: [subnets, tenant_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300369 instance01_external_net_static_ip:
370 list_join:
371 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300372 - [ { get_attr: [subnets, external_net_prefix] }, '91' ]
sgudze6bff762019-05-23 18:15:49 +0300373 instance02_external_net_static_ip:
374 list_join:
375 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300376 - [ { get_attr: [subnets, external_net_prefix] }, '92' ]
sgudze6bff762019-05-23 18:15:49 +0300377 instance03_external_net_static_ip:
378 list_join:
379 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300380 - [ { get_attr: [subnets, external_net_prefix] }, '93' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300381
382 instance_config_host: { get_attr: [cfg01_node, instance_address] }
383
384 stacklight_monitor_cluster:
385 type: MCP::MultipleInstance
386 depends_on: [openstack_message_queue_cluster]
387 properties:
388 env_name: { get_param: env_name }
389 mcp_version: { get_param: mcp_version }
390 instance_domain: {get_param: instance_domain}
391 instance01_name: mon01
392 instance02_name: mon02
393 instance03_name: mon03
394 instance_flavor: {get_param: mon_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300395 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300396 underlay_userdata: { get_file: ./underlay-userdata.yaml }
397 instance01_control_net_static_ip:
398 list_join:
399 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300400 - [ { get_attr: [subnets, control_net_prefix] }, '71' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300401 instance02_control_net_static_ip:
402 list_join:
403 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300404 - [ { get_attr: [subnets, control_net_prefix] }, '72' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300405 instance03_control_net_static_ip:
406 list_join:
407 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300408 - [ { get_attr: [subnets, control_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300409 instance01_tenant_net_static_ip:
410 list_join:
411 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300412 - [ { get_attr: [subnets, tenant_net_prefix] }, '71' ]
sgudze6bff762019-05-23 18:15:49 +0300413 instance02_tenant_net_static_ip:
414 list_join:
415 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300416 - [ { get_attr: [subnets, tenant_net_prefix] }, '72' ]
sgudze6bff762019-05-23 18:15:49 +0300417 instance03_tenant_net_static_ip:
418 list_join:
419 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300420 - [ { get_attr: [subnets, tenant_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300421 instance01_external_net_static_ip:
422 list_join:
423 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300424 - [ { get_attr: [subnets, external_net_prefix] }, '71' ]
sgudze6bff762019-05-23 18:15:49 +0300425 instance02_external_net_static_ip:
426 list_join:
427 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300428 - [ { get_attr: [subnets, external_net_prefix] }, '72' ]
sgudze6bff762019-05-23 18:15:49 +0300429 instance03_external_net_static_ip:
430 list_join:
431 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300432 - [ { get_attr: [subnets, external_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300433
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300434 instance_config_host: { get_attr: [cfg01_node, instance_address] }
435
436 stacklight_log_cluster:
437 type: MCP::MultipleInstance
438 depends_on: [stacklight_monitor_cluster]
439 properties:
440 env_name: { get_param: env_name }
441 mcp_version: { get_param: mcp_version }
442 instance_domain: {get_param: instance_domain}
443 instance01_name: log01
444 instance02_name: log02
445 instance03_name: log03
446 instance_flavor: {get_param: log_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300447 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300448 underlay_userdata: { get_file: ./underlay-userdata.yaml }
449 instance01_control_net_static_ip:
450 list_join:
451 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300452 - [ { get_attr: [subnets, control_net_prefix] }, '61' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300453 instance02_control_net_static_ip:
454 list_join:
455 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300456 - [ { get_attr: [subnets, control_net_prefix] }, '62' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300457 instance03_control_net_static_ip:
458 list_join:
459 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300460 - [ { get_attr: [subnets, control_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300461 instance01_tenant_net_static_ip:
462 list_join:
463 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300464 - [ { get_attr: [subnets, tenant_net_prefix] }, '61' ]
sgudze6bff762019-05-23 18:15:49 +0300465 instance02_tenant_net_static_ip:
466 list_join:
467 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300468 - [ { get_attr: [subnets, tenant_net_prefix] }, '62' ]
sgudze6bff762019-05-23 18:15:49 +0300469 instance03_tenant_net_static_ip:
470 list_join:
471 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300472 - [ { get_attr: [subnets, tenant_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300473 instance01_external_net_static_ip:
474 list_join:
475 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300476 - [ { get_attr: [subnets, external_net_prefix] }, '61' ]
sgudze6bff762019-05-23 18:15:49 +0300477 instance02_external_net_static_ip:
478 list_join:
479 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300480 - [ { get_attr: [subnets, external_net_prefix] }, '62' ]
sgudze6bff762019-05-23 18:15:49 +0300481 instance03_external_net_static_ip:
482 list_join:
483 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300484 - [ { get_attr: [subnets, external_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300485
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300486 instance_config_host: { get_attr: [cfg01_node, instance_address] }
487
488 stacklight_mtr_cluster:
489 type: MCP::MultipleInstance
490 depends_on: [stacklight_log_cluster]
491 properties:
492 env_name: { get_param: env_name }
493 mcp_version: { get_param: mcp_version }
494 instance_domain: {get_param: instance_domain}
495 instance01_name: mtr01
496 instance02_name: mtr02
497 instance03_name: mtr03
498 instance_flavor: {get_param: mtr_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300499 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300500 underlay_userdata: { get_file: ./underlay-userdata.yaml }
501 instance01_control_net_static_ip:
502 list_join:
503 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300504 - [ { get_attr: [subnets, control_net_prefix] }, '97' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300505 instance02_control_net_static_ip:
506 list_join:
507 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300508 - [ { get_attr: [subnets, control_net_prefix] }, '98' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300509 instance03_control_net_static_ip:
510 list_join:
511 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300512 - [ { get_attr: [subnets, control_net_prefix] }, '99' ]
sgudze6bff762019-05-23 18:15:49 +0300513 instance01_tenant_net_static_ip:
514 list_join:
515 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300516 - [ { get_attr: [subnets, tenant_net_prefix] }, '97' ]
sgudze6bff762019-05-23 18:15:49 +0300517 instance02_tenant_net_static_ip:
518 list_join:
519 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300520 - [ { get_attr: [subnets, tenant_net_prefix] }, '98' ]
sgudze6bff762019-05-23 18:15:49 +0300521 instance03_tenant_net_static_ip:
522 list_join:
523 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300524 - [ { get_attr: [subnets, tenant_net_prefix] }, '99' ]
sgudze6bff762019-05-23 18:15:49 +0300525 instance01_external_net_static_ip:
526 list_join:
527 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300528 - [ { get_attr: [subnets, external_net_prefix] }, '97' ]
sgudze6bff762019-05-23 18:15:49 +0300529 instance02_external_net_static_ip:
530 list_join:
531 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300532 - [ { get_attr: [subnets, external_net_prefix] }, '98' ]
sgudze6bff762019-05-23 18:15:49 +0300533 instance03_external_net_static_ip:
534 list_join:
535 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300536 - [ { get_attr: [subnets, external_net_prefix] }, '99' ]
sgudze6bff762019-05-23 18:15:49 +0300537
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300538 instance_config_host: { get_attr: [cfg01_node, instance_address] }
539
540 prx01_virtual:
541 type: MCP::SingleInstance
542 depends_on: [control_cluster]
543 properties:
544 env_name: { get_param: env_name }
545 mcp_version: { get_param: mcp_version }
546 instance_domain: {get_param: instance_domain}
547 instance_name: prx01
548 instance_flavor: {get_param: prx_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300549 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300550 underlay_userdata: { get_file: ./underlay-userdata.yaml }
551 control_net_static_ip:
552 list_join:
553 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300554 - [ { get_attr: [subnets, control_net_prefix] }, '81' ]
sgudze6bff762019-05-23 18:15:49 +0300555 tenant_net_static_ip:
556 list_join:
557 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300558 - [ { get_attr: [subnets, tenant_net_prefix] }, '81' ]
sgudze6bff762019-05-23 18:15:49 +0300559 external_net_static_ip:
560 list_join:
561 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300562 - [ { get_attr: [subnets, external_net_prefix] }, '81' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300563
564 instance_config_host: { get_attr: [cfg01_node, instance_address] }
565
566 prx02_virtual:
567 type: MCP::SingleInstance
568 depends_on: [control_cluster]
569 properties:
570 env_name: { get_param: env_name }
571 mcp_version: { get_param: mcp_version }
572 instance_domain: {get_param: instance_domain}
573 instance_name: prx02
574 instance_flavor: {get_param: prx_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300575 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300576 underlay_userdata: { get_file: ./underlay-userdata.yaml }
577 control_net_static_ip:
578 list_join:
579 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300580 - [ { get_attr: [subnets, control_net_prefix] }, '82' ]
sgudze6bff762019-05-23 18:15:49 +0300581 tenant_net_static_ip:
582 list_join:
583 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300584 - [ { get_attr: [subnets, tenant_net_prefix] }, '82' ]
sgudze6bff762019-05-23 18:15:49 +0300585 external_net_static_ip:
586 list_join:
587 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300588 - [ { get_attr: [subnets, external_net_prefix] }, '82' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300589
590 instance_config_host: { get_attr: [cfg01_node, instance_address] }
591
592 cmp001_virtual:
593 type: MCP::Compute
594 depends_on: [cfg01_node]
595 properties:
596 env_name: { get_param: env_name }
597 mcp_version: { get_param: mcp_version }
598 instance_domain: {get_param: instance_domain}
599 instance_name: cmp001
600 instance_flavor: {get_param: cmp_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300601 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300602 underlay_userdata: { get_file: ./underlay-userdata.yaml }
603 control_net_static_ip:
604 list_join:
605 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300606 - [ { get_attr: [subnets, control_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300607 tenant_net_static_ip:
608 list_join:
609 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300610 - [ { get_attr: [subnets, tenant_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300611 external_net_static_ip:
612 list_join:
613 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300614 - [ { get_attr: [subnets, external_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300615
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300616 instance_config_host: { get_attr: [cfg01_node, instance_address] }
617
618 cmp002_virtual:
619 type: MCP::Compute
620 depends_on: [cfg01_node]
621 properties:
622 env_name: { get_param: env_name }
623 mcp_version: { get_param: mcp_version }
624 instance_domain: {get_param: instance_domain}
625 instance_name: cmp002
626 instance_flavor: {get_param: cmp_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300627 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300628 underlay_userdata: { get_file: ./underlay-userdata.yaml }
629 control_net_static_ip:
630 list_join:
631 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300632 - [ { get_attr: [subnets, control_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300633 tenant_net_static_ip:
634 list_join:
635 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300636 - [ { get_attr: [subnets, tenant_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300637 external_net_static_ip:
638 list_join:
639 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300640 - [ { get_attr: [subnets, external_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300641
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300642 instance_config_host: { get_attr: [cfg01_node, instance_address] }
643
644 foundation_node:
645 type: MCP::FoundationNode
646 depends_on: [networks]
647 properties:
648 env_name: { get_param: env_name }
649 mcp_version: { get_param: mcp_version }
650 instance_domain: {get_param: instance_domain}
651 instance_name: foundation
Dennis Dmitrievcba86122019-05-24 13:41:46 +0300652 instance_image: { get_param: foundation_image }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300653 instance_flavor: {get_param: foundation_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300654 availability_zone: { get_param: bm_availability_zone }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300655 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
656 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
657 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
658 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300659 underlay_userdata: { get_file: ./underlay--user-data-foundation.yaml }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300660 management_net_static_ip:
661 list_join:
662 - '.'
663 - [ { get_attr: [subnets, management_net_prefix] }, '5' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300664 control_net_static_ip:
665 list_join:
666 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300667 - [ { get_attr: [subnets, control_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300668 tenant_net_static_ip:
669 list_join:
670 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300671 - [ { get_attr: [subnets, tenant_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300672 external_net_static_ip:
673 list_join:
674 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300675 - [ { get_attr: [subnets, external_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300676
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300677 instance_config_host: { get_attr: [cfg01_node, instance_address] }
678
679 ceph_cmn_cluster:
680 type: MCP::MultipleInstance
681 depends_on: [cfg01_node]
682 properties:
683 env_name: { get_param: env_name }
684 mcp_version: { get_param: mcp_version }
685 instance_domain: {get_param: instance_domain}
686 instance01_name: cmn01
687 instance02_name: cmn02
688 instance03_name: cmn03
689 instance_flavor: {get_param: cmn_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300690 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300691 underlay_userdata: { get_file: ./underlay-userdata.yaml }
692 instance01_control_net_static_ip:
693 list_join:
694 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300695 - [ { get_attr: [subnets, control_net_prefix] }, '66' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300696 instance02_control_net_static_ip:
697 list_join:
698 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300699 - [ { get_attr: [subnets, control_net_prefix] }, '67' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300700 instance03_control_net_static_ip:
701 list_join:
702 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300703 - [ { get_attr: [subnets, control_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300704 instance01_tenant_net_static_ip:
705 list_join:
706 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300707 - [ { get_attr: [subnets, tenant_net_prefix] }, '66' ]
sgudze6bff762019-05-23 18:15:49 +0300708 instance02_tenant_net_static_ip:
709 list_join:
710 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300711 - [ { get_attr: [subnets, tenant_net_prefix] }, '67' ]
sgudze6bff762019-05-23 18:15:49 +0300712 instance03_tenant_net_static_ip:
713 list_join:
714 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300715 - [ { get_attr: [subnets, tenant_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300716 instance01_external_net_static_ip:
717 list_join:
718 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300719 - [ { get_attr: [subnets, external_net_prefix] }, '66' ]
sgudze6bff762019-05-23 18:15:49 +0300720 instance02_external_net_static_ip:
721 list_join:
722 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300723 - [ { get_attr: [subnets, external_net_prefix] }, '67' ]
sgudze6bff762019-05-23 18:15:49 +0300724 instance03_external_net_static_ip:
725 list_join:
726 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300727 - [ { get_attr: [subnets, external_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300728
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300729 instance_config_host: { get_attr: [cfg01_node, instance_address] }
730
731 ceph_rgw_cluster:
732 type: MCP::MultipleInstance
733 depends_on: [cfg01_node]
734 properties:
735 env_name: { get_param: env_name }
736 mcp_version: { get_param: mcp_version }
737 instance_domain: {get_param: instance_domain}
738 instance01_name: rgw01
739 instance02_name: rgw02
740 instance03_name: rgw03
741 instance_flavor: {get_param: rgw_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300742 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300743 underlay_userdata: { get_file: ./underlay-userdata.yaml }
744 instance01_control_net_static_ip:
745 list_join:
746 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300747 - [ { get_attr: [subnets, control_net_prefix] }, '76' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300748 instance02_control_net_static_ip:
749 list_join:
750 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300751 - [ { get_attr: [subnets, control_net_prefix] }, '77' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300752 instance03_control_net_static_ip:
753 list_join:
754 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300755 - [ { get_attr: [subnets, control_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300756 instance01_tenant_net_static_ip:
757 list_join:
758 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300759 - [ { get_attr: [subnets, tenant_net_prefix] }, '76' ]
sgudze6bff762019-05-23 18:15:49 +0300760 instance02_tenant_net_static_ip:
761 list_join:
762 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300763 - [ { get_attr: [subnets, tenant_net_prefix] }, '77' ]
sgudze6bff762019-05-23 18:15:49 +0300764 instance03_tenant_net_static_ip:
765 list_join:
766 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300767 - [ { get_attr: [subnets, tenant_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300768 instance01_external_net_static_ip:
769 list_join:
770 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300771 - [ { get_attr: [subnets, external_net_prefix] }, '76' ]
sgudze6bff762019-05-23 18:15:49 +0300772 instance02_external_net_static_ip:
773 list_join:
774 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300775 - [ { get_attr: [subnets, external_net_prefix] }, '77' ]
sgudze6bff762019-05-23 18:15:49 +0300776 instance03_external_net_static_ip:
777 list_join:
778 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300779 - [ { get_attr: [subnets, external_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300780
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300781 instance_config_host: { get_attr: [cfg01_node, instance_address] }
782
783 ceph_osd_cluster:
784 type: MCP::MultipleInstance
785 depends_on: [cfg01_node]
786 properties:
787 env_name: { get_param: env_name }
788 mcp_version: { get_param: mcp_version }
789 instance_domain: {get_param: instance_domain}
790 instance01_name: osd001
791 instance02_name: osd002
792 instance03_name: osd003
793 instance_flavor: {get_param: osd_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300794 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300795 underlay_userdata: { get_file: ./underlay-userdata.yaml }
796 instance01_control_net_static_ip:
797 list_join:
798 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300799 - [ { get_attr: [subnets, control_net_prefix] }, '201' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300800 instance02_control_net_static_ip:
801 list_join:
802 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300803 - [ { get_attr: [subnets, control_net_prefix] }, '202' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300804 instance03_control_net_static_ip:
805 list_join:
806 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300807 - [ { get_attr: [subnets, control_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300808 instance01_tenant_net_static_ip:
809 list_join:
810 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300811 - [ { get_attr: [subnets, tenant_net_prefix] }, '201' ]
sgudze6bff762019-05-23 18:15:49 +0300812 instance02_tenant_net_static_ip:
813 list_join:
814 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300815 - [ { get_attr: [subnets, tenant_net_prefix] }, '202' ]
sgudze6bff762019-05-23 18:15:49 +0300816 instance03_tenant_net_static_ip:
817 list_join:
818 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300819 - [ { get_attr: [subnets, tenant_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300820 instance01_external_net_static_ip:
821 list_join:
822 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300823 - [ { get_attr: [subnets, external_net_prefix] }, '201' ]
sgudze6bff762019-05-23 18:15:49 +0300824 instance02_external_net_static_ip:
825 list_join:
826 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300827 - [ { get_attr: [subnets, external_net_prefix] }, '202' ]
sgudze6bff762019-05-23 18:15:49 +0300828 instance03_external_net_static_ip:
829 list_join:
830 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300831 - [ { get_attr: [subnets, external_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300832
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300833 instance_config_host: { get_attr: [cfg01_node, instance_address] }
834
835 openstack_gtw_cluster:
836 type: MCP::MultipleInstance
837 depends_on: [cfg01_node]
838 properties:
839 env_name: { get_param: env_name }
840 mcp_version: { get_param: mcp_version }
841 instance_domain: {get_param: instance_domain}
842 instance01_name: gtw01
843 instance02_name: gtw02
844 instance03_name: gtw03
845 instance_flavor: {get_param: gtw_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300846 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300847 underlay_userdata: { get_file: ./underlay-userdata.yaml }
848 instance01_control_net_static_ip:
849 list_join:
850 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300851 - [ { get_attr: [subnets, control_net_prefix] }, '224' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300852 instance02_control_net_static_ip:
853 list_join:
854 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300855 - [ { get_attr: [subnets, control_net_prefix] }, '225' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300856 instance03_control_net_static_ip:
857 list_join:
858 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300859 - [ { get_attr: [subnets, control_net_prefix] }, '226' ]
sgudze6bff762019-05-23 18:15:49 +0300860 instance01_tenant_net_static_ip:
861 list_join:
862 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300863 - [ { get_attr: [subnets, tenant_net_prefix] }, '224' ]
sgudze6bff762019-05-23 18:15:49 +0300864 instance02_tenant_net_static_ip:
865 list_join:
866 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300867 - [ { get_attr: [subnets, tenant_net_prefix] }, '225' ]
sgudze6bff762019-05-23 18:15:49 +0300868 instance03_tenant_net_static_ip:
869 list_join:
870 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300871 - [ { get_attr: [subnets, tenant_net_prefix] }, '226' ]
sgudze6bff762019-05-23 18:15:49 +0300872 instance01_external_net_static_ip:
873 list_join:
874 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300875 - [ { get_attr: [subnets, external_net_prefix] }, '224' ]
sgudze6bff762019-05-23 18:15:49 +0300876 instance02_external_net_static_ip:
877 list_join:
878 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300879 - [ { get_attr: [subnets, external_net_prefix] }, '225' ]
sgudze6bff762019-05-23 18:15:49 +0300880 instance03_external_net_static_ip:
881 list_join:
882 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300883 - [ { get_attr: [subnets, external_net_prefix] }, '226' ]
sgudze6bff762019-05-23 18:15:49 +0300884
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300885 instance_config_host: { get_attr: [cfg01_node, instance_address] }
886
887 openstack_barbican_cluster:
888 type: MCP::MultipleInstance
889 depends_on: [control_cluster]
890 properties:
891 env_name: { get_param: env_name }
892 mcp_version: { get_param: mcp_version }
893 instance_domain: {get_param: instance_domain}
894 instance01_name: kmn01
895 instance02_name: kmn02
896 instance03_name: kmn03
897 instance_flavor: {get_param: kmn_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300898 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300899 underlay_userdata: { get_file: ./underlay-userdata.yaml }
900 instance01_control_net_static_ip:
901 list_join:
902 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300903 - [ { get_attr: [subnets, control_net_prefix] }, '45' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300904 instance02_control_net_static_ip:
905 list_join:
906 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300907 - [ { get_attr: [subnets, control_net_prefix] }, '46' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300908 instance03_control_net_static_ip:
909 list_join:
910 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300911 - [ { get_attr: [subnets, control_net_prefix] }, '47' ]
sgudz37bf8162019-05-27 18:04:07 +0300912 instance01_tenant_net_static_ip:
913 list_join:
914 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300915 - [ { get_attr: [subnets, tenant_net_prefix] }, '45' ]
sgudz37bf8162019-05-27 18:04:07 +0300916 instance02_tenant_net_static_ip:
917 list_join:
918 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300919 - [ { get_attr: [subnets, tenant_net_prefix] }, '46' ]
sgudz37bf8162019-05-27 18:04:07 +0300920 instance03_tenant_net_static_ip:
921 list_join:
922 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300923 - [ { get_attr: [subnets, tenant_net_prefix] }, '47' ]
sgudz37bf8162019-05-27 18:04:07 +0300924 instance01_external_net_static_ip:
925 list_join:
926 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300927 - [ { get_attr: [subnets, external_net_prefix] }, '45' ]
sgudz37bf8162019-05-27 18:04:07 +0300928 instance02_external_net_static_ip:
929 list_join:
930 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300931 - [ { get_attr: [subnets, external_net_prefix] }, '46' ]
sgudz37bf8162019-05-27 18:04:07 +0300932 instance03_external_net_static_ip:
933 list_join:
934 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300935 - [ { get_attr: [subnets, external_net_prefix] }, '47' ]
sgudze6bff762019-05-23 18:15:49 +0300936
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300937 instance_config_host: { get_attr: [cfg01_node, instance_address] }
938
939 dns01_virtual:
940 type: MCP::SingleInstance
941 depends_on: [control_cluster]
942 properties:
943 env_name: { get_param: env_name }
944 mcp_version: { get_param: mcp_version }
945 instance_domain: {get_param: instance_domain}
946 instance_name: dns01
947 instance_flavor: {get_param: dns_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300948 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300949 underlay_userdata: { get_file: ./underlay-userdata.yaml }
950 control_net_static_ip:
951 list_join:
952 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300953 - [ { get_attr: [subnets, control_net_prefix] }, '113' ]
sgudze6bff762019-05-23 18:15:49 +0300954 tenant_net_static_ip:
955 list_join:
956 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300957 - [ { get_attr: [subnets, tenant_net_prefix] }, '113' ]
sgudze6bff762019-05-23 18:15:49 +0300958 external_net_static_ip:
959 list_join:
960 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300961 - [ { get_attr: [subnets, external_net_prefix] }, '113' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300962
963 instance_config_host: { get_attr: [cfg01_node, instance_address] }
964
965 dns02_virtual:
966 type: MCP::SingleInstance
967 depends_on: [control_cluster]
968 properties:
969 env_name: { get_param: env_name }
970 mcp_version: { get_param: mcp_version }
971 instance_domain: {get_param: instance_domain}
972 instance_name: dns02
973 instance_flavor: {get_param: dns_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300974 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300975 underlay_userdata: { get_file: ./underlay-userdata.yaml }
976 control_net_static_ip:
977 list_join:
978 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300979 - [ { get_attr: [subnets, control_net_prefix] }, '114' ]
sgudze6bff762019-05-23 18:15:49 +0300980 tenant_net_static_ip:
981 list_join:
982 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300983 - [ { get_attr: [subnets, tenant_net_prefix] }, '114' ]
sgudze6bff762019-05-23 18:15:49 +0300984 external_net_static_ip:
985 list_join:
986 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300987 - [ { get_attr: [subnets, external_net_prefix] }, '114' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300988
989 instance_config_host: { get_attr: [cfg01_node, instance_address] }
990
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +0300991 openstack_telemetry_cluster:
992 type: MCP::MultipleInstance
993 depends_on: [control_cluster]
994 properties:
995 env_name: { get_param: env_name }
996 mcp_version: { get_param: mcp_version }
997 instance_domain: {get_param: instance_domain}
998 instance01_name: mdb01
999 instance02_name: mdb02
1000 instance03_name: mdb03
1001 instance_flavor: {get_param: mdb_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +03001002 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001003 underlay_userdata: { get_file: ./underlay-userdata.yaml }
1004 instance01_control_net_static_ip:
1005 list_join:
1006 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001007 - [ { get_attr: [subnets, control_net_prefix] }, '84' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001008 instance02_control_net_static_ip:
1009 list_join:
1010 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001011 - [ { get_attr: [subnets, control_net_prefix] }, '85' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001012 instance03_control_net_static_ip:
1013 list_join:
1014 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001015 - [ { get_attr: [subnets, control_net_prefix] }, '86' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001016 instance01_tenant_net_static_ip:
1017 list_join:
1018 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001019 - [ { get_attr: [subnets, tenant_net_prefix] }, '84' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001020 instance02_tenant_net_static_ip:
1021 list_join:
1022 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001023 - [ { get_attr: [subnets, tenant_net_prefix] }, '85' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001024 instance03_tenant_net_static_ip:
1025 list_join:
1026 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001027 - [ { get_attr: [subnets, tenant_net_prefix] }, '86' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001028 instance01_external_net_static_ip:
1029 list_join:
1030 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001031 - [ { get_attr: [subnets, external_net_prefix] }, '84' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001032 instance02_external_net_static_ip:
1033 list_join:
1034 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001035 - [ { get_attr: [subnets, external_net_prefix] }, '85' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001036 instance03_external_net_static_ip:
1037 list_join:
1038 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001039 - [ { get_attr: [subnets, external_net_prefix] }, '86' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001040
1041 instance_config_host: { get_attr: [cfg01_node, instance_address] }
1042
Tatyana Leontovich1e063f02019-05-08 15:06:33 +03001043outputs:
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001044 foundation_public_ip:
Tatyana Leontovich1e063f02019-05-08 15:06:33 +03001045 description: foundation node IP address (floating) from external network
1046 value:
1047 get_attr:
1048 - foundation_node
1049 - instance_floating_address
1050...