blob: c8988371a2fecab2fa8682eb0032cb759b5c8c37 [file] [log] [blame]
Oleksii Butenkoca420d82018-09-26 12:33:42 +03001{% set REPOSITORY_SUITE = os_env('REPOSITORY_SUITE', 'proposed') %}
2
3{% import 'cookied-mcp-queens-dvr-ceph/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
4{% import 'cookied-mcp-queens-dvr-ceph/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
5{% import 'cookied-mcp-queens-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-queens-dvr-ceph') %}
Oleksii Butenko236db652018-10-10 14:45:31 +030015{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %}
Oleksii Butenkoca420d82018-09-26 12:33:42 +030016{% 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', 'cmp1.' + DOMAIN_NAME) %}
21{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp2.' + 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_OSD01 = os_env('HOSTNAME_OSD01', 'osd1.' + DOMAIN_NAME) %}
29{% set HOSTNAME_OSD02 = os_env('HOSTNAME_OSD02', '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-queens-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_OSD01 }}: +94
51 default_{{ HOSTNAME_OSD02 }}: +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_OSD01 }}: +94
76 default_{{ HOSTNAME_OSD02 }}: +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_OSD01 }}: +94
101 default_{{ HOSTNAME_OSD02 }}: +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_OSD01 }}: +94
126 default_{{ HOSTNAME_OSD02 }}: +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: [+130, +230]
137
138 groups:
139 - name: default
140 driver:
141 name: devops.driver.libvirt
142 params:
143 connection_string: !os_env CONNECTION_STRING, qemu:///system
144 stp: False
145 hpet: False
146 enable_acpi: true
147 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
148 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
149
150 network_pools:
151 admin: admin-pool01
152 private: private-pool01
153 tenant: tenant-pool01
154 external: external-pool01
155
156 l2_network_devices:
157 private:
158 address_pool: private-pool01
159 dhcp: false
160 forward:
161 mode: route
162
163 admin:
164 address_pool: admin-pool01
165 dhcp: true
166 forward:
167 mode: nat
168
169 tenant:
170 address_pool: tenant-pool01
171 dhcp: false
172
173 external:
174 address_pool: external-pool01
175 dhcp: true
176 forward:
177 mode: route
178
179 group_volumes:
180 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
181 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
182 format: qcow2
183 - name: cfg01_day01_image # Pre-configured day01 image
184 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
185 format: qcow2
186 - name: mcp_ubuntu_1604_image # Pre-configured image for control plane
187 source_image: !os_env MCP_IMAGE_PATH1604
188 format: qcow2
189
190 nodes:
191 - name: {{ HOSTNAME_CFG01 }}
192 role: salt_master
193 params:
194 vcpu: !os_env SLAVE_NODE_CPU, 2
195 memory: !os_env SLAVE_NODE_MEMORY, 8192
196 boot:
197 - hd
198 cloud_init_volume_name: iso
199 cloud_init_iface_up: ens3
200 volumes:
201 - name: system
202 capacity: !os_env NODE_VOLUME_SIZE, 150
203 backing_store: cfg01_day01_image
204 format: qcow2
205 - name: iso # Volume with name 'iso' will be used
206 # for store image with cloud-init metadata.
207 capacity: 1
208 format: raw
209 device: cdrom
210 bus: ide
211 cloudinit_meta_data: *cloudinit_meta_data
212 cloudinit_user_data: *cloudinit_user_data_cfg01
213
214 interfaces:
215 - label: ens3
216 l2_network_device: admin
217 interface_model: *interface_model
218 - label: ens4
219 l2_network_device: private
220 interface_model: *interface_model
221 network_config:
222 ens3:
223 networks:
224 - admin
225 ens4:
226 networks:
227 - private
228
229 - name: {{ HOSTNAME_CTL01 }}
230 role: salt_minion
231 params:
232 vcpu: !os_env SLAVE_NODE_CPU, 2
233 memory: !os_env SLAVE_NODE_MEMORY, 16384
234 boot:
235 - hd
236 cloud_init_volume_name: iso
237 cloud_init_iface_up: ens3
238 volumes:
239 - name: system
240 capacity: !os_env NODE_VOLUME_SIZE, 150
241 backing_store: mcp_ubuntu_1604_image
242 format: qcow2
243 - name: cinder
244 capacity: 50
245 format: qcow2
246 - name: iso # Volume with name 'iso' will be used
247 # for store image with cloud-init metadata.
248 capacity: 1
249 format: raw
250 device: cdrom
251 bus: ide
252 cloudinit_meta_data: *cloudinit_meta_data
253 cloudinit_user_data: *cloudinit_user_data_1604
254
255 interfaces: &interfaces
256 - label: ens3
257 l2_network_device: admin
258 interface_model: *interface_model
259 - label: ens4
260 l2_network_device: private
261 interface_model: *interface_model
262 network_config: &network_config
263 ens3:
264 networks:
265 - admin
266 ens4:
267 networks:
268 - private
269
270 - name: {{ HOSTNAME_CTL02 }}
271 role: salt_minion
272 params:
273 vcpu: !os_env SLAVE_NODE_CPU, 2
274 memory: !os_env SLAVE_NODE_MEMORY, 16384
275 boot:
276 - hd
277 cloud_init_volume_name: iso
278 cloud_init_iface_up: ens3
279 volumes:
280 - name: system
281 capacity: !os_env NODE_VOLUME_SIZE, 150
282 backing_store: mcp_ubuntu_1604_image
283 format: qcow2
284 - name: cinder
285 capacity: 50
286 format: qcow2
287 - name: iso # Volume with name 'iso' will be used
288 # for store image with cloud-init metadata.
289 capacity: 1
290 format: raw
291 device: cdrom
292 bus: ide
293 cloudinit_meta_data: *cloudinit_meta_data
294 cloudinit_user_data: *cloudinit_user_data_1604
295
296 interfaces: *interfaces
297 network_config: *network_config
298
299 - name: {{ HOSTNAME_CTL03 }}
300 role: salt_minion
301 params:
302 vcpu: !os_env SLAVE_NODE_CPU, 2
303 memory: !os_env SLAVE_NODE_MEMORY, 16384
304 boot:
305 - hd
306 cloud_init_volume_name: iso
307 cloud_init_iface_up: ens3
308 volumes:
309 - name: system
310 capacity: !os_env NODE_VOLUME_SIZE, 150
311 backing_store: mcp_ubuntu_1604_image
312 format: qcow2
313 - name: cinder
314 capacity: 50
315 format: qcow2
316 - name: iso # Volume with name 'iso' will be used
317 # for store image with cloud-init metadata.
318 capacity: 1
319 format: raw
320 device: cdrom
321 bus: ide
322 cloudinit_meta_data: *cloudinit_meta_data
323 cloudinit_user_data: *cloudinit_user_data_1604
324
325 interfaces: *interfaces
326 network_config: *network_config
327
328 - name: {{ HOSTNAME_CMN01 }}
329 role: salt_minion
330 params:
331 vcpu: !os_env SLAVE_NODE_CPU, 2
332 memory: !os_env SLAVE_NODE_MEMORY, 2048
333 boot:
334 - hd
335 cloud_init_volume_name: iso
336 cloud_init_iface_up: ens3
337 volumes:
338 - name: system
339 capacity: !os_env NODE_VOLUME_SIZE, 150
340 backing_store: cloudimage1604
341 format: qcow2
342 - name: iso # Volume with name 'iso' will be used
343 # for store image with cloud-init metadata.
344 capacity: 1
345 format: raw
346 device: cdrom
347 bus: ide
348 cloudinit_meta_data: *cloudinit_meta_data
349 cloudinit_user_data: *cloudinit_user_data_1604
350
351 interfaces: *interfaces
352 network_config: *network_config
353
354 - name: {{ HOSTNAME_CMN02 }}
355 role: salt_minion
356 params:
357 vcpu: !os_env SLAVE_NODE_CPU, 2
358 memory: !os_env SLAVE_NODE_MEMORY, 2048
359 boot:
360 - hd
361 cloud_init_volume_name: iso
362 cloud_init_iface_up: ens3
363 volumes:
364 - name: system
365 capacity: !os_env NODE_VOLUME_SIZE, 150
366 backing_store: cloudimage1604
367 format: qcow2
368 - name: iso # Volume with name 'iso' will be used
369 # for store image with cloud-init metadata.
370 capacity: 1
371 format: raw
372 device: cdrom
373 bus: ide
374 cloudinit_meta_data: *cloudinit_meta_data
375 cloudinit_user_data: *cloudinit_user_data_1604
376
377 interfaces: *interfaces
378 network_config: *network_config
379
380 - name: {{ HOSTNAME_CMN03 }}
381 role: salt_minion
382 params:
383 vcpu: !os_env SLAVE_NODE_CPU, 2
384 memory: !os_env SLAVE_NODE_MEMORY, 2048
385 boot:
386 - hd
387 cloud_init_volume_name: iso
388 cloud_init_iface_up: ens3
389 volumes:
390 - name: system
391 capacity: !os_env NODE_VOLUME_SIZE, 150
392 backing_store: cloudimage1604
393 format: qcow2
394 - name: iso # Volume with name 'iso' will be used
395 # for store image with cloud-init metadata.
396 capacity: 1
397 format: raw
398 device: cdrom
399 bus: ide
400 cloudinit_meta_data: *cloudinit_meta_data
401 cloudinit_user_data: *cloudinit_user_data_1604
402
403 interfaces: *interfaces
404 network_config: *network_config
405
406 - name: {{ HOSTNAME_OSD01 }}
407 role: salt_minion
408 params:
409 vcpu: !os_env SLAVE_NODE_CPU, 2
410 memory: !os_env SLAVE_NODE_MEMORY, 2048
411 boot:
412 - hd
413 cloud_init_volume_name: iso
414 cloud_init_iface_up: ens3
415 volumes:
416 - name: system
417 capacity: !os_env NODE_VOLUME_SIZE, 150
418 backing_store: cloudimage1604
419 format: qcow2
420 - name: cinder
421 capacity: 50
422 format: qcow2
423 - name: ceph
424 capacity: 50
425 format: qcow2
426 - name: iso # Volume with name 'iso' will be used
427 # for store image with cloud-init metadata.
428 capacity: 1
429 format: raw
430 device: cdrom
431 bus: ide
432 cloudinit_meta_data: *cloudinit_meta_data
433 cloudinit_user_data: *cloudinit_user_data_1604
434
435 interfaces: *interfaces
436 network_config: *network_config
437
438 - name: {{ HOSTNAME_OSD02 }}
439 role: salt_minion
440 params:
441 vcpu: !os_env SLAVE_NODE_CPU, 2
442 memory: !os_env SLAVE_NODE_MEMORY, 2048
443 boot:
444 - hd
445 cloud_init_volume_name: iso
446 cloud_init_iface_up: ens3
447 volumes:
448 - name: system
449 capacity: !os_env NODE_VOLUME_SIZE, 150
450 backing_store: cloudimage1604
451 format: qcow2
452 - name: cinder
453 capacity: 50
454 format: qcow2
455 - name: ceph
456 capacity: 50
457 format: qcow2
458 - name: iso # Volume with name 'iso' will be used
459 # for store image with cloud-init metadata.
460 capacity: 1
461 format: raw
462 device: cdrom
463 bus: ide
464 cloudinit_meta_data: *cloudinit_meta_data
465 cloudinit_user_data: *cloudinit_user_data_1604
466
467 interfaces: *interfaces
468 network_config: *network_config
469
470 - name: {{ HOSTNAME_RGW01 }}
471 role: salt_minion
472 params:
473 vcpu: !os_env SLAVE_NODE_CPU, 2
474 memory: !os_env SLAVE_NODE_MEMORY, 2048
475 boot:
476 - hd
477 cloud_init_volume_name: iso
478 cloud_init_iface_up: ens3
479 volumes:
480 - name: system
481 capacity: !os_env NODE_VOLUME_SIZE, 150
482 backing_store: cloudimage1604
483 format: qcow2
484 - name: iso # Volume with name 'iso' will be used
485 # for store image with cloud-init metadata.
486 capacity: 1
487 format: raw
488 device: cdrom
489 bus: ide
490 cloudinit_meta_data: *cloudinit_meta_data
491 cloudinit_user_data: *cloudinit_user_data_1604
492
493 interfaces: *interfaces
494 network_config: *network_config
495
496 - name: {{ HOSTNAME_RGW02 }}
497 role: salt_minion
498 params:
499 vcpu: !os_env SLAVE_NODE_CPU, 2
500 memory: !os_env SLAVE_NODE_MEMORY, 2048
501 boot:
502 - hd
503 cloud_init_volume_name: iso
504 cloud_init_iface_up: ens3
505 volumes:
506 - name: system
507 capacity: !os_env NODE_VOLUME_SIZE, 150
508 backing_store: cloudimage1604
509 format: qcow2
510 - name: iso # Volume with name 'iso' will be used
511 # for store image with cloud-init metadata.
512 capacity: 1
513 format: raw
514 device: cdrom
515 bus: ide
516 cloudinit_meta_data: *cloudinit_meta_data
517 cloudinit_user_data: *cloudinit_user_data_1604
518
519 interfaces: *interfaces
520 network_config: *network_config
521 - name: {{ HOSTNAME_RGW03 }}
522 role: salt_minion
523 params:
524 vcpu: !os_env SLAVE_NODE_CPU, 2
525 memory: !os_env SLAVE_NODE_MEMORY, 2048
526 boot:
527 - hd
528 cloud_init_volume_name: iso
529 cloud_init_iface_up: ens3
530 volumes:
531 - name: system
532 capacity: !os_env NODE_VOLUME_SIZE, 150
533 backing_store: cloudimage1604
534 format: qcow2
535 - name: iso # Volume with name 'iso' will be used
536 # for store image with cloud-init metadata.
537 capacity: 1
538 format: raw
539 device: cdrom
540 bus: ide
541 cloudinit_meta_data: *cloudinit_meta_data
542 cloudinit_user_data: *cloudinit_user_data_1604
543
544 interfaces: *interfaces
545 network_config: *network_config
546
547 - name: {{ HOSTNAME_PRX01 }}
548 role: salt_minion
549 params:
550 vcpu: !os_env SLAVE_NODE_CPU, 1
551 memory: !os_env SLAVE_NODE_MEMORY, 2048
552 boot:
553 - hd
554 cloud_init_volume_name: iso
555 cloud_init_iface_up: ens3
556 volumes:
557 - name: system
558 capacity: !os_env NODE_VOLUME_SIZE, 150
559 backing_store: mcp_ubuntu_1604_image
560 format: qcow2
561 - name: iso # Volume with name 'iso' will be used
562 # for store image with cloud-init metadata.
563 capacity: 1
564 format: raw
565 device: cdrom
566 bus: ide
567 cloudinit_meta_data: *cloudinit_meta_data
568 cloudinit_user_data: *cloudinit_user_data_1604
569
570 interfaces: *interfaces
571 network_config: *network_config
572
573 - name: {{ HOSTNAME_CMP01 }}
574 role: salt_minion
575 params:
576 vcpu: !os_env SLAVE_NODE_CPU, 3
577 memory: !os_env SLAVE_NODE_MEMORY, 4096
578 boot:
579 - hd
580 cloud_init_volume_name: iso
581 cloud_init_iface_up: ens3
582 volumes:
583 - name: system
584 capacity: !os_env NODE_VOLUME_SIZE, 150
585 backing_store: cloudimage1604
586 format: qcow2
587 - name: iso # Volume with name 'iso' will be used
588 # for store image with cloud-init metadata.
589 capacity: 1
590 format: raw
591 device: cdrom
592 bus: ide
593 cloudinit_meta_data: *cloudinit_meta_data
594 cloudinit_user_data: *cloudinit_user_data_1604
595
596
597 interfaces: &all_interfaces
598 - label: ens3
599 l2_network_device: admin
600 interface_model: *interface_model
601 - label: ens4
602 l2_network_device: private
603 interface_model: *interface_model
604 - label: ens5
605 l2_network_device: tenant
606 interface_model: *interface_model
607 - label: ens6
608 l2_network_device: external
609 interface_model: *interface_model
610 network_config: &all_network_config
611 ens3:
612 networks:
613 - admin
614 ens4:
615 networks:
616 - private
617 ens5:
618 networks:
619 - tenant
620 ens6:
621 networks:
622 - external
623
624 - name: {{ HOSTNAME_CMP02 }}
625 role: salt_minion
626 params:
627 vcpu: !os_env SLAVE_NODE_CPU, 3
628 memory: !os_env SLAVE_NODE_MEMORY, 4096
629 boot:
630 - hd
631 cloud_init_volume_name: iso
632 cloud_init_iface_up: ens3
633 volumes:
634 - name: system
635 capacity: !os_env NODE_VOLUME_SIZE, 150
636 backing_store: cloudimage1604
637 format: qcow2
638 - name: iso # Volume with name 'iso' will be used
639 # for store image with cloud-init metadata.
640 capacity: 1
641 format: raw
642 device: cdrom
643 bus: ide
644 cloudinit_meta_data: *cloudinit_meta_data
645 cloudinit_user_data: *cloudinit_user_data_1604
646
647 interfaces: *all_interfaces
648 network_config: *all_network_config
649
650 - name: {{ HOSTNAME_GTW01 }}
651 role: salt_minion
652 params:
653 vcpu: !os_env SLAVE_NODE_CPU, 4
654 memory: !os_env SLAVE_NODE_MEMORY, 4096
655 boot:
656 - hd
657 cloud_init_volume_name: iso
658 cloud_init_iface_up: ens3
659 volumes:
660 - name: system
661 capacity: !os_env NODE_VOLUME_SIZE, 150
662 backing_store: cloudimage1604
663 format: qcow2
664 - name: iso # Volume with name 'iso' will be used
665 # for store image with cloud-init metadata.
666 capacity: 1
667 format: raw
668 device: cdrom
669 bus: ide
670 cloudinit_meta_data: *cloudinit_meta_data
671 cloudinit_user_data: *cloudinit_user_data_1604
672
673 interfaces: *all_interfaces
674 network_config: *all_network_config