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