blob: ea0cb7a255ace287431690fa623b233c8188625a [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
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
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030076resources:
77 networks:
78 type: MCP::Networks
79 properties:
80 stack_name: { get_param: "OS::stack_name" }
81 env_name: { get_param: env_name }
82
83 #flavors:
84 # type: MCP::Flavors
85
86 cfg01_node:
87 type: MCP::MasterNode
88 depends_on: [networks]
89 properties:
90 env_name: { get_param: env_name }
91 mcp_version: { get_param: mcp_version }
92 cfg01_flavor: { get_param: cfg_flavor }
sgudze6bff762019-05-23 18:15:49 +030093 tenant_net_static_ip:
94 list_join:
95 - '.'
96 - [ { get_attr: [networks, tenant_net_prefix] }, '15' ]
97 external_net_static_ip:
98 list_join:
99 - '.'
100 - [ { get_attr: [networks, external_net_prefix] }, '15' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300101 instance_name: cfg01
102 instance_domain: {get_param: instance_domain}
103 network: { get_attr: [networks, network] }
104
105 control_cluster:
106 type: MCP::MultipleInstance
107 depends_on: [cfg01_node]
108 properties:
109 env_name: { get_param: env_name }
110 mcp_version: { get_param: mcp_version }
111 instance_domain: {get_param: instance_domain}
112 instance01_name: ctl01
113 instance02_name: ctl02
114 instance03_name: ctl03
115 instance_flavor: {get_param: ctl_flavor}
116 network: { get_attr: [networks, network] }
117 underlay_userdata: { get_file: ./underlay-userdata.yaml }
118 instance01_control_net_static_ip:
119 list_join:
120 - '.'
121 - [ { get_attr: [networks, control_net_prefix] }, '11' ]
122 instance02_control_net_static_ip:
123 list_join:
124 - '.'
125 - [ { get_attr: [networks, control_net_prefix] }, '12' ]
126 instance03_control_net_static_ip:
127 list_join:
128 - '.'
129 - [ { get_attr: [networks, control_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300130 instance01_tenant_net_static_ip:
131 list_join:
132 - '.'
133 - [ { get_attr: [networks, tenant_net_prefix] }, '11' ]
134 instance02_tenant_net_static_ip:
135 list_join:
136 - '.'
137 - [ { get_attr: [networks, tenant_net_prefix] }, '12' ]
138 instance03_tenant_net_static_ip:
139 list_join:
140 - '.'
141 - [ { get_attr: [networks, tenant_net_prefix] }, '13' ]
142 instance01_external_net_static_ip:
143 list_join:
144 - '.'
145 - [ { get_attr: [networks, external_net_prefix] }, '11' ]
146 instance02_external_net_static_ip:
147 list_join:
148 - '.'
149 - [ { get_attr: [networks, external_net_prefix] }, '12' ]
150 instance03_external_net_static_ip:
151 list_join:
152 - '.'
153 - [ { get_attr: [networks, external_net_prefix] }, '13' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300154
155 instance_config_host: { get_attr: [cfg01_node, instance_address] }
156
157 openstack_database_cluster:
158 type: MCP::MultipleInstance
159 depends_on: [control_cluster]
160 properties:
161 env_name: { get_param: env_name }
162 mcp_version: { get_param: mcp_version }
163 instance_domain: {get_param: instance_domain}
164 instance01_name: dbs01
165 instance02_name: dbs02
166 instance03_name: dbs03
167 instance_flavor: {get_param: dbs_flavor}
168 network: { get_attr: [networks, network] }
169 underlay_userdata: { get_file: ./underlay-userdata.yaml }
170 instance01_control_net_static_ip:
171 list_join:
172 - '.'
173 - [ { get_attr: [networks, control_net_prefix] }, '51' ]
174 instance02_control_net_static_ip:
175 list_join:
176 - '.'
177 - [ { get_attr: [networks, control_net_prefix] }, '52' ]
178 instance03_control_net_static_ip:
179 list_join:
180 - '.'
181 - [ { get_attr: [networks, control_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300182 instance01_tenant_net_static_ip:
183 list_join:
184 - '.'
185 - [ { get_attr: [networks, tenant_net_prefix] }, '51' ]
186 instance02_tenant_net_static_ip:
187 list_join:
188 - '.'
189 - [ { get_attr: [networks, tenant_net_prefix] }, '52' ]
190 instance03_tenant_net_static_ip:
191 list_join:
192 - '.'
193 - [ { get_attr: [networks, tenant_net_prefix] }, '53' ]
194 instance01_external_net_static_ip:
195 list_join:
196 - '.'
197 - [ { get_attr: [networks, external_net_prefix] }, '51' ]
198 instance02_external_net_static_ip:
199 list_join:
200 - '.'
201 - [ { get_attr: [networks, external_net_prefix] }, '52' ]
202 instance03_external_net_static_ip:
203 list_join:
204 - '.'
205 - [ { get_attr: [networks, external_net_prefix] }, '53' ]
206
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300207 instance_config_host: { get_attr: [cfg01_node, instance_address] }
208
209 fake_kvm_cluster:
210 type: MCP::MultipleInstance
211 depends_on: [cfg01_node]
212 properties:
213 env_name: { get_param: env_name }
214 mcp_version: { get_param: mcp_version }
215 instance_domain: {get_param: instance_domain}
216 instance01_name: kvm01
217 instance02_name: kvm02
218 instance03_name: kvm03
219 instance_flavor: {get_param: kvm_fake_flavor}
220 network: { get_attr: [networks, network] }
221 underlay_userdata: { get_file: ./underlay-userdata.yaml }
222 instance01_control_net_static_ip:
223 list_join:
224 - '.'
225 - [ { get_attr: [networks, control_net_prefix] }, '241' ]
226 instance02_control_net_static_ip:
227 list_join:
228 - '.'
229 - [ { get_attr: [networks, control_net_prefix] }, '242' ]
230 instance03_control_net_static_ip:
231 list_join:
232 - '.'
233 - [ { get_attr: [networks, control_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300234 instance01_tenant_net_static_ip:
235 list_join:
236 - '.'
237 - [ { get_attr: [networks, tenant_net_prefix] }, '241' ]
238 instance02_tenant_net_static_ip:
239 list_join:
240 - '.'
241 - [ { get_attr: [networks, tenant_net_prefix] }, '242' ]
242 instance03_tenant_net_static_ip:
243 list_join:
244 - '.'
245 - [ { get_attr: [networks, tenant_net_prefix] }, '243' ]
246 instance01_external_net_static_ip:
247 list_join:
248 - '.'
249 - [ { get_attr: [networks, external_net_prefix] }, '241' ]
250 instance02_external_net_static_ip:
251 list_join:
252 - '.'
253 - [ { get_attr: [networks, external_net_prefix] }, '242' ]
254 instance03_external_net_static_ip:
255 list_join:
256 - '.'
257 - [ { get_attr: [networks, external_net_prefix] }, '243' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300258
259 instance_config_host: { get_attr: [cfg01_node, instance_address] }
260
261 openstack_message_queue_cluster:
262 type: MCP::MultipleInstance
263 depends_on: [openstack_database_cluster]
264 properties:
265 env_name: { get_param: env_name }
266 mcp_version: { get_param: mcp_version }
267 instance_domain: {get_param: instance_domain}
268 instance01_name: msg01
269 instance02_name: msg02
270 instance03_name: msg03
271 instance_flavor: {get_param: msg_flavor}
272 network: { get_attr: [networks, network] }
273 underlay_userdata: { get_file: ./underlay-userdata.yaml }
274 instance01_control_net_static_ip:
275 list_join:
276 - '.'
277 - [ { get_attr: [networks, control_net_prefix] }, '41' ]
278 instance02_control_net_static_ip:
279 list_join:
280 - '.'
281 - [ { get_attr: [networks, control_net_prefix] }, '42' ]
282 instance03_control_net_static_ip:
283 list_join:
284 - '.'
285 - [ { get_attr: [networks, control_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300286 instance01_tenant_net_static_ip:
287 list_join:
288 - '.'
289 - [ { get_attr: [networks, tenant_net_prefix] }, '41' ]
290 instance02_tenant_net_static_ip:
291 list_join:
292 - '.'
293 - [ { get_attr: [networks, tenant_net_prefix] }, '42' ]
294 instance03_tenant_net_static_ip:
295 list_join:
296 - '.'
297 - [ { get_attr: [networks, tenant_net_prefix] }, '43' ]
298 instance01_external_net_static_ip:
299 list_join:
300 - '.'
301 - [ { get_attr: [networks, external_net_prefix] }, '41' ]
302 instance02_external_net_static_ip:
303 list_join:
304 - '.'
305 - [ { get_attr: [networks, external_net_prefix] }, '42' ]
306 instance03_external_net_static_ip:
307 list_join:
308 - '.'
309 - [ { get_attr: [networks, external_net_prefix] }, '43' ]
310
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300311 instance_config_host: { get_attr: [cfg01_node, instance_address] }
312
313 cicd_cluster:
314 type: MCP::MultipleInstance
315 depends_on: [cfg01_node]
316 properties:
317 env_name: { get_param: env_name }
318 mcp_version: { get_param: mcp_version }
319 instance_domain: {get_param: instance_domain}
320 instance01_name: cid01
321 instance02_name: cid02
322 instance03_name: cid03
323 instance_flavor: {get_param: cid_flavor}
324 network: { get_attr: [networks, network] }
325 underlay_userdata: { get_file: ./underlay-userdata.yaml }
326 instance01_control_net_static_ip:
327 list_join:
328 - '.'
329 - [ { get_attr: [networks, control_net_prefix] }, '91' ]
330 instance02_control_net_static_ip:
331 list_join:
332 - '.'
333 - [ { get_attr: [networks, control_net_prefix] }, '92' ]
334 instance03_control_net_static_ip:
335 list_join:
336 - '.'
337 - [ { get_attr: [networks, control_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300338 instance01_tenant_net_static_ip:
339 list_join:
340 - '.'
341 - [ { get_attr: [networks, tenant_net_prefix] }, '91' ]
342 instance02_tenant_net_static_ip:
343 list_join:
344 - '.'
345 - [ { get_attr: [networks, tenant_net_prefix] }, '92' ]
346 instance03_tenant_net_static_ip:
347 list_join:
348 - '.'
349 - [ { get_attr: [networks, tenant_net_prefix] }, '93' ]
350 instance01_external_net_static_ip:
351 list_join:
352 - '.'
353 - [ { get_attr: [networks, external_net_prefix] }, '91' ]
354 instance02_external_net_static_ip:
355 list_join:
356 - '.'
357 - [ { get_attr: [networks, external_net_prefix] }, '92' ]
358 instance03_external_net_static_ip:
359 list_join:
360 - '.'
361 - [ { get_attr: [networks, external_net_prefix] }, '93' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300362
363 instance_config_host: { get_attr: [cfg01_node, instance_address] }
364
365 stacklight_monitor_cluster:
366 type: MCP::MultipleInstance
367 depends_on: [openstack_message_queue_cluster]
368 properties:
369 env_name: { get_param: env_name }
370 mcp_version: { get_param: mcp_version }
371 instance_domain: {get_param: instance_domain}
372 instance01_name: mon01
373 instance02_name: mon02
374 instance03_name: mon03
375 instance_flavor: {get_param: mon_flavor}
376 network: { get_attr: [networks, network] }
377 underlay_userdata: { get_file: ./underlay-userdata.yaml }
378 instance01_control_net_static_ip:
379 list_join:
380 - '.'
381 - [ { get_attr: [networks, control_net_prefix] }, '71' ]
382 instance02_control_net_static_ip:
383 list_join:
384 - '.'
385 - [ { get_attr: [networks, control_net_prefix] }, '72' ]
386 instance03_control_net_static_ip:
387 list_join:
388 - '.'
389 - [ { get_attr: [networks, control_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300390 instance01_tenant_net_static_ip:
391 list_join:
392 - '.'
393 - [ { get_attr: [networks, tenant_net_prefix] }, '71' ]
394 instance02_tenant_net_static_ip:
395 list_join:
396 - '.'
397 - [ { get_attr: [networks, tenant_net_prefix] }, '72' ]
398 instance03_tenant_net_static_ip:
399 list_join:
400 - '.'
401 - [ { get_attr: [networks, tenant_net_prefix] }, '73' ]
402 instance01_external_net_static_ip:
403 list_join:
404 - '.'
405 - [ { get_attr: [networks, external_net_prefix] }, '71' ]
406 instance02_external_net_static_ip:
407 list_join:
408 - '.'
409 - [ { get_attr: [networks, external_net_prefix] }, '72' ]
410 instance03_external_net_static_ip:
411 list_join:
412 - '.'
413 - [ { get_attr: [networks, external_net_prefix] }, '73' ]
414
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300415 instance_config_host: { get_attr: [cfg01_node, instance_address] }
416
417 stacklight_log_cluster:
418 type: MCP::MultipleInstance
419 depends_on: [stacklight_monitor_cluster]
420 properties:
421 env_name: { get_param: env_name }
422 mcp_version: { get_param: mcp_version }
423 instance_domain: {get_param: instance_domain}
424 instance01_name: log01
425 instance02_name: log02
426 instance03_name: log03
427 instance_flavor: {get_param: log_flavor}
428 network: { get_attr: [networks, network] }
429 underlay_userdata: { get_file: ./underlay-userdata.yaml }
430 instance01_control_net_static_ip:
431 list_join:
432 - '.'
433 - [ { get_attr: [networks, control_net_prefix] }, '61' ]
434 instance02_control_net_static_ip:
435 list_join:
436 - '.'
437 - [ { get_attr: [networks, control_net_prefix] }, '62' ]
438 instance03_control_net_static_ip:
439 list_join:
440 - '.'
441 - [ { get_attr: [networks, control_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300442 instance01_tenant_net_static_ip:
443 list_join:
444 - '.'
445 - [ { get_attr: [networks, tenant_net_prefix] }, '61' ]
446 instance02_tenant_net_static_ip:
447 list_join:
448 - '.'
449 - [ { get_attr: [networks, tenant_net_prefix] }, '62' ]
450 instance03_tenant_net_static_ip:
451 list_join:
452 - '.'
453 - [ { get_attr: [networks, tenant_net_prefix] }, '63' ]
454 instance01_external_net_static_ip:
455 list_join:
456 - '.'
457 - [ { get_attr: [networks, external_net_prefix] }, '61' ]
458 instance02_external_net_static_ip:
459 list_join:
460 - '.'
461 - [ { get_attr: [networks, external_net_prefix] }, '62' ]
462 instance03_external_net_static_ip:
463 list_join:
464 - '.'
465 - [ { get_attr: [networks, external_net_prefix] }, '63' ]
466
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300467 instance_config_host: { get_attr: [cfg01_node, instance_address] }
468
469 stacklight_mtr_cluster:
470 type: MCP::MultipleInstance
471 depends_on: [stacklight_log_cluster]
472 properties:
473 env_name: { get_param: env_name }
474 mcp_version: { get_param: mcp_version }
475 instance_domain: {get_param: instance_domain}
476 instance01_name: mtr01
477 instance02_name: mtr02
478 instance03_name: mtr03
479 instance_flavor: {get_param: mtr_flavor}
480 network: { get_attr: [networks, network] }
481 underlay_userdata: { get_file: ./underlay-userdata.yaml }
482 instance01_control_net_static_ip:
483 list_join:
484 - '.'
485 - [ { get_attr: [networks, control_net_prefix] }, '97' ]
486 instance02_control_net_static_ip:
487 list_join:
488 - '.'
489 - [ { get_attr: [networks, control_net_prefix] }, '98' ]
490 instance03_control_net_static_ip:
491 list_join:
492 - '.'
493 - [ { get_attr: [networks, control_net_prefix] }, '99' ]
sgudze6bff762019-05-23 18:15:49 +0300494 instance01_tenant_net_static_ip:
495 list_join:
496 - '.'
497 - [ { get_attr: [networks, tenant_net_prefix] }, '97' ]
498 instance02_tenant_net_static_ip:
499 list_join:
500 - '.'
501 - [ { get_attr: [networks, tenant_net_prefix] }, '98' ]
502 instance03_tenant_net_static_ip:
503 list_join:
504 - '.'
505 - [ { get_attr: [networks, tenant_net_prefix] }, '99' ]
506 instance01_external_net_static_ip:
507 list_join:
508 - '.'
509 - [ { get_attr: [networks, external_net_prefix] }, '97' ]
510 instance02_external_net_static_ip:
511 list_join:
512 - '.'
513 - [ { get_attr: [networks, external_net_prefix] }, '98' ]
514 instance03_external_net_static_ip:
515 list_join:
516 - '.'
517 - [ { get_attr: [networks, external_net_prefix] }, '99' ]
518
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300519 instance_config_host: { get_attr: [cfg01_node, instance_address] }
520
521 prx01_virtual:
522 type: MCP::SingleInstance
523 depends_on: [control_cluster]
524 properties:
525 env_name: { get_param: env_name }
526 mcp_version: { get_param: mcp_version }
527 instance_domain: {get_param: instance_domain}
528 instance_name: prx01
529 instance_flavor: {get_param: prx_flavor}
530 network: { get_attr: [networks, network] }
531 underlay_userdata: { get_file: ./underlay-userdata.yaml }
532 control_net_static_ip:
533 list_join:
534 - '.'
535 - [ { get_attr: [networks, control_net_prefix] }, '81' ]
sgudze6bff762019-05-23 18:15:49 +0300536 tenant_net_static_ip:
537 list_join:
538 - '.'
539 - [ { get_attr: [networks, tenant_net_prefix] }, '81' ]
540 external_net_static_ip:
541 list_join:
542 - '.'
543 - [ { get_attr: [networks, external_net_prefix] }, '81' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300544
545 instance_config_host: { get_attr: [cfg01_node, instance_address] }
546
547 prx02_virtual:
548 type: MCP::SingleInstance
549 depends_on: [control_cluster]
550 properties:
551 env_name: { get_param: env_name }
552 mcp_version: { get_param: mcp_version }
553 instance_domain: {get_param: instance_domain}
554 instance_name: prx02
555 instance_flavor: {get_param: prx_flavor}
556 network: { get_attr: [networks, network] }
557 underlay_userdata: { get_file: ./underlay-userdata.yaml }
558 control_net_static_ip:
559 list_join:
560 - '.'
561 - [ { get_attr: [networks, control_net_prefix] }, '82' ]
sgudze6bff762019-05-23 18:15:49 +0300562 tenant_net_static_ip:
563 list_join:
564 - '.'
565 - [ { get_attr: [networks, tenant_net_prefix] }, '82' ]
566 external_net_static_ip:
567 list_join:
568 - '.'
569 - [ { get_attr: [networks, external_net_prefix] }, '82' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300570
571 instance_config_host: { get_attr: [cfg01_node, instance_address] }
572
573 cmp001_virtual:
574 type: MCP::Compute
575 depends_on: [cfg01_node]
576 properties:
577 env_name: { get_param: env_name }
578 mcp_version: { get_param: mcp_version }
579 instance_domain: {get_param: instance_domain}
580 instance_name: cmp001
581 instance_flavor: {get_param: cmp_flavor}
582 network: { get_attr: [networks, network] }
583 underlay_userdata: { get_file: ./underlay-userdata.yaml }
584 control_net_static_ip:
585 list_join:
586 - '.'
587 - [ { get_attr: [networks, control_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300588 tenant_net_static_ip:
589 list_join:
590 - '.'
591 - [ { get_attr: [networks, tenant_net_prefix] }, '101' ]
592 external_net_static_ip:
593 list_join:
594 - '.'
595 - [ { get_attr: [networks, external_net_prefix] }, '101' ]
596
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300597 instance_config_host: { get_attr: [cfg01_node, instance_address] }
598
599 cmp002_virtual:
600 type: MCP::Compute
601 depends_on: [cfg01_node]
602 properties:
603 env_name: { get_param: env_name }
604 mcp_version: { get_param: mcp_version }
605 instance_domain: {get_param: instance_domain}
606 instance_name: cmp002
607 instance_flavor: {get_param: cmp_flavor}
608 network: { get_attr: [networks, network] }
609 underlay_userdata: { get_file: ./underlay-userdata.yaml }
610 control_net_static_ip:
611 list_join:
612 - '.'
613 - [ { get_attr: [networks, control_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300614 tenant_net_static_ip:
615 list_join:
616 - '.'
617 - [ { get_attr: [networks, tenant_net_prefix] }, '102' ]
618 external_net_static_ip:
619 list_join:
620 - '.'
621 - [ { get_attr: [networks, external_net_prefix] }, '102' ]
622
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300623 instance_config_host: { get_attr: [cfg01_node, instance_address] }
624
625 foundation_node:
626 type: MCP::FoundationNode
627 depends_on: [networks]
628 properties:
629 env_name: { get_param: env_name }
630 mcp_version: { get_param: mcp_version }
631 instance_domain: {get_param: instance_domain}
632 instance_name: foundation
Dennis Dmitrievcba86122019-05-24 13:41:46 +0300633 instance_image: { get_param: foundation_image }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300634 instance_flavor: {get_param: foundation_flavor}
635 network: { get_attr: [networks, network] }
636 underlay_userdata: { get_file: ./underlay--user-data-foundation.yaml }
637 control_net_static_ip:
638 list_join:
639 - '.'
640 - [ { get_attr: [networks, control_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300641 tenant_net_static_ip:
642 list_join:
643 - '.'
644 - [ { get_attr: [networks, tenant_net_prefix] }, '5' ]
645 external_net_static_ip:
646 list_join:
647 - '.'
648 - [ { get_attr: [networks, external_net_prefix] }, '5' ]
649
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300650 instance_config_host: { get_attr: [cfg01_node, instance_address] }
651
652 ceph_cmn_cluster:
653 type: MCP::MultipleInstance
654 depends_on: [cfg01_node]
655 properties:
656 env_name: { get_param: env_name }
657 mcp_version: { get_param: mcp_version }
658 instance_domain: {get_param: instance_domain}
659 instance01_name: cmn01
660 instance02_name: cmn02
661 instance03_name: cmn03
662 instance_flavor: {get_param: cmn_flavor}
663 network: { get_attr: [networks, network] }
664 underlay_userdata: { get_file: ./underlay-userdata.yaml }
665 instance01_control_net_static_ip:
666 list_join:
667 - '.'
668 - [ { get_attr: [networks, control_net_prefix] }, '66' ]
669 instance02_control_net_static_ip:
670 list_join:
671 - '.'
672 - [ { get_attr: [networks, control_net_prefix] }, '67' ]
673 instance03_control_net_static_ip:
674 list_join:
675 - '.'
676 - [ { get_attr: [networks, control_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300677 instance01_tenant_net_static_ip:
678 list_join:
679 - '.'
680 - [ { get_attr: [networks, tenant_net_prefix] }, '66' ]
681 instance02_tenant_net_static_ip:
682 list_join:
683 - '.'
684 - [ { get_attr: [networks, tenant_net_prefix] }, '67' ]
685 instance03_tenant_net_static_ip:
686 list_join:
687 - '.'
688 - [ { get_attr: [networks, tenant_net_prefix] }, '68' ]
689 instance01_external_net_static_ip:
690 list_join:
691 - '.'
692 - [ { get_attr: [networks, external_net_prefix] }, '66' ]
693 instance02_external_net_static_ip:
694 list_join:
695 - '.'
696 - [ { get_attr: [networks, external_net_prefix] }, '67' ]
697 instance03_external_net_static_ip:
698 list_join:
699 - '.'
700 - [ { get_attr: [networks, external_net_prefix] }, '68' ]
701
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300702 instance_config_host: { get_attr: [cfg01_node, instance_address] }
703
704 ceph_rgw_cluster:
705 type: MCP::MultipleInstance
706 depends_on: [cfg01_node]
707 properties:
708 env_name: { get_param: env_name }
709 mcp_version: { get_param: mcp_version }
710 instance_domain: {get_param: instance_domain}
711 instance01_name: rgw01
712 instance02_name: rgw02
713 instance03_name: rgw03
714 instance_flavor: {get_param: rgw_flavor}
715 network: { get_attr: [networks, network] }
716 underlay_userdata: { get_file: ./underlay-userdata.yaml }
717 instance01_control_net_static_ip:
718 list_join:
719 - '.'
720 - [ { get_attr: [networks, control_net_prefix] }, '76' ]
721 instance02_control_net_static_ip:
722 list_join:
723 - '.'
724 - [ { get_attr: [networks, control_net_prefix] }, '77' ]
725 instance03_control_net_static_ip:
726 list_join:
727 - '.'
728 - [ { get_attr: [networks, control_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300729 instance01_tenant_net_static_ip:
730 list_join:
731 - '.'
732 - [ { get_attr: [networks, tenant_net_prefix] }, '76' ]
733 instance02_tenant_net_static_ip:
734 list_join:
735 - '.'
736 - [ { get_attr: [networks, tenant_net_prefix] }, '77' ]
737 instance03_tenant_net_static_ip:
738 list_join:
739 - '.'
740 - [ { get_attr: [networks, tenant_net_prefix] }, '78' ]
741 instance01_external_net_static_ip:
742 list_join:
743 - '.'
744 - [ { get_attr: [networks, external_net_prefix] }, '76' ]
745 instance02_external_net_static_ip:
746 list_join:
747 - '.'
748 - [ { get_attr: [networks, external_net_prefix] }, '77' ]
749 instance03_external_net_static_ip:
750 list_join:
751 - '.'
752 - [ { get_attr: [networks, external_net_prefix] }, '78' ]
753
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300754 instance_config_host: { get_attr: [cfg01_node, instance_address] }
755
756 ceph_osd_cluster:
757 type: MCP::MultipleInstance
758 depends_on: [cfg01_node]
759 properties:
760 env_name: { get_param: env_name }
761 mcp_version: { get_param: mcp_version }
762 instance_domain: {get_param: instance_domain}
763 instance01_name: osd001
764 instance02_name: osd002
765 instance03_name: osd003
766 instance_flavor: {get_param: osd_flavor}
767 network: { get_attr: [networks, network] }
768 underlay_userdata: { get_file: ./underlay-userdata.yaml }
769 instance01_control_net_static_ip:
770 list_join:
771 - '.'
772 - [ { get_attr: [networks, control_net_prefix] }, '201' ]
773 instance02_control_net_static_ip:
774 list_join:
775 - '.'
776 - [ { get_attr: [networks, control_net_prefix] }, '202' ]
777 instance03_control_net_static_ip:
778 list_join:
779 - '.'
780 - [ { get_attr: [networks, control_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300781 instance01_tenant_net_static_ip:
782 list_join:
783 - '.'
784 - [ { get_attr: [networks, tenant_net_prefix] }, '201' ]
785 instance02_tenant_net_static_ip:
786 list_join:
787 - '.'
788 - [ { get_attr: [networks, tenant_net_prefix] }, '202' ]
789 instance03_tenant_net_static_ip:
790 list_join:
791 - '.'
792 - [ { get_attr: [networks, tenant_net_prefix] }, '203' ]
793 instance01_external_net_static_ip:
794 list_join:
795 - '.'
796 - [ { get_attr: [networks, external_net_prefix] }, '201' ]
797 instance02_external_net_static_ip:
798 list_join:
799 - '.'
800 - [ { get_attr: [networks, external_net_prefix] }, '202' ]
801 instance03_external_net_static_ip:
802 list_join:
803 - '.'
804 - [ { get_attr: [networks, external_net_prefix] }, '203' ]
805
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300806 instance_config_host: { get_attr: [cfg01_node, instance_address] }
807
808 openstack_gtw_cluster:
809 type: MCP::MultipleInstance
810 depends_on: [cfg01_node]
811 properties:
812 env_name: { get_param: env_name }
813 mcp_version: { get_param: mcp_version }
814 instance_domain: {get_param: instance_domain}
815 instance01_name: gtw01
816 instance02_name: gtw02
817 instance03_name: gtw03
818 instance_flavor: {get_param: gtw_flavor}
819 network: { get_attr: [networks, network] }
820 underlay_userdata: { get_file: ./underlay-userdata.yaml }
821 instance01_control_net_static_ip:
822 list_join:
823 - '.'
824 - [ { get_attr: [networks, control_net_prefix] }, '224' ]
825 instance02_control_net_static_ip:
826 list_join:
827 - '.'
828 - [ { get_attr: [networks, control_net_prefix] }, '225' ]
829 instance03_control_net_static_ip:
830 list_join:
831 - '.'
832 - [ { get_attr: [networks, control_net_prefix] }, '226' ]
sgudze6bff762019-05-23 18:15:49 +0300833 instance01_tenant_net_static_ip:
834 list_join:
835 - '.'
836 - [ { get_attr: [networks, tenant_net_prefix] }, '224' ]
837 instance02_tenant_net_static_ip:
838 list_join:
839 - '.'
840 - [ { get_attr: [networks, tenant_net_prefix] }, '225' ]
841 instance03_tenant_net_static_ip:
842 list_join:
843 - '.'
844 - [ { get_attr: [networks, tenant_net_prefix] }, '226' ]
845 instance01_external_net_static_ip:
846 list_join:
847 - '.'
848 - [ { get_attr: [networks, external_net_prefix] }, '224' ]
849 instance02_external_net_static_ip:
850 list_join:
851 - '.'
852 - [ { get_attr: [networks, external_net_prefix] }, '225' ]
853 instance03_external_net_static_ip:
854 list_join:
855 - '.'
856 - [ { get_attr: [networks, external_net_prefix] }, '226' ]
857
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300858 instance_config_host: { get_attr: [cfg01_node, instance_address] }
859
860 openstack_barbican_cluster:
861 type: MCP::MultipleInstance
862 depends_on: [control_cluster]
863 properties:
864 env_name: { get_param: env_name }
865 mcp_version: { get_param: mcp_version }
866 instance_domain: {get_param: instance_domain}
867 instance01_name: kmn01
868 instance02_name: kmn02
869 instance03_name: kmn03
870 instance_flavor: {get_param: kmn_flavor}
871 network: { get_attr: [networks, network] }
872 underlay_userdata: { get_file: ./underlay-userdata.yaml }
873 instance01_control_net_static_ip:
874 list_join:
875 - '.'
876 - [ { get_attr: [networks, control_net_prefix] }, '45' ]
877 instance02_control_net_static_ip:
878 list_join:
879 - '.'
880 - [ { get_attr: [networks, control_net_prefix] }, '46' ]
881 instance03_control_net_static_ip:
882 list_join:
883 - '.'
884 - [ { get_attr: [networks, control_net_prefix] }, '47' ]
sgudze6bff762019-05-23 18:15:49 +0300885 instance01_tenant_net_static_ip:
886 list_join:
887 - '.'
888 - [ { get_attr: [networks, tenant_net_prefix] }, '45' ]
889 instance02_tenant_net_static_ip:
890 list_join:
891 - '.'
892 - [ { get_attr: [networks, tenant_net_prefix] }, '46' ]
893 instance03_tenant_net_static_ip:
894 list_join:
895 - '.'
896 - [ { get_attr: [networks, tenant_net_prefix] }, '47' ]
897 instance01_external_net_static_ip:
898 list_join:
899 - '.'
900 - [ { get_attr: [networks, external_net_prefix] }, '45' ]
901 instance02_external_net_static_ip:
902 list_join:
903 - '.'
904 - [ { get_attr: [networks, external_net_prefix] }, '46' ]
905 instance03_external_net_static_ip:
906 list_join:
907 - '.'
908 - [ { get_attr: [networks, external_net_prefix] }, '47' ]
909
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300910 instance_config_host: { get_attr: [cfg01_node, instance_address] }
911
912 dns01_virtual:
913 type: MCP::SingleInstance
914 depends_on: [control_cluster]
915 properties:
916 env_name: { get_param: env_name }
917 mcp_version: { get_param: mcp_version }
918 instance_domain: {get_param: instance_domain}
919 instance_name: dns01
920 instance_flavor: {get_param: dns_flavor}
921 network: { get_attr: [networks, network] }
922 underlay_userdata: { get_file: ./underlay-userdata.yaml }
923 control_net_static_ip:
924 list_join:
925 - '.'
926 - [ { get_attr: [networks, control_net_prefix] }, '113' ]
sgudze6bff762019-05-23 18:15:49 +0300927 tenant_net_static_ip:
928 list_join:
929 - '.'
930 - [ { get_attr: [networks, tenant_net_prefix] }, '113' ]
931 external_net_static_ip:
932 list_join:
933 - '.'
934 - [ { get_attr: [networks, external_net_prefix] }, '113' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300935
936 instance_config_host: { get_attr: [cfg01_node, instance_address] }
937
938 dns02_virtual:
939 type: MCP::SingleInstance
940 depends_on: [control_cluster]
941 properties:
942 env_name: { get_param: env_name }
943 mcp_version: { get_param: mcp_version }
944 instance_domain: {get_param: instance_domain}
945 instance_name: dns02
946 instance_flavor: {get_param: dns_flavor}
947 network: { get_attr: [networks, network] }
948 underlay_userdata: { get_file: ./underlay-userdata.yaml }
949 control_net_static_ip:
950 list_join:
951 - '.'
952 - [ { get_attr: [networks, control_net_prefix] }, '114' ]
sgudze6bff762019-05-23 18:15:49 +0300953 tenant_net_static_ip:
954 list_join:
955 - '.'
956 - [ { get_attr: [networks, tenant_net_prefix] }, '114' ]
957 external_net_static_ip:
958 list_join:
959 - '.'
960 - [ { get_attr: [networks, external_net_prefix] }, '114' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300961
962 instance_config_host: { get_attr: [cfg01_node, instance_address] }
963
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +0300964 openstack_telemetry_cluster:
965 type: MCP::MultipleInstance
966 depends_on: [control_cluster]
967 properties:
968 env_name: { get_param: env_name }
969 mcp_version: { get_param: mcp_version }
970 instance_domain: {get_param: instance_domain}
971 instance01_name: mdb01
972 instance02_name: mdb02
973 instance03_name: mdb03
974 instance_flavor: {get_param: mdb_flavor}
975 network: { get_attr: [networks, network] }
976 underlay_userdata: { get_file: ./underlay-userdata.yaml }
977 instance01_control_net_static_ip:
978 list_join:
979 - '.'
980 - [ { get_attr: [networks, control_net_prefix] }, '84' ]
981 instance02_control_net_static_ip:
982 list_join:
983 - '.'
984 - [ { get_attr: [networks, control_net_prefix] }, '85' ]
985 instance03_control_net_static_ip:
986 list_join:
987 - '.'
988 - [ { get_attr: [networks, control_net_prefix] }, '86' ]
989 instance01_tenant_net_static_ip:
990 list_join:
991 - '.'
992 - [ { get_attr: [networks, tenant_net_prefix] }, '84' ]
993 instance02_tenant_net_static_ip:
994 list_join:
995 - '.'
996 - [ { get_attr: [networks, tenant_net_prefix] }, '85' ]
997 instance03_tenant_net_static_ip:
998 list_join:
999 - '.'
1000 - [ { get_attr: [networks, tenant_net_prefix] }, '86' ]
1001 instance01_external_net_static_ip:
1002 list_join:
1003 - '.'
1004 - [ { get_attr: [networks, external_net_prefix] }, '84' ]
1005 instance02_external_net_static_ip:
1006 list_join:
1007 - '.'
1008 - [ { get_attr: [networks, external_net_prefix] }, '85' ]
1009 instance03_external_net_static_ip:
1010 list_join:
1011 - '.'
1012 - [ { get_attr: [networks, external_net_prefix] }, '86' ]
1013
1014 instance_config_host: { get_attr: [cfg01_node, instance_address] }
1015
Tatyana Leontovich1e063f02019-05-08 15:06:33 +03001016outputs:
1017
1018 control_subnet_cidr:
1019 description: Control network CIDR
1020 value: { get_param: control_subnet_cidr }
1021
1022 management_subnet_cidr:
1023 description: Admin network CIDR
1024 value: { get_param: management_subnet_cidr }
1025
1026 foundation_floating:
1027 description: foundation node IP address (floating) from external network
1028 value:
1029 get_attr:
1030 - foundation_node
1031 - instance_floating_address
1032...