blob: d3bacce0c976d00db99c1e4ed4162866566678b0 [file] [log] [blame]
Oleksii Butenkoba680de2018-08-23 14:15:19 +03001{% set REPOSITORY_SUITE = os_env('REPOSITORY_SUITE', 'proposed') %}
2
3{% import 'cookied-mcp-pike-dvr-ceph/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
4{% import 'cookied-mcp-pike-dvr-ceph/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
5{% import 'cookied-mcp-pike-dvr-ceph/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
6
7---
8aliases:
9 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
10 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
11 - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }}
12 - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }}
13
14{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-mcp-pike-dvr-ceph') %}
15{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME) + '.local' %}
16{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
17{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %}
18{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %}
19{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %}
20{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp01.' + DOMAIN_NAME) %}
21{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp02.' + DOMAIN_NAME) %}
22{% set HOSTNAME_CMN01 = os_env('HOSTNAME_CMN01', 'cmn01.' + DOMAIN_NAME) %}
23{% set HOSTNAME_CMN02 = os_env('HOSTNAME_CMN02', 'cmn02.' + DOMAIN_NAME) %}
24{% set HOSTNAME_CMN03 = os_env('HOSTNAME_CMN03', 'cmn03.' + DOMAIN_NAME) %}
25{% set HOSTNAME_RGW01 = os_env('HOSTNAME_CMN01', 'rgw01.' + DOMAIN_NAME) %}
26{% set HOSTNAME_RGW02 = os_env('HOSTNAME_CMN02', 'rgw02.' + DOMAIN_NAME) %}
27{% set HOSTNAME_RGW03 = os_env('HOSTNAME_CMN03', 'rgw03.' + DOMAIN_NAME) %}
28{% set HOSTNAME_OSD1 = os_env('HOSTNAME_OSD1', 'osd1.' + DOMAIN_NAME) %}
29{% set HOSTNAME_OSD2 = os_env('HOSTNAME_OSD2', 'osd2.' + DOMAIN_NAME) %}
30{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
31{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
32
33template:
34 devops_settings:
35 env_name: {{ os_env('ENV_NAME', 'cookied-mcp-pike-dvr-ceph_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
36
37 address_pools:
38 private-pool01:
39 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
40 params:
41 ip_reserved:
42 gateway: +1
43 l2_network_device: +1
44 default_{{ HOSTNAME_CFG01 }}: +15
45 default_{{ HOSTNAME_CTL01 }}: +11
46 default_{{ HOSTNAME_CTL02 }}: +12
47 default_{{ HOSTNAME_CTL03 }}: +13
48 default_{{ HOSTNAME_CMP01 }}: +105
49 default_{{ HOSTNAME_CMP02 }}: +106
50 default_{{ HOSTNAME_OSD1 }}: +94
51 default_{{ HOSTNAME_OSD2 }}: +95
52 default_{{ HOSTNAME_CMN01 }}: +96
53 default_{{ HOSTNAME_CMN02 }}: +97
54 default_{{ HOSTNAME_CMN03 }}: +98
55 default_{{ HOSTNAME_RGW01 }}: +76
56 default_{{ HOSTNAME_RGW02 }}: +77
57 default_{{ HOSTNAME_RGW03 }}: +78
58 default_{{ HOSTNAME_GTW01 }}: +110
59 default_{{ HOSTNAME_PRX01 }}: +121
60 ip_ranges:
61 dhcp: [+70, -10]
62
63 admin-pool01:
64 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
65 params:
66 ip_reserved:
67 gateway: +1
68 l2_network_device: +1
69 default_{{ HOSTNAME_CFG01 }}: +15
70 default_{{ HOSTNAME_CTL01 }}: +11
71 default_{{ HOSTNAME_CTL02 }}: +12
72 default_{{ HOSTNAME_CTL03 }}: +13
73 default_{{ HOSTNAME_CMP01 }}: +105
74 default_{{ HOSTNAME_CMP02 }}: +106
75 default_{{ HOSTNAME_OSD1 }}: +94
76 default_{{ HOSTNAME_OSD2 }}: +95
77 default_{{ HOSTNAME_CMN01 }}: +96
78 default_{{ HOSTNAME_CMN02 }}: +97
79 default_{{ HOSTNAME_CMN03 }}: +98
80 default_{{ HOSTNAME_RGW01 }}: +76
81 default_{{ HOSTNAME_RGW02 }}: +77
82 default_{{ HOSTNAME_RGW03 }}: +78
83 default_{{ HOSTNAME_GTW01 }}: +110
84 default_{{ HOSTNAME_PRX01 }}: +121
85 ip_ranges:
86 dhcp: [+70, -10]
87
88 tenant-pool01:
89 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
90 params:
91 ip_reserved:
92 gateway: +1
93 l2_network_device: +1
94 default_{{ HOSTNAME_CFG01 }}: +15
95 default_{{ HOSTNAME_CTL01 }}: +11
96 default_{{ HOSTNAME_CTL02 }}: +12
97 default_{{ HOSTNAME_CTL03 }}: +13
98 default_{{ HOSTNAME_CMP01 }}: +105
99 default_{{ HOSTNAME_CMP02 }}: +106
100 default_{{ HOSTNAME_OSD1 }}: +94
101 default_{{ HOSTNAME_OSD2 }}: +95
102 default_{{ HOSTNAME_CMN01 }}: +96
103 default_{{ HOSTNAME_CMN02 }}: +97
104 default_{{ HOSTNAME_CMN03 }}: +98
105 default_{{ HOSTNAME_RGW01 }}: +76
106 default_{{ HOSTNAME_RGW02 }}: +77
107 default_{{ HOSTNAME_RGW03 }}: +78
108 default_{{ HOSTNAME_GTW01 }}: +110
109 default_{{ HOSTNAME_PRX01 }}: +121
110 ip_ranges:
111 dhcp: [+10, -10]
112
113 external-pool01:
114 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
115 params:
116 ip_reserved:
117 gateway: +1
118 l2_network_device: +1
119 default_{{ HOSTNAME_CFG01 }}: +15
120 default_{{ HOSTNAME_CTL01 }}: +11
121 default_{{ HOSTNAME_CTL02 }}: +12
122 default_{{ HOSTNAME_CTL03 }}: +13
123 default_{{ HOSTNAME_CMP01 }}: +105
124 default_{{ HOSTNAME_CMP02 }}: +106
125 default_{{ HOSTNAME_OSD1 }}: +94
126 default_{{ HOSTNAME_OSD2 }}: +95
127 default_{{ HOSTNAME_CMN01 }}: +96
128 default_{{ HOSTNAME_CMN02 }}: +97
129 default_{{ HOSTNAME_CMN03 }}: +98
130 default_{{ HOSTNAME_RGW01 }}: +76
131 default_{{ HOSTNAME_RGW02 }}: +77
132 default_{{ HOSTNAME_RGW03 }}: +78
133 default_{{ HOSTNAME_GTW01 }}: +110
134 default_{{ HOSTNAME_PRX01 }}: +121
135 ip_ranges:
136 dhcp: [+10, -10]
137
138 storage-pool01:
139 net: {{ os_env('STORAGE_ADDRESS_POOL01', '10.100.0.0/16:24') }}
140 params:
141 ip_reserved:
142 gateway: +1
143 l2_network_device: +1
144 default_{{ HOSTNAME_OSD1 }}: +94
145 default_{{ HOSTNAME_OSD2 }}: +95
146 default_{{ HOSTNAME_CMN01 }}: +96
147 default_{{ HOSTNAME_CMN02 }}: +97
148 default_{{ HOSTNAME_CMN03 }}: +98
149 default_{{ HOSTNAME_RGW01 }}: +76
150 default_{{ HOSTNAME_RGW02 }}: +77
151 default_{{ HOSTNAME_RGW03 }}: +78
152 ip_ranges:
153 dhcp: [+10, -10]
154
155
156 groups:
157 - name: default
158 driver:
159 name: devops.driver.libvirt
160 params:
161 connection_string: !os_env CONNECTION_STRING, qemu:///system
162 storage_pool_name: !os_env STORAGE_POOL_NAME, default
163 stp: False
164 hpet: False
165 enable_acpi: true
166 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
167 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
168
169 network_pools:
170 admin: admin-pool01
171 private: private-pool01
172 tenant: tenant-pool01
173 external: external-pool01
174 storage: storage-pool01
175
176 l2_network_devices:
177 private:
178 address_pool: private-pool01
179 dhcp: false
180 forward:
181 mode: route
182
183 admin:
184 address_pool: admin-pool01
185 dhcp: true
186 forward:
187 mode: nat
188
189 tenant:
190 address_pool: tenant-pool01
191 dhcp: false
192
193 external:
194 address_pool: external-pool01
195 dhcp: true
196 forward:
197 mode: route
198
199 storage:
200 address_pool: storage-pool01
201 dhcp: true
202 forward:
203 mode: route
204
205
206 group_volumes:
207 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
208 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
209 format: qcow2
210 - name: cfg01_day01_image # Pre-configured day01 image
211 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
212 format: qcow2
213 - name: mcp_ubuntu_1604_image # Pre-configured image for control plane
214 source_image: !os_env MCP_IMAGE_PATH1604
215 format: qcow2
216
217 nodes:
218 - name: {{ HOSTNAME_CFG01 }}
219 role: salt_master
220 params:
221 vcpu: !os_env SLAVE_NODE_CPU, 2
222 memory: !os_env SLAVE_NODE_MEMORY, 8192
223 boot:
224 - hd
225 cloud_init_volume_name: iso
226 cloud_init_iface_up: ens3
227 volumes:
228 - name: system
229 capacity: !os_env NODE_VOLUME_SIZE, 150
230 backing_store: cfg01_day01_image
231 format: qcow2
232 - name: iso # Volume with name 'iso' will be used
233 # for store image with cloud-init metadata.
234 capacity: 1
235 format: raw
236 device: cdrom
237 bus: ide
238 cloudinit_meta_data: *cloudinit_meta_data
239 cloudinit_user_data: *cloudinit_user_data_cfg01
240
241 interfaces:
242 - label: ens3
243 l2_network_device: admin
244 interface_model: *interface_model
245 - label: ens4
246 l2_network_device: private
247 interface_model: *interface_model
248 network_config:
249 ens3:
250 networks:
251 - admin
252 ens4:
253 networks:
254 - private
255
256 - name: {{ HOSTNAME_CTL01 }}
257 role: salt_minion
258 params:
259 vcpu: !os_env SLAVE_NODE_CPU, 2
260 memory: !os_env SLAVE_NODE_MEMORY, 16384
261 boot:
262 - hd
263 cloud_init_volume_name: iso
264 cloud_init_iface_up: ens3
265 volumes:
266 - name: system
267 capacity: !os_env NODE_VOLUME_SIZE, 150
268 backing_store: mcp_ubuntu_1604_image
269 format: qcow2
270 - name: cinder
271 capacity: 50
272 format: qcow2
273 - name: iso # Volume with name 'iso' will be used
274 # for store image with cloud-init metadata.
275 capacity: 1
276 format: raw
277 device: cdrom
278 bus: ide
279 cloudinit_meta_data: *cloudinit_meta_data
280 cloudinit_user_data: *cloudinit_user_data_1604
281
282 interfaces: &interfaces
283 - label: ens3
284 l2_network_device: admin
285 interface_model: *interface_model
286 - label: ens4
287 l2_network_device: private
288 interface_model: *interface_model
289 network_config: &network_config
290 ens3:
291 networks:
292 - admin
293 ens4:
294 networks:
295 - private
296
297 - name: {{ HOSTNAME_CTL02 }}
298 role: salt_minion
299 params:
300 vcpu: !os_env SLAVE_NODE_CPU, 2
301 memory: !os_env SLAVE_NODE_MEMORY, 16384
302 boot:
303 - hd
304 cloud_init_volume_name: iso
305 cloud_init_iface_up: ens3
306 volumes:
307 - name: system
308 capacity: !os_env NODE_VOLUME_SIZE, 150
309 backing_store: mcp_ubuntu_1604_image
310 format: qcow2
311 - name: cinder
312 capacity: 50
313 format: qcow2
314 - name: iso # Volume with name 'iso' will be used
315 # for store image with cloud-init metadata.
316 capacity: 1
317 format: raw
318 device: cdrom
319 bus: ide
320 cloudinit_meta_data: *cloudinit_meta_data
321 cloudinit_user_data: *cloudinit_user_data_1604
322
323 interfaces: *interfaces
324 network_config: *network_config
325
326 - name: {{ HOSTNAME_CTL03 }}
327 role: salt_minion
328 params:
329 vcpu: !os_env SLAVE_NODE_CPU, 2
330 memory: !os_env SLAVE_NODE_MEMORY, 16384
331 boot:
332 - hd
333 cloud_init_volume_name: iso
334 cloud_init_iface_up: ens3
335 volumes:
336 - name: system
337 capacity: !os_env NODE_VOLUME_SIZE, 150
338 backing_store: mcp_ubuntu_1604_image
339 format: qcow2
340 - name: cinder
341 capacity: 50
342 format: qcow2
343 - name: iso # Volume with name 'iso' will be used
344 # for store image with cloud-init metadata.
345 capacity: 1
346 format: raw
347 device: cdrom
348 bus: ide
349 cloudinit_meta_data: *cloudinit_meta_data
350 cloudinit_user_data: *cloudinit_user_data_1604
351
352 interfaces: *interfaces
353 network_config: *network_config
354
355 - name: {{ HOSTNAME_CMN01 }}
356 role: salt_minion
357 params:
358 vcpu: !os_env SLAVE_NODE_CPU, 2
359 memory: !os_env SLAVE_NODE_MEMORY, 2048
360 boot:
361 - hd
362 cloud_init_volume_name: iso
363 cloud_init_iface_up: ens3
364 volumes:
365 - name: system
366 capacity: !os_env NODE_VOLUME_SIZE, 150
367 backing_store: cloudimage1604
368 format: qcow2
369 - name: iso # Volume with name 'iso' will be used
370 # for store image with cloud-init metadata.
371 capacity: 1
372 format: raw
373 device: cdrom
374 bus: ide
375 cloudinit_meta_data: *cloudinit_meta_data
376 cloudinit_user_data: *cloudinit_user_data_1604
377
378 interfaces: *interfaces
379 network_config: *network_config
380
381 - name: {{ HOSTNAME_CMN02 }}
382 role: salt_minion
383 params:
384 vcpu: !os_env SLAVE_NODE_CPU, 2
385 memory: !os_env SLAVE_NODE_MEMORY, 2048
386 boot:
387 - hd
388 cloud_init_volume_name: iso
389 cloud_init_iface_up: ens3
390 volumes:
391 - name: system
392 capacity: !os_env NODE_VOLUME_SIZE, 150
393 backing_store: cloudimage1604
394 format: qcow2
395 - name: iso # Volume with name 'iso' will be used
396 # for store image with cloud-init metadata.
397 capacity: 1
398 format: raw
399 device: cdrom
400 bus: ide
401 cloudinit_meta_data: *cloudinit_meta_data
402 cloudinit_user_data: *cloudinit_user_data_1604
403
404 interfaces: *interfaces
405 network_config: *network_config
406
407 - name: {{ HOSTNAME_CMN03 }}
408 role: salt_minion
409 params:
410 vcpu: !os_env SLAVE_NODE_CPU, 2
411 memory: !os_env SLAVE_NODE_MEMORY, 2048
412 boot:
413 - hd
414 cloud_init_volume_name: iso
415 cloud_init_iface_up: ens3
416 volumes:
417 - name: system
418 capacity: !os_env NODE_VOLUME_SIZE, 150
419 backing_store: cloudimage1604
420 format: qcow2
421 - name: iso # Volume with name 'iso' will be used
422 # for store image with cloud-init metadata.
423 capacity: 1
424 format: raw
425 device: cdrom
426 bus: ide
427 cloudinit_meta_data: *cloudinit_meta_data
428 cloudinit_user_data: *cloudinit_user_data_1604
429
430 interfaces: *interfaces
431 network_config: *network_config
432
433 - name: {{ HOSTNAME_OSD1 }}
434 role: salt_minion
435 params:
436 vcpu: !os_env SLAVE_NODE_CPU, 2
437 memory: !os_env SLAVE_NODE_MEMORY, 2048
438 boot:
439 - hd
440 cloud_init_volume_name: iso
441 cloud_init_iface_up: ens3
442 volumes:
443 - name: system
444 capacity: !os_env NODE_VOLUME_SIZE, 150
445 backing_store: cloudimage1604
446 format: qcow2
447 - name: cinder
448 capacity: 50
449 format: qcow2
450 - name: ceph
451 capacity: 50
452 format: qcow2
453 - name: iso # Volume with name 'iso' will be used
454 # for store image with cloud-init metadata.
455 capacity: 1
456 format: raw
457 device: cdrom
458 bus: ide
459 cloudinit_meta_data: *cloudinit_meta_data
460 cloudinit_user_data: *cloudinit_user_data_1604
461
462 interfaces: *interfaces
463 network_config: *network_config
464
465 - name: {{ HOSTNAME_OSD2 }}
466 role: salt_minion
467 params:
468 vcpu: !os_env SLAVE_NODE_CPU, 2
469 memory: !os_env SLAVE_NODE_MEMORY, 2048
470 boot:
471 - hd
472 cloud_init_volume_name: iso
473 cloud_init_iface_up: ens3
474 volumes:
475 - name: system
476 capacity: !os_env NODE_VOLUME_SIZE, 150
477 backing_store: cloudimage1604
478 format: qcow2
479 - name: cinder
480 capacity: 50
481 format: qcow2
482 - name: ceph
483 capacity: 50
484 format: qcow2
485 - name: iso # Volume with name 'iso' will be used
486 # for store image with cloud-init metadata.
487 capacity: 1
488 format: raw
489 device: cdrom
490 bus: ide
491 cloudinit_meta_data: *cloudinit_meta_data
492 cloudinit_user_data: *cloudinit_user_data_1604
493
494 interfaces: *interfaces
495 network_config: *network_config
496
497 - name: {{ HOSTNAME_RGW01 }}
498 role: salt_minion
499 params:
500 vcpu: !os_env SLAVE_NODE_CPU, 2
501 memory: !os_env SLAVE_NODE_MEMORY, 2048
502 boot:
503 - hd
504 cloud_init_volume_name: iso
505 cloud_init_iface_up: ens3
506 volumes:
507 - name: system
508 capacity: !os_env NODE_VOLUME_SIZE, 150
509 backing_store: cloudimage1604
510 format: qcow2
511 - name: iso # Volume with name 'iso' will be used
512 # for store image with cloud-init metadata.
513 capacity: 1
514 format: raw
515 device: cdrom
516 bus: ide
517 cloudinit_meta_data: *cloudinit_meta_data
518 cloudinit_user_data: *cloudinit_user_data_1604
519
520 interfaces: *interfaces
521 network_config: *network_config
522
523 - name: {{ HOSTNAME_RGW02 }}
524 role: salt_minion
525 params:
526 vcpu: !os_env SLAVE_NODE_CPU, 2
527 memory: !os_env SLAVE_NODE_MEMORY, 2048
528 boot:
529 - hd
530 cloud_init_volume_name: iso
531 cloud_init_iface_up: ens3
532 volumes:
533 - name: system
534 capacity: !os_env NODE_VOLUME_SIZE, 150
535 backing_store: cloudimage1604
536 format: qcow2
537 - name: iso # Volume with name 'iso' will be used
538 # for store image with cloud-init metadata.
539 capacity: 1
540 format: raw
541 device: cdrom
542 bus: ide
543 cloudinit_meta_data: *cloudinit_meta_data
544 cloudinit_user_data: *cloudinit_user_data_1604
545
546 interfaces: *interfaces
547 network_config: *network_config
548 - name: {{ HOSTNAME_RGW03 }}
549 role: salt_minion
550 params:
551 vcpu: !os_env SLAVE_NODE_CPU, 2
552 memory: !os_env SLAVE_NODE_MEMORY, 2048
553 boot:
554 - hd
555 cloud_init_volume_name: iso
556 cloud_init_iface_up: ens3
557 volumes:
558 - name: system
559 capacity: !os_env NODE_VOLUME_SIZE, 150
560 backing_store: cloudimage1604
561 format: qcow2
562 - name: iso # Volume with name 'iso' will be used
563 # for store image with cloud-init metadata.
564 capacity: 1
565 format: raw
566 device: cdrom
567 bus: ide
568 cloudinit_meta_data: *cloudinit_meta_data
569 cloudinit_user_data: *cloudinit_user_data_1604
570
571 interfaces: *interfaces
572 network_config: *network_config
573
574 - name: {{ HOSTNAME_PRX01 }}
575 role: salt_minion
576 params:
577 vcpu: !os_env SLAVE_NODE_CPU, 1
578 memory: !os_env SLAVE_NODE_MEMORY, 2048
579 boot:
580 - hd
581 cloud_init_volume_name: iso
582 cloud_init_iface_up: ens3
583 volumes:
584 - name: system
585 capacity: !os_env NODE_VOLUME_SIZE, 150
586 backing_store: mcp_ubuntu_1604_image
587 format: qcow2
588 - name: iso # Volume with name 'iso' will be used
589 # for store image with cloud-init metadata.
590 capacity: 1
591 format: raw
592 device: cdrom
593 bus: ide
594 cloudinit_meta_data: *cloudinit_meta_data
595 cloudinit_user_data: *cloudinit_user_data_1604
596
597 interfaces: *interfaces
598 network_config: *network_config
599
600 - name: {{ HOSTNAME_CMP01 }}
601 role: salt_minion
602 params:
603 vcpu: !os_env SLAVE_NODE_CPU, 3
604 memory: !os_env SLAVE_NODE_MEMORY, 4096
605 boot:
606 - hd
607 cloud_init_volume_name: iso
608 cloud_init_iface_up: ens3
609 volumes:
610 - name: system
611 capacity: !os_env NODE_VOLUME_SIZE, 150
612 backing_store: cloudimage1604
613 format: qcow2
614 - name: iso # Volume with name 'iso' will be used
615 # for store image with cloud-init metadata.
616 capacity: 1
617 format: raw
618 device: cdrom
619 bus: ide
620 cloudinit_meta_data: *cloudinit_meta_data
621 cloudinit_user_data: *cloudinit_user_data_1604
622
623
624 interfaces: &all_interfaces
625 - label: ens3
626 l2_network_device: admin
627 interface_model: *interface_model
628 - label: ens4
629 l2_network_device: private
630 interface_model: *interface_model
631 - label: ens5
632 l2_network_device: tenant
633 interface_model: *interface_model
634 - label: ens6
635 l2_network_device: external
636 interface_model: *interface_model
637 network_config: &all_network_config
638 ens3:
639 networks:
640 - admin
641 ens4:
642 networks:
643 - private
644 ens5:
645 networks:
646 - tenant
647 ens6:
648 networks:
649 - external
650
651 - name: {{ HOSTNAME_CMP02 }}
652 role: salt_minion
653 params:
654 vcpu: !os_env SLAVE_NODE_CPU, 3
655 memory: !os_env SLAVE_NODE_MEMORY, 4096
656 boot:
657 - hd
658 cloud_init_volume_name: iso
659 cloud_init_iface_up: ens3
660 volumes:
661 - name: system
662 capacity: !os_env NODE_VOLUME_SIZE, 150
663 backing_store: cloudimage1604
664 format: qcow2
665 - name: iso # Volume with name 'iso' will be used
666 # for store image with cloud-init metadata.
667 capacity: 1
668 format: raw
669 device: cdrom
670 bus: ide
671 cloudinit_meta_data: *cloudinit_meta_data
672 cloudinit_user_data: *cloudinit_user_data_1604
673
674 interfaces: *all_interfaces
675 network_config: *all_network_config
676
677 - name: {{ HOSTNAME_GTW01 }}
678 role: salt_minion
679 params:
680 vcpu: !os_env SLAVE_NODE_CPU, 4
681 memory: !os_env SLAVE_NODE_MEMORY, 4096
682 boot:
683 - hd
684 cloud_init_volume_name: iso
685 cloud_init_iface_up: ens3
686 volumes:
687 - name: system
688 capacity: !os_env NODE_VOLUME_SIZE, 150
689 backing_store: cloudimage1604
690 format: qcow2
691 - name: iso # Volume with name 'iso' will be used
692 # for store image with cloud-init metadata.
693 capacity: 1
694 format: raw
695 device: cdrom
696 bus: ide
697 cloudinit_meta_data: *cloudinit_meta_data
698 cloudinit_user_data: *cloudinit_user_data_1604
699
700 interfaces: *all_interfaces
701 network_config: *all_network_config