blob: be3f68bf2cae5949688a6def35132577f718602f [file] [log] [blame]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +03001---
2
3heat_template_version: queens
4
5description: MCP environment for heat-cicd-pike-dvr-sl
6
7parameters:
8 instance_domain:
9 type: string
10 default: heat-cicd-pike-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
67
68 net_public:
69 type: string
70
Dennis Dmitrievcba86122019-05-24 13:41:46 +030071 foundation_image:
72 type: string
73
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030074resources:
75 networks:
76 type: MCP::Networks
77 properties:
78 stack_name: { get_param: "OS::stack_name" }
79 env_name: { get_param: env_name }
80
81 #flavors:
82 # type: MCP::Flavors
83
84 cfg01_node:
85 type: MCP::MasterNode
86 depends_on: [networks]
87 properties:
88 env_name: { get_param: env_name }
89 mcp_version: { get_param: mcp_version }
90 cfg01_flavor: { get_param: cfg_flavor }
sgudze6bff762019-05-23 18:15:49 +030091 tenant_net_static_ip:
92 list_join:
93 - '.'
94 - [ { get_attr: [networks, tenant_net_prefix] }, '15' ]
95 external_net_static_ip:
96 list_join:
97 - '.'
98 - [ { get_attr: [networks, external_net_prefix] }, '15' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030099 instance_name: cfg01
100 instance_domain: {get_param: instance_domain}
101 network: { get_attr: [networks, network] }
102
103 control_cluster:
104 type: MCP::MultipleInstance
105 depends_on: [cfg01_node]
106 properties:
107 env_name: { get_param: env_name }
108 mcp_version: { get_param: mcp_version }
109 instance_domain: {get_param: instance_domain}
110 instance01_name: ctl01
111 instance02_name: ctl02
112 instance03_name: ctl03
113 instance_flavor: {get_param: ctl_flavor}
114 network: { get_attr: [networks, network] }
115 underlay_userdata: { get_file: ./underlay-userdata.yaml }
116 instance01_control_net_static_ip:
117 list_join:
118 - '.'
119 - [ { get_attr: [networks, control_net_prefix] }, '11' ]
120 instance02_control_net_static_ip:
121 list_join:
122 - '.'
123 - [ { get_attr: [networks, control_net_prefix] }, '12' ]
124 instance03_control_net_static_ip:
125 list_join:
126 - '.'
127 - [ { get_attr: [networks, control_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300128 instance01_tenant_net_static_ip:
129 list_join:
130 - '.'
131 - [ { get_attr: [networks, tenant_net_prefix] }, '11' ]
132 instance02_tenant_net_static_ip:
133 list_join:
134 - '.'
135 - [ { get_attr: [networks, tenant_net_prefix] }, '12' ]
136 instance03_tenant_net_static_ip:
137 list_join:
138 - '.'
139 - [ { get_attr: [networks, tenant_net_prefix] }, '13' ]
140 instance01_external_net_static_ip:
141 list_join:
142 - '.'
143 - [ { get_attr: [networks, external_net_prefix] }, '11' ]
144 instance02_external_net_static_ip:
145 list_join:
146 - '.'
147 - [ { get_attr: [networks, external_net_prefix] }, '12' ]
148 instance03_external_net_static_ip:
149 list_join:
150 - '.'
151 - [ { get_attr: [networks, external_net_prefix] }, '13' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300152
153 instance_config_host: { get_attr: [cfg01_node, instance_address] }
154
155 openstack_database_cluster:
156 type: MCP::MultipleInstance
157 depends_on: [control_cluster]
158 properties:
159 env_name: { get_param: env_name }
160 mcp_version: { get_param: mcp_version }
161 instance_domain: {get_param: instance_domain}
162 instance01_name: dbs01
163 instance02_name: dbs02
164 instance03_name: dbs03
165 instance_flavor: {get_param: dbs_flavor}
166 network: { get_attr: [networks, network] }
167 underlay_userdata: { get_file: ./underlay-userdata.yaml }
168 instance01_control_net_static_ip:
169 list_join:
170 - '.'
171 - [ { get_attr: [networks, control_net_prefix] }, '51' ]
172 instance02_control_net_static_ip:
173 list_join:
174 - '.'
175 - [ { get_attr: [networks, control_net_prefix] }, '52' ]
176 instance03_control_net_static_ip:
177 list_join:
178 - '.'
179 - [ { get_attr: [networks, control_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300180 instance01_tenant_net_static_ip:
181 list_join:
182 - '.'
183 - [ { get_attr: [networks, tenant_net_prefix] }, '51' ]
184 instance02_tenant_net_static_ip:
185 list_join:
186 - '.'
187 - [ { get_attr: [networks, tenant_net_prefix] }, '52' ]
188 instance03_tenant_net_static_ip:
189 list_join:
190 - '.'
191 - [ { get_attr: [networks, tenant_net_prefix] }, '53' ]
192 instance01_external_net_static_ip:
193 list_join:
194 - '.'
195 - [ { get_attr: [networks, external_net_prefix] }, '51' ]
196 instance02_external_net_static_ip:
197 list_join:
198 - '.'
199 - [ { get_attr: [networks, external_net_prefix] }, '52' ]
200 instance03_external_net_static_ip:
201 list_join:
202 - '.'
203 - [ { get_attr: [networks, external_net_prefix] }, '53' ]
204
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300205 instance_config_host: { get_attr: [cfg01_node, instance_address] }
206
207 fake_kvm_cluster:
208 type: MCP::MultipleInstance
209 depends_on: [cfg01_node]
210 properties:
211 env_name: { get_param: env_name }
212 mcp_version: { get_param: mcp_version }
213 instance_domain: {get_param: instance_domain}
214 instance01_name: kvm01
215 instance02_name: kvm02
216 instance03_name: kvm03
217 instance_flavor: {get_param: kvm_fake_flavor}
218 network: { get_attr: [networks, network] }
219 underlay_userdata: { get_file: ./underlay-userdata.yaml }
220 instance01_control_net_static_ip:
221 list_join:
222 - '.'
223 - [ { get_attr: [networks, control_net_prefix] }, '241' ]
224 instance02_control_net_static_ip:
225 list_join:
226 - '.'
227 - [ { get_attr: [networks, control_net_prefix] }, '242' ]
228 instance03_control_net_static_ip:
229 list_join:
230 - '.'
231 - [ { get_attr: [networks, control_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300232 instance01_tenant_net_static_ip:
233 list_join:
234 - '.'
235 - [ { get_attr: [networks, tenant_net_prefix] }, '241' ]
236 instance02_tenant_net_static_ip:
237 list_join:
238 - '.'
239 - [ { get_attr: [networks, tenant_net_prefix] }, '242' ]
240 instance03_tenant_net_static_ip:
241 list_join:
242 - '.'
243 - [ { get_attr: [networks, tenant_net_prefix] }, '243' ]
244 instance01_external_net_static_ip:
245 list_join:
246 - '.'
247 - [ { get_attr: [networks, external_net_prefix] }, '241' ]
248 instance02_external_net_static_ip:
249 list_join:
250 - '.'
251 - [ { get_attr: [networks, external_net_prefix] }, '242' ]
252 instance03_external_net_static_ip:
253 list_join:
254 - '.'
255 - [ { get_attr: [networks, external_net_prefix] }, '243' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300256
257 instance_config_host: { get_attr: [cfg01_node, instance_address] }
258
259 openstack_message_queue_cluster:
260 type: MCP::MultipleInstance
261 depends_on: [openstack_database_cluster]
262 properties:
263 env_name: { get_param: env_name }
264 mcp_version: { get_param: mcp_version }
265 instance_domain: {get_param: instance_domain}
266 instance01_name: msg01
267 instance02_name: msg02
268 instance03_name: msg03
269 instance_flavor: {get_param: msg_flavor}
270 network: { get_attr: [networks, network] }
271 underlay_userdata: { get_file: ./underlay-userdata.yaml }
272 instance01_control_net_static_ip:
273 list_join:
274 - '.'
275 - [ { get_attr: [networks, control_net_prefix] }, '41' ]
276 instance02_control_net_static_ip:
277 list_join:
278 - '.'
279 - [ { get_attr: [networks, control_net_prefix] }, '42' ]
280 instance03_control_net_static_ip:
281 list_join:
282 - '.'
283 - [ { get_attr: [networks, control_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300284 instance01_tenant_net_static_ip:
285 list_join:
286 - '.'
287 - [ { get_attr: [networks, tenant_net_prefix] }, '41' ]
288 instance02_tenant_net_static_ip:
289 list_join:
290 - '.'
291 - [ { get_attr: [networks, tenant_net_prefix] }, '42' ]
292 instance03_tenant_net_static_ip:
293 list_join:
294 - '.'
295 - [ { get_attr: [networks, tenant_net_prefix] }, '43' ]
296 instance01_external_net_static_ip:
297 list_join:
298 - '.'
299 - [ { get_attr: [networks, external_net_prefix] }, '41' ]
300 instance02_external_net_static_ip:
301 list_join:
302 - '.'
303 - [ { get_attr: [networks, external_net_prefix] }, '42' ]
304 instance03_external_net_static_ip:
305 list_join:
306 - '.'
307 - [ { get_attr: [networks, external_net_prefix] }, '43' ]
308
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300309 instance_config_host: { get_attr: [cfg01_node, instance_address] }
310
311 cicd_cluster:
312 type: MCP::MultipleInstance
313 depends_on: [cfg01_node]
314 properties:
315 env_name: { get_param: env_name }
316 mcp_version: { get_param: mcp_version }
317 instance_domain: {get_param: instance_domain}
318 instance01_name: cid01
319 instance02_name: cid02
320 instance03_name: cid03
321 instance_flavor: {get_param: cid_flavor}
322 network: { get_attr: [networks, network] }
323 underlay_userdata: { get_file: ./underlay-userdata.yaml }
324 instance01_control_net_static_ip:
325 list_join:
326 - '.'
327 - [ { get_attr: [networks, control_net_prefix] }, '91' ]
328 instance02_control_net_static_ip:
329 list_join:
330 - '.'
331 - [ { get_attr: [networks, control_net_prefix] }, '92' ]
332 instance03_control_net_static_ip:
333 list_join:
334 - '.'
335 - [ { get_attr: [networks, control_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300336 instance01_tenant_net_static_ip:
337 list_join:
338 - '.'
339 - [ { get_attr: [networks, tenant_net_prefix] }, '91' ]
340 instance02_tenant_net_static_ip:
341 list_join:
342 - '.'
343 - [ { get_attr: [networks, tenant_net_prefix] }, '92' ]
344 instance03_tenant_net_static_ip:
345 list_join:
346 - '.'
347 - [ { get_attr: [networks, tenant_net_prefix] }, '93' ]
348 instance01_external_net_static_ip:
349 list_join:
350 - '.'
351 - [ { get_attr: [networks, external_net_prefix] }, '91' ]
352 instance02_external_net_static_ip:
353 list_join:
354 - '.'
355 - [ { get_attr: [networks, external_net_prefix] }, '92' ]
356 instance03_external_net_static_ip:
357 list_join:
358 - '.'
359 - [ { get_attr: [networks, external_net_prefix] }, '93' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300360
361 instance_config_host: { get_attr: [cfg01_node, instance_address] }
362
363 stacklight_monitor_cluster:
364 type: MCP::MultipleInstance
365 depends_on: [openstack_message_queue_cluster]
366 properties:
367 env_name: { get_param: env_name }
368 mcp_version: { get_param: mcp_version }
369 instance_domain: {get_param: instance_domain}
370 instance01_name: mon01
371 instance02_name: mon02
372 instance03_name: mon03
373 instance_flavor: {get_param: mon_flavor}
374 network: { get_attr: [networks, network] }
375 underlay_userdata: { get_file: ./underlay-userdata.yaml }
376 instance01_control_net_static_ip:
377 list_join:
378 - '.'
379 - [ { get_attr: [networks, control_net_prefix] }, '71' ]
380 instance02_control_net_static_ip:
381 list_join:
382 - '.'
383 - [ { get_attr: [networks, control_net_prefix] }, '72' ]
384 instance03_control_net_static_ip:
385 list_join:
386 - '.'
387 - [ { get_attr: [networks, control_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300388 instance01_tenant_net_static_ip:
389 list_join:
390 - '.'
391 - [ { get_attr: [networks, tenant_net_prefix] }, '71' ]
392 instance02_tenant_net_static_ip:
393 list_join:
394 - '.'
395 - [ { get_attr: [networks, tenant_net_prefix] }, '72' ]
396 instance03_tenant_net_static_ip:
397 list_join:
398 - '.'
399 - [ { get_attr: [networks, tenant_net_prefix] }, '73' ]
400 instance01_external_net_static_ip:
401 list_join:
402 - '.'
403 - [ { get_attr: [networks, external_net_prefix] }, '71' ]
404 instance02_external_net_static_ip:
405 list_join:
406 - '.'
407 - [ { get_attr: [networks, external_net_prefix] }, '72' ]
408 instance03_external_net_static_ip:
409 list_join:
410 - '.'
411 - [ { get_attr: [networks, external_net_prefix] }, '73' ]
412
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300413 instance_config_host: { get_attr: [cfg01_node, instance_address] }
414
415 stacklight_log_cluster:
416 type: MCP::MultipleInstance
417 depends_on: [stacklight_monitor_cluster]
418 properties:
419 env_name: { get_param: env_name }
420 mcp_version: { get_param: mcp_version }
421 instance_domain: {get_param: instance_domain}
422 instance01_name: log01
423 instance02_name: log02
424 instance03_name: log03
425 instance_flavor: {get_param: log_flavor}
426 network: { get_attr: [networks, network] }
427 underlay_userdata: { get_file: ./underlay-userdata.yaml }
428 instance01_control_net_static_ip:
429 list_join:
430 - '.'
431 - [ { get_attr: [networks, control_net_prefix] }, '61' ]
432 instance02_control_net_static_ip:
433 list_join:
434 - '.'
435 - [ { get_attr: [networks, control_net_prefix] }, '62' ]
436 instance03_control_net_static_ip:
437 list_join:
438 - '.'
439 - [ { get_attr: [networks, control_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300440 instance01_tenant_net_static_ip:
441 list_join:
442 - '.'
443 - [ { get_attr: [networks, tenant_net_prefix] }, '61' ]
444 instance02_tenant_net_static_ip:
445 list_join:
446 - '.'
447 - [ { get_attr: [networks, tenant_net_prefix] }, '62' ]
448 instance03_tenant_net_static_ip:
449 list_join:
450 - '.'
451 - [ { get_attr: [networks, tenant_net_prefix] }, '63' ]
452 instance01_external_net_static_ip:
453 list_join:
454 - '.'
455 - [ { get_attr: [networks, external_net_prefix] }, '61' ]
456 instance02_external_net_static_ip:
457 list_join:
458 - '.'
459 - [ { get_attr: [networks, external_net_prefix] }, '62' ]
460 instance03_external_net_static_ip:
461 list_join:
462 - '.'
463 - [ { get_attr: [networks, external_net_prefix] }, '63' ]
464
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300465 instance_config_host: { get_attr: [cfg01_node, instance_address] }
466
467 stacklight_mtr_cluster:
468 type: MCP::MultipleInstance
469 depends_on: [stacklight_log_cluster]
470 properties:
471 env_name: { get_param: env_name }
472 mcp_version: { get_param: mcp_version }
473 instance_domain: {get_param: instance_domain}
474 instance01_name: mtr01
475 instance02_name: mtr02
476 instance03_name: mtr03
477 instance_flavor: {get_param: mtr_flavor}
478 network: { get_attr: [networks, network] }
479 underlay_userdata: { get_file: ./underlay-userdata.yaml }
480 instance01_control_net_static_ip:
481 list_join:
482 - '.'
483 - [ { get_attr: [networks, control_net_prefix] }, '97' ]
484 instance02_control_net_static_ip:
485 list_join:
486 - '.'
487 - [ { get_attr: [networks, control_net_prefix] }, '98' ]
488 instance03_control_net_static_ip:
489 list_join:
490 - '.'
491 - [ { get_attr: [networks, control_net_prefix] }, '99' ]
sgudze6bff762019-05-23 18:15:49 +0300492 instance01_tenant_net_static_ip:
493 list_join:
494 - '.'
495 - [ { get_attr: [networks, tenant_net_prefix] }, '97' ]
496 instance02_tenant_net_static_ip:
497 list_join:
498 - '.'
499 - [ { get_attr: [networks, tenant_net_prefix] }, '98' ]
500 instance03_tenant_net_static_ip:
501 list_join:
502 - '.'
503 - [ { get_attr: [networks, tenant_net_prefix] }, '99' ]
504 instance01_external_net_static_ip:
505 list_join:
506 - '.'
507 - [ { get_attr: [networks, external_net_prefix] }, '97' ]
508 instance02_external_net_static_ip:
509 list_join:
510 - '.'
511 - [ { get_attr: [networks, external_net_prefix] }, '98' ]
512 instance03_external_net_static_ip:
513 list_join:
514 - '.'
515 - [ { get_attr: [networks, external_net_prefix] }, '99' ]
516
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300517 instance_config_host: { get_attr: [cfg01_node, instance_address] }
518
519 prx01_virtual:
520 type: MCP::SingleInstance
521 depends_on: [control_cluster]
522 properties:
523 env_name: { get_param: env_name }
524 mcp_version: { get_param: mcp_version }
525 instance_domain: {get_param: instance_domain}
526 instance_name: prx01
527 instance_flavor: {get_param: prx_flavor}
528 network: { get_attr: [networks, network] }
529 underlay_userdata: { get_file: ./underlay-userdata.yaml }
530 control_net_static_ip:
531 list_join:
532 - '.'
533 - [ { get_attr: [networks, control_net_prefix] }, '81' ]
sgudze6bff762019-05-23 18:15:49 +0300534 tenant_net_static_ip:
535 list_join:
536 - '.'
537 - [ { get_attr: [networks, tenant_net_prefix] }, '81' ]
538 external_net_static_ip:
539 list_join:
540 - '.'
541 - [ { get_attr: [networks, external_net_prefix] }, '81' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300542
543 instance_config_host: { get_attr: [cfg01_node, instance_address] }
544
545 prx02_virtual:
546 type: MCP::SingleInstance
547 depends_on: [control_cluster]
548 properties:
549 env_name: { get_param: env_name }
550 mcp_version: { get_param: mcp_version }
551 instance_domain: {get_param: instance_domain}
552 instance_name: prx02
553 instance_flavor: {get_param: prx_flavor}
554 network: { get_attr: [networks, network] }
555 underlay_userdata: { get_file: ./underlay-userdata.yaml }
556 control_net_static_ip:
557 list_join:
558 - '.'
559 - [ { get_attr: [networks, control_net_prefix] }, '82' ]
sgudze6bff762019-05-23 18:15:49 +0300560 tenant_net_static_ip:
561 list_join:
562 - '.'
563 - [ { get_attr: [networks, tenant_net_prefix] }, '82' ]
564 external_net_static_ip:
565 list_join:
566 - '.'
567 - [ { get_attr: [networks, external_net_prefix] }, '82' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300568
569 instance_config_host: { get_attr: [cfg01_node, instance_address] }
570
571 cmp001_virtual:
572 type: MCP::Compute
573 depends_on: [cfg01_node]
574 properties:
575 env_name: { get_param: env_name }
576 mcp_version: { get_param: mcp_version }
577 instance_domain: {get_param: instance_domain}
578 instance_name: cmp001
579 instance_flavor: {get_param: cmp_flavor}
580 network: { get_attr: [networks, network] }
581 underlay_userdata: { get_file: ./underlay-userdata.yaml }
582 control_net_static_ip:
583 list_join:
584 - '.'
585 - [ { get_attr: [networks, control_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300586 tenant_net_static_ip:
587 list_join:
588 - '.'
589 - [ { get_attr: [networks, tenant_net_prefix] }, '101' ]
590 external_net_static_ip:
591 list_join:
592 - '.'
593 - [ { get_attr: [networks, external_net_prefix] }, '101' ]
594
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300595 instance_config_host: { get_attr: [cfg01_node, instance_address] }
596
597 cmp002_virtual:
598 type: MCP::Compute
599 depends_on: [cfg01_node]
600 properties:
601 env_name: { get_param: env_name }
602 mcp_version: { get_param: mcp_version }
603 instance_domain: {get_param: instance_domain}
604 instance_name: cmp002
605 instance_flavor: {get_param: cmp_flavor}
606 network: { get_attr: [networks, network] }
607 underlay_userdata: { get_file: ./underlay-userdata.yaml }
608 control_net_static_ip:
609 list_join:
610 - '.'
611 - [ { get_attr: [networks, control_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300612 tenant_net_static_ip:
613 list_join:
614 - '.'
615 - [ { get_attr: [networks, tenant_net_prefix] }, '102' ]
616 external_net_static_ip:
617 list_join:
618 - '.'
619 - [ { get_attr: [networks, external_net_prefix] }, '102' ]
620
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300621 instance_config_host: { get_attr: [cfg01_node, instance_address] }
622
623 foundation_node:
624 type: MCP::FoundationNode
625 depends_on: [networks]
626 properties:
627 env_name: { get_param: env_name }
628 mcp_version: { get_param: mcp_version }
629 instance_domain: {get_param: instance_domain}
630 instance_name: foundation
Dennis Dmitrievcba86122019-05-24 13:41:46 +0300631 instance_image: { get_param: foundation_image }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300632 instance_flavor: {get_param: foundation_flavor}
633 network: { get_attr: [networks, network] }
634 underlay_userdata: { get_file: ./underlay--user-data-foundation.yaml }
635 control_net_static_ip:
636 list_join:
637 - '.'
638 - [ { get_attr: [networks, control_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300639 tenant_net_static_ip:
640 list_join:
641 - '.'
642 - [ { get_attr: [networks, tenant_net_prefix] }, '5' ]
643 external_net_static_ip:
644 list_join:
645 - '.'
646 - [ { get_attr: [networks, external_net_prefix] }, '5' ]
647
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300648 instance_config_host: { get_attr: [cfg01_node, instance_address] }
649
650 ceph_cmn_cluster:
651 type: MCP::MultipleInstance
652 depends_on: [cfg01_node]
653 properties:
654 env_name: { get_param: env_name }
655 mcp_version: { get_param: mcp_version }
656 instance_domain: {get_param: instance_domain}
657 instance01_name: cmn01
658 instance02_name: cmn02
659 instance03_name: cmn03
660 instance_flavor: {get_param: cmn_flavor}
661 network: { get_attr: [networks, network] }
662 underlay_userdata: { get_file: ./underlay-userdata.yaml }
663 instance01_control_net_static_ip:
664 list_join:
665 - '.'
666 - [ { get_attr: [networks, control_net_prefix] }, '66' ]
667 instance02_control_net_static_ip:
668 list_join:
669 - '.'
670 - [ { get_attr: [networks, control_net_prefix] }, '67' ]
671 instance03_control_net_static_ip:
672 list_join:
673 - '.'
674 - [ { get_attr: [networks, control_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300675 instance01_tenant_net_static_ip:
676 list_join:
677 - '.'
678 - [ { get_attr: [networks, tenant_net_prefix] }, '66' ]
679 instance02_tenant_net_static_ip:
680 list_join:
681 - '.'
682 - [ { get_attr: [networks, tenant_net_prefix] }, '67' ]
683 instance03_tenant_net_static_ip:
684 list_join:
685 - '.'
686 - [ { get_attr: [networks, tenant_net_prefix] }, '68' ]
687 instance01_external_net_static_ip:
688 list_join:
689 - '.'
690 - [ { get_attr: [networks, external_net_prefix] }, '66' ]
691 instance02_external_net_static_ip:
692 list_join:
693 - '.'
694 - [ { get_attr: [networks, external_net_prefix] }, '67' ]
695 instance03_external_net_static_ip:
696 list_join:
697 - '.'
698 - [ { get_attr: [networks, external_net_prefix] }, '68' ]
699
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300700 instance_config_host: { get_attr: [cfg01_node, instance_address] }
701
702 ceph_rgw_cluster:
703 type: MCP::MultipleInstance
704 depends_on: [cfg01_node]
705 properties:
706 env_name: { get_param: env_name }
707 mcp_version: { get_param: mcp_version }
708 instance_domain: {get_param: instance_domain}
709 instance01_name: rgw01
710 instance02_name: rgw02
711 instance03_name: rgw03
712 instance_flavor: {get_param: rgw_flavor}
713 network: { get_attr: [networks, network] }
714 underlay_userdata: { get_file: ./underlay-userdata.yaml }
715 instance01_control_net_static_ip:
716 list_join:
717 - '.'
718 - [ { get_attr: [networks, control_net_prefix] }, '76' ]
719 instance02_control_net_static_ip:
720 list_join:
721 - '.'
722 - [ { get_attr: [networks, control_net_prefix] }, '77' ]
723 instance03_control_net_static_ip:
724 list_join:
725 - '.'
726 - [ { get_attr: [networks, control_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300727 instance01_tenant_net_static_ip:
728 list_join:
729 - '.'
730 - [ { get_attr: [networks, tenant_net_prefix] }, '76' ]
731 instance02_tenant_net_static_ip:
732 list_join:
733 - '.'
734 - [ { get_attr: [networks, tenant_net_prefix] }, '77' ]
735 instance03_tenant_net_static_ip:
736 list_join:
737 - '.'
738 - [ { get_attr: [networks, tenant_net_prefix] }, '78' ]
739 instance01_external_net_static_ip:
740 list_join:
741 - '.'
742 - [ { get_attr: [networks, external_net_prefix] }, '76' ]
743 instance02_external_net_static_ip:
744 list_join:
745 - '.'
746 - [ { get_attr: [networks, external_net_prefix] }, '77' ]
747 instance03_external_net_static_ip:
748 list_join:
749 - '.'
750 - [ { get_attr: [networks, external_net_prefix] }, '78' ]
751
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300752 instance_config_host: { get_attr: [cfg01_node, instance_address] }
753
754 ceph_osd_cluster:
755 type: MCP::MultipleInstance
756 depends_on: [cfg01_node]
757 properties:
758 env_name: { get_param: env_name }
759 mcp_version: { get_param: mcp_version }
760 instance_domain: {get_param: instance_domain}
761 instance01_name: osd001
762 instance02_name: osd002
763 instance03_name: osd003
764 instance_flavor: {get_param: osd_flavor}
765 network: { get_attr: [networks, network] }
766 underlay_userdata: { get_file: ./underlay-userdata.yaml }
767 instance01_control_net_static_ip:
768 list_join:
769 - '.'
770 - [ { get_attr: [networks, control_net_prefix] }, '201' ]
771 instance02_control_net_static_ip:
772 list_join:
773 - '.'
774 - [ { get_attr: [networks, control_net_prefix] }, '202' ]
775 instance03_control_net_static_ip:
776 list_join:
777 - '.'
778 - [ { get_attr: [networks, control_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300779 instance01_tenant_net_static_ip:
780 list_join:
781 - '.'
782 - [ { get_attr: [networks, tenant_net_prefix] }, '201' ]
783 instance02_tenant_net_static_ip:
784 list_join:
785 - '.'
786 - [ { get_attr: [networks, tenant_net_prefix] }, '202' ]
787 instance03_tenant_net_static_ip:
788 list_join:
789 - '.'
790 - [ { get_attr: [networks, tenant_net_prefix] }, '203' ]
791 instance01_external_net_static_ip:
792 list_join:
793 - '.'
794 - [ { get_attr: [networks, external_net_prefix] }, '201' ]
795 instance02_external_net_static_ip:
796 list_join:
797 - '.'
798 - [ { get_attr: [networks, external_net_prefix] }, '202' ]
799 instance03_external_net_static_ip:
800 list_join:
801 - '.'
802 - [ { get_attr: [networks, external_net_prefix] }, '203' ]
803
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300804 instance_config_host: { get_attr: [cfg01_node, instance_address] }
805
806 openstack_gtw_cluster:
807 type: MCP::MultipleInstance
808 depends_on: [cfg01_node]
809 properties:
810 env_name: { get_param: env_name }
811 mcp_version: { get_param: mcp_version }
812 instance_domain: {get_param: instance_domain}
813 instance01_name: gtw01
814 instance02_name: gtw02
815 instance03_name: gtw03
816 instance_flavor: {get_param: gtw_flavor}
817 network: { get_attr: [networks, network] }
818 underlay_userdata: { get_file: ./underlay-userdata.yaml }
819 instance01_control_net_static_ip:
820 list_join:
821 - '.'
822 - [ { get_attr: [networks, control_net_prefix] }, '224' ]
823 instance02_control_net_static_ip:
824 list_join:
825 - '.'
826 - [ { get_attr: [networks, control_net_prefix] }, '225' ]
827 instance03_control_net_static_ip:
828 list_join:
829 - '.'
830 - [ { get_attr: [networks, control_net_prefix] }, '226' ]
sgudze6bff762019-05-23 18:15:49 +0300831 instance01_tenant_net_static_ip:
832 list_join:
833 - '.'
834 - [ { get_attr: [networks, tenant_net_prefix] }, '224' ]
835 instance02_tenant_net_static_ip:
836 list_join:
837 - '.'
838 - [ { get_attr: [networks, tenant_net_prefix] }, '225' ]
839 instance03_tenant_net_static_ip:
840 list_join:
841 - '.'
842 - [ { get_attr: [networks, tenant_net_prefix] }, '226' ]
843 instance01_external_net_static_ip:
844 list_join:
845 - '.'
846 - [ { get_attr: [networks, external_net_prefix] }, '224' ]
847 instance02_external_net_static_ip:
848 list_join:
849 - '.'
850 - [ { get_attr: [networks, external_net_prefix] }, '225' ]
851 instance03_external_net_static_ip:
852 list_join:
853 - '.'
854 - [ { get_attr: [networks, external_net_prefix] }, '226' ]
855
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300856 instance_config_host: { get_attr: [cfg01_node, instance_address] }
857
858 openstack_barbican_cluster:
859 type: MCP::MultipleInstance
860 depends_on: [control_cluster]
861 properties:
862 env_name: { get_param: env_name }
863 mcp_version: { get_param: mcp_version }
864 instance_domain: {get_param: instance_domain}
865 instance01_name: kmn01
866 instance02_name: kmn02
867 instance03_name: kmn03
868 instance_flavor: {get_param: kmn_flavor}
869 network: { get_attr: [networks, network] }
870 underlay_userdata: { get_file: ./underlay-userdata.yaml }
871 instance01_control_net_static_ip:
872 list_join:
873 - '.'
874 - [ { get_attr: [networks, control_net_prefix] }, '45' ]
875 instance02_control_net_static_ip:
876 list_join:
877 - '.'
878 - [ { get_attr: [networks, control_net_prefix] }, '46' ]
879 instance03_control_net_static_ip:
880 list_join:
881 - '.'
882 - [ { get_attr: [networks, control_net_prefix] }, '47' ]
sgudze6bff762019-05-23 18:15:49 +0300883 instance01_tenant_net_static_ip:
884 list_join:
885 - '.'
886 - [ { get_attr: [networks, tenant_net_prefix] }, '45' ]
887 instance02_tenant_net_static_ip:
888 list_join:
889 - '.'
890 - [ { get_attr: [networks, tenant_net_prefix] }, '46' ]
891 instance03_tenant_net_static_ip:
892 list_join:
893 - '.'
894 - [ { get_attr: [networks, tenant_net_prefix] }, '47' ]
895 instance01_external_net_static_ip:
896 list_join:
897 - '.'
898 - [ { get_attr: [networks, external_net_prefix] }, '45' ]
899 instance02_external_net_static_ip:
900 list_join:
901 - '.'
902 - [ { get_attr: [networks, external_net_prefix] }, '46' ]
903 instance03_external_net_static_ip:
904 list_join:
905 - '.'
906 - [ { get_attr: [networks, external_net_prefix] }, '47' ]
907
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300908 instance_config_host: { get_attr: [cfg01_node, instance_address] }
909
910 dns01_virtual:
911 type: MCP::SingleInstance
912 depends_on: [control_cluster]
913 properties:
914 env_name: { get_param: env_name }
915 mcp_version: { get_param: mcp_version }
916 instance_domain: {get_param: instance_domain}
917 instance_name: dns01
918 instance_flavor: {get_param: dns_flavor}
919 network: { get_attr: [networks, network] }
920 underlay_userdata: { get_file: ./underlay-userdata.yaml }
921 control_net_static_ip:
922 list_join:
923 - '.'
924 - [ { get_attr: [networks, control_net_prefix] }, '113' ]
sgudze6bff762019-05-23 18:15:49 +0300925 tenant_net_static_ip:
926 list_join:
927 - '.'
928 - [ { get_attr: [networks, tenant_net_prefix] }, '113' ]
929 external_net_static_ip:
930 list_join:
931 - '.'
932 - [ { get_attr: [networks, external_net_prefix] }, '113' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300933
934 instance_config_host: { get_attr: [cfg01_node, instance_address] }
935
936 dns02_virtual:
937 type: MCP::SingleInstance
938 depends_on: [control_cluster]
939 properties:
940 env_name: { get_param: env_name }
941 mcp_version: { get_param: mcp_version }
942 instance_domain: {get_param: instance_domain}
943 instance_name: dns02
944 instance_flavor: {get_param: dns_flavor}
945 network: { get_attr: [networks, network] }
946 underlay_userdata: { get_file: ./underlay-userdata.yaml }
947 control_net_static_ip:
948 list_join:
949 - '.'
950 - [ { get_attr: [networks, control_net_prefix] }, '114' ]
sgudze6bff762019-05-23 18:15:49 +0300951 tenant_net_static_ip:
952 list_join:
953 - '.'
954 - [ { get_attr: [networks, tenant_net_prefix] }, '114' ]
955 external_net_static_ip:
956 list_join:
957 - '.'
958 - [ { get_attr: [networks, external_net_prefix] }, '114' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300959
960 instance_config_host: { get_attr: [cfg01_node, instance_address] }
961
962outputs:
963
964 control_subnet_cidr:
965 description: Control network CIDR
966 value: { get_param: control_subnet_cidr }
967
968 management_subnet_cidr:
969 description: Admin network CIDR
970 value: { get_param: management_subnet_cidr }
971
972 foundation_floating:
973 description: foundation node IP address (floating) from external network
974 value:
975 get_attr:
976 - foundation_node
977 - instance_floating_address
978...