blob: 4cf97fa51abb59c784bc958d4b3cffb1880f5d5d [file] [log] [blame]
Dennis Dmitriev411dd102017-09-15 16:04:47 +03001# 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{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-mcp-ocata-dop-sl2') %}
5{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME) + '.local' %}
6{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
7{% set HOSTNAME_CID01 = os_env('HOSTNAME_CID01', 'cid01.' + DOMAIN_NAME) %}
8{% set HOSTNAME_CID02 = os_env('HOSTNAME_CID02', 'cid02.' + DOMAIN_NAME) %}
9{% set HOSTNAME_CID03 = os_env('HOSTNAME_CID03', 'cid03.' + DOMAIN_NAME) %}
10{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %}
11{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %}
12{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %}
13{% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01.' + DOMAIN_NAME) %}
14{% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02.' + DOMAIN_NAME) %}
15{% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03.' + DOMAIN_NAME) %}
16{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp001.' + DOMAIN_NAME) %}
17{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp002.' + DOMAIN_NAME) %}
18{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
19{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
20
21{% import 'cookied-mcp-ocata-dop-sl2/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
22{% import 'cookied-mcp-ocata-dop-sl2/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
23{% import 'cookied-mcp-ocata-dop-sl2/underlay--user-data-cicd.yaml' as CLOUDINIT_USER_DATA_CICD with context %}
24{% import 'cookied-mcp-ocata-dop-sl2/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
25
26---
27aliases:
28 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
29 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
30 - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }}
31 - &cloudinit_user_data_cicd {{ CLOUDINIT_USER_DATA_CICD }}
32 - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }}
33
34template:
35 devops_settings:
36 env_name: {{ os_env('ENV_NAME', LAB_CONFIG_NAME + '_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
37
38 address_pools:
39 private-pool01:
40 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
41 params:
42 ip_reserved:
43 gateway: +1
44 l2_network_device: +1
45 default_{{ HOSTNAME_CFG01 }}: +15
46
47 default_{{ HOSTNAME_CID }}: +90
48 default_{{ HOSTNAME_CID01 }}: +91
49 default_{{ HOSTNAME_CID02 }}: +92
50 default_{{ HOSTNAME_CID03 }}: +93
51
52 default_{{ HOSTNAME_MON }}: +70
53 default_{{ HOSTNAME_MON01 }}: +71
54 default_{{ HOSTNAME_MON02 }}: +72
55 default_{{ HOSTNAME_MON03 }}: +73
56
57 default_{{ HOSTNAME_CTL }}: +10
58 default_{{ HOSTNAME_CTL01 }}: +11
59 default_{{ HOSTNAME_CTL02 }}: +12
60 default_{{ HOSTNAME_CTL03 }}: +13
61 default_{{ HOSTNAME_GTW01 }}: +224
62 default_{{ HOSTNAME_GTW02 }}: +225
63 default_{{ HOSTNAME_PRX }}: +80
64 default_{{ HOSTNAME_PRX01 }}: +81
65 default_{{ HOSTNAME_PRX02 }}: +82
66
67 default_{{ HOSTNAME_CMP01 }}: +101
68 default_{{ HOSTNAME_CMP02 }}: +102
69 ip_ranges:
70 dhcp: [+90, -10]
71
72 admin-pool01:
73 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
74 params:
75 ip_reserved:
76 gateway: +1
77 l2_network_device: +1
78 default_{{ HOSTNAME_CFG01 }}: +15
79
80 default_{{ HOSTNAME_CID }}: +90
81 default_{{ HOSTNAME_CID01 }}: +91
82 default_{{ HOSTNAME_CID02 }}: +92
83 default_{{ HOSTNAME_CID03 }}: +93
84
85 default_{{ HOSTNAME_MON }}: +70
86 default_{{ HOSTNAME_MON01 }}: +71
87 default_{{ HOSTNAME_MON02 }}: +72
88 default_{{ HOSTNAME_MON03 }}: +73
89
90 default_{{ HOSTNAME_CTL }}: +10
91 default_{{ HOSTNAME_CTL01 }}: +11
92 default_{{ HOSTNAME_CTL02 }}: +12
93 default_{{ HOSTNAME_CTL03 }}: +13
94 default_{{ HOSTNAME_GTW01 }}: +224
95 default_{{ HOSTNAME_GTW02 }}: +225
96 default_{{ HOSTNAME_PRX }}: +80
97 default_{{ HOSTNAME_PRX01 }}: +81
98 default_{{ HOSTNAME_PRX02 }}: +82
99
100 default_{{ HOSTNAME_CMP01 }}: +101
101 default_{{ HOSTNAME_CMP02 }}: +102
102 ip_ranges:
103 dhcp: [+90, -10]
104
105 tenant-pool01:
106 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
107 params:
108 ip_reserved:
109 gateway: +1
110 l2_network_device: +1
111 default_{{ HOSTNAME_CFG01 }}: +15
112
113 default_{{ HOSTNAME_CID }}: +90
114 default_{{ HOSTNAME_CID01 }}: +91
115 default_{{ HOSTNAME_CID02 }}: +92
116 default_{{ HOSTNAME_CID03 }}: +93
117
118 default_{{ HOSTNAME_MON }}: +70
119 default_{{ HOSTNAME_MON01 }}: +71
120 default_{{ HOSTNAME_MON02 }}: +72
121 default_{{ HOSTNAME_MON03 }}: +73
122
123 default_{{ HOSTNAME_CTL }}: +10
124 default_{{ HOSTNAME_CTL01 }}: +11
125 default_{{ HOSTNAME_CTL02 }}: +12
126 default_{{ HOSTNAME_CTL03 }}: +13
127 default_{{ HOSTNAME_GTW01 }}: +6
128 default_{{ HOSTNAME_GTW02 }}: +7
129 default_{{ HOSTNAME_PRX }}: +80
130 default_{{ HOSTNAME_PRX01 }}: +81
131 default_{{ HOSTNAME_PRX02 }}: +82
132
133 default_{{ HOSTNAME_CMP01 }}: +101
134 default_{{ HOSTNAME_CMP02 }}: +102
135 ip_ranges:
136 dhcp: [+10, -10]
137
138 external-pool01:
139 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
140 params:
141 ip_reserved:
142 gateway: +1
143 l2_network_device: +1
144 default_{{ HOSTNAME_CFG01 }}: +15
145
146 default_{{ HOSTNAME_CID }}: +90
147 default_{{ HOSTNAME_CID01 }}: +91
148 default_{{ HOSTNAME_CID02 }}: +92
149 default_{{ HOSTNAME_CID03 }}: +93
150
151 default_{{ HOSTNAME_MON }}: +70
152 default_{{ HOSTNAME_MON01 }}: +71
153 default_{{ HOSTNAME_MON02 }}: +72
154 default_{{ HOSTNAME_MON03 }}: +73
155
156 default_{{ HOSTNAME_CTL }}: +10
157 default_{{ HOSTNAME_CTL01 }}: +11
158 default_{{ HOSTNAME_CTL02 }}: +12
159 default_{{ HOSTNAME_CTL03 }}: +13
160 default_{{ HOSTNAME_GTW01 }}: +224
161 default_{{ HOSTNAME_GTW02 }}: +225
162 default_{{ HOSTNAME_PRX }}: +80
163 default_{{ HOSTNAME_PRX01 }}: +81
164 default_{{ HOSTNAME_PRX02 }}: +82
165
166 default_{{ HOSTNAME_CMP01 }}: +101
167 default_{{ HOSTNAME_CMP02 }}: +102
168 ip_ranges:
169 dhcp: [+10, -10]
170
171
172 groups:
173 - name: default
174 driver:
175 name: devops.driver.libvirt
176 params:
177 connection_string: !os_env CONNECTION_STRING, qemu:///system
178 storage_pool_name: !os_env STORAGE_POOL_NAME, default
179 stp: False
180 hpet: False
181 enable_acpi: true
182 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
183 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
184
185 network_pools:
186 admin: admin-pool01
187 private: private-pool01
188 tenant: tenant-pool01
189 external: external-pool01
190
191 l2_network_devices:
192 admin:
193 address_pool: admin-pool01
194 dhcp: true
195 forward:
196 mode: nat
197
198 private:
199 address_pool: private-pool01
200 dhcp: false
201
202 #tenant:
203 # address_pool: tenant-pool01
204 # dhcp: false
205
206 external:
207 address_pool: external-pool01
208 dhcp: false
209 forward:
210 mode: nat
211
212
213 group_volumes:
214 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
215 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img or
216 # http://apt.tcpcloud.eu/images/ubuntu-16-04-x64-201608231004.qcow2
217 format: qcow2
218
219 nodes:
220 - name: {{ HOSTNAME_CFG01 }}
221 role: salt_master
222 params:
223 vcpu: !os_env SLAVE_NODE_CPU, 2
224 memory: !os_env SLAVE_NODE_MEMORY, 3072
225 boot:
226 - hd
227 cloud_init_volume_name: iso
228 cloud_init_iface_up: ens3
229 volumes:
230 - name: system
231 capacity: !os_env NODE_VOLUME_SIZE, 150
232 backing_store: cloudimage1604
233 format: qcow2
234 - name: iso # Volume with name 'iso' will be used
235 # for store image with cloud-init metadata.
236 capacity: 1
237 format: raw
238 device: cdrom
239 bus: ide
240 cloudinit_meta_data: *cloudinit_meta_data
241 cloudinit_user_data: *cloudinit_user_data_cfg01
242
243 interfaces:
244 - label: ens3
245 l2_network_device: admin
246 interface_model: *interface_model
247 - label: ens4
248 l2_network_device: private
249 interface_model: *interface_model
250 network_config:
251 ens3:
252 networks:
253 - admin
254 ens4:
255 networks:
256 - private
257
258 - name: {{ HOSTNAME_CID01 }}
259 role: salt_minion
260 params:
261 vcpu: !os_env SLAVE_NODE_CPU, 4
Dennis Dmitriev92a322d2017-09-29 00:02:38 +0300262 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev411dd102017-09-15 16:04:47 +0300263 boot:
264 - hd
265 cloud_init_volume_name: iso
266 cloud_init_iface_up: ens3
267 volumes:
268 - name: system
269 capacity: !os_env NODE_VOLUME_SIZE, 150
270 backing_store: cloudimage1604
271 format: qcow2
272 - name: iso # Volume with name 'iso' will be used
273 # for store image with cloud-init metadata.
274 capacity: 1
275 format: raw
276 device: cdrom
277 bus: ide
278 cloudinit_meta_data: *cloudinit_meta_data
279 cloudinit_user_data: *cloudinit_user_data_1604
280
281 interfaces: &interfaces
282 - label: ens3
283 l2_network_device: admin
284 interface_model: *interface_model
285 - label: ens4
286 l2_network_device: private
287 interface_model: *interface_model
288 network_config: &network_config
289 ens3:
290 networks:
291 - admin
292 ens4:
293 networks:
294 - private
295
296 - name: {{ HOSTNAME_CID02 }}
297 role: salt_minion
298 params:
299 vcpu: !os_env SLAVE_NODE_CPU, 4
Dennis Dmitriev92a322d2017-09-29 00:02:38 +0300300 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev411dd102017-09-15 16:04:47 +0300301 boot:
302 - hd
303 cloud_init_volume_name: iso
304 cloud_init_iface_up: ens3
305 volumes:
306 - name: system
307 capacity: !os_env NODE_VOLUME_SIZE, 150
308 backing_store: cloudimage1604
309 format: qcow2
310 - name: iso # Volume with name 'iso' will be used
311 # for store image with cloud-init metadata.
312 capacity: 1
313 format: raw
314 device: cdrom
315 bus: ide
316 cloudinit_meta_data: *cloudinit_meta_data
317 cloudinit_user_data: *cloudinit_user_data_1604
318
319 interfaces: *interfaces
320 network_config: *network_config
321
322 - name: {{ HOSTNAME_CID03 }}
323 role: salt_minion
324 params:
325 vcpu: !os_env SLAVE_NODE_CPU, 4
326 memory: !os_env SLAVE_NODE_MEMORY, 6144
327 boot:
328 - hd
329 cloud_init_volume_name: iso
330 cloud_init_iface_up: ens3
331 volumes:
332 - name: system
333 capacity: !os_env NODE_VOLUME_SIZE, 150
334 backing_store: cloudimage1604
335 format: qcow2
336 - name: iso # Volume with name 'iso' will be used
337 # for store image with cloud-init metadata.
338 capacity: 1
339 format: raw
340 device: cdrom
341 bus: ide
342 cloudinit_meta_data: *cloudinit_meta_data
343 cloudinit_user_data: *cloudinit_user_data_1604
344
345 interfaces: *interfaces
346 network_config: *network_config
347
348 - name: {{ HOSTNAME_CTL01 }}
349 role: salt_minion
350 params:
351 vcpu: !os_env SLAVE_NODE_CPU, 2
352 memory: !os_env SLAVE_NODE_MEMORY, 6144
353 boot:
354 - hd
355 cloud_init_volume_name: iso
356 cloud_init_iface_up: ens3
357 volumes:
358 - name: system
359 capacity: !os_env NODE_VOLUME_SIZE, 150
360 backing_store: cloudimage1604
361 format: qcow2
362 - name: cinder
363 capacity: 50
364 format: qcow2
365 - name: iso # Volume with name 'iso' will be used
366 # for store image with cloud-init metadata.
367 capacity: 1
368 format: raw
369 device: cdrom
370 bus: ide
371 cloudinit_meta_data: *cloudinit_meta_data
372 cloudinit_user_data: *cloudinit_user_data_1604
373
374 interfaces: *interfaces
375 network_config: *network_config
376
377 - name: {{ HOSTNAME_CTL02 }}
378 role: salt_minion
379 params:
380 vcpu: !os_env SLAVE_NODE_CPU, 2
381 memory: !os_env SLAVE_NODE_MEMORY, 6144
382 boot:
383 - hd
384 cloud_init_volume_name: iso
385 cloud_init_iface_up: ens3
386 volumes:
387 - name: system
388 capacity: !os_env NODE_VOLUME_SIZE, 150
389 backing_store: cloudimage1604
390 format: qcow2
391 - name: cinder
392 capacity: 50
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_CTL03 }}
407 role: salt_minion
408 params:
409 vcpu: !os_env SLAVE_NODE_CPU, 2
410 memory: !os_env SLAVE_NODE_MEMORY, 6144
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: iso # Volume with name 'iso' will be used
424 # for store image with cloud-init metadata.
425 capacity: 1
426 format: raw
427 device: cdrom
428 bus: ide
429 cloudinit_meta_data: *cloudinit_meta_data
430 cloudinit_user_data: *cloudinit_user_data_1604
431
432 interfaces: *interfaces
433 network_config: *network_config
434
435 - name: {{ HOSTNAME_MON01 }}
436 role: salt_minion
437 params:
438 vcpu: !os_env SLAVE_NODE_CPU, 2
439 memory: !os_env SLAVE_NODE_MEMORY, 4096
440 boot:
441 - hd
442 cloud_init_volume_name: iso
443 cloud_init_iface_up: ens3
444 volumes:
445 - name: system
446 capacity: !os_env NODE_VOLUME_SIZE, 150
447 backing_store: cloudimage1604
448 format: qcow2
449 - name: cinder
450 capacity: 50
451 format: qcow2
452 - name: iso # Volume with name 'iso' will be used
453 # for store image with cloud-init metadata.
454 capacity: 1
455 format: raw
456 device: cdrom
457 bus: ide
458 cloudinit_meta_data: *cloudinit_meta_data
459 cloudinit_user_data: *cloudinit_user_data_1604
460
461 interfaces: *interfaces
462 network_config: *network_config
463
464 - name: {{ HOSTNAME_MON02 }}
465 role: salt_minion
466 params:
467 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev92a322d2017-09-29 00:02:38 +0300468 memory: !os_env SLAVE_NODE_MEMORY, 6144
Dennis Dmitriev411dd102017-09-15 16:04:47 +0300469 boot:
470 - hd
471 cloud_init_volume_name: iso
472 cloud_init_iface_up: ens3
473 volumes:
474 - name: system
475 capacity: !os_env NODE_VOLUME_SIZE, 150
476 backing_store: cloudimage1604
477 format: qcow2
478 - name: cinder
479 capacity: 50
480 format: qcow2
481 - name: iso # Volume with name 'iso' will be used
482 # for store image with cloud-init metadata.
483 capacity: 1
484 format: raw
485 device: cdrom
486 bus: ide
487 cloudinit_meta_data: *cloudinit_meta_data
488 cloudinit_user_data: *cloudinit_user_data_1604
489
490 interfaces: *interfaces
491 network_config: *network_config
492
493 - name: {{ HOSTNAME_MON03 }}
494 role: salt_minion
495 params:
496 vcpu: !os_env SLAVE_NODE_CPU, 2
497 memory: !os_env SLAVE_NODE_MEMORY, 4096
498 boot:
499 - hd
500 cloud_init_volume_name: iso
501 cloud_init_iface_up: ens3
502 volumes:
503 - name: system
504 capacity: !os_env NODE_VOLUME_SIZE, 150
505 backing_store: cloudimage1604
506 format: qcow2
507 - name: cinder
508 capacity: 50
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
522 - name: {{ HOSTNAME_PRX01 }}
523 role: salt_minion
524 params:
525 vcpu: !os_env SLAVE_NODE_CPU, 1
526 memory: !os_env SLAVE_NODE_MEMORY, 2048
527 boot:
528 - hd
529 cloud_init_volume_name: iso
530 cloud_init_iface_up: ens3
531 volumes:
532 - name: system
533 capacity: !os_env NODE_VOLUME_SIZE, 150
534 backing_store: cloudimage1604
535 format: qcow2
536 - name: cinder
537 capacity: 50
538 format: qcow2
539 - name: iso # Volume with name 'iso' will be used
540 # for store image with cloud-init metadata.
541 capacity: 1
542 format: raw
543 device: cdrom
544 bus: ide
545 cloudinit_meta_data: *cloudinit_meta_data
546 cloudinit_user_data: *cloudinit_user_data_1604
547
548 interfaces: *interfaces
549 network_config: *network_config
550
551 - name: {{ HOSTNAME_CMP01 }}
552 role: salt_minion
553 params:
554 vcpu: !os_env SLAVE_NODE_CPU, 2
555 memory: !os_env SLAVE_NODE_MEMORY, 3072
556 boot:
557 - hd
558 cloud_init_volume_name: iso
559 cloud_init_iface_up: ens3
560 volumes:
561 - name: system
562 capacity: !os_env NODE_VOLUME_SIZE, 150
563 backing_store: cloudimage1604
564 format: qcow2
565 - name: iso # Volume with name 'iso' will be used
566 # for store image with cloud-init metadata.
567 capacity: 1
568 format: raw
569 device: cdrom
570 bus: ide
571 cloudinit_meta_data: *cloudinit_meta_data
572 cloudinit_user_data: *cloudinit_user_data_1604
573
574
575 interfaces: &all_interfaces
576 - label: ens3
577 l2_network_device: admin
578 interface_model: *interface_model
579 - label: ens4
580 l2_network_device: private
581 interface_model: *interface_model
582 - label: ens5
583 l2_network_device: private
584 interface_model: *interface_model
585 - label: ens6
586 l2_network_device: external
587 interface_model: *interface_model
588 network_config: &all_network_config
589 ens3:
590 networks:
591 - admin
592 ens4:
593 networks:
594 - private
595 ens5:
596 networks:
597 - private
598 ens6:
599 networks:
600 - external
601
Dennis Dmitriev92a322d2017-09-29 00:02:38 +0300602# - name: {{ HOSTNAME_CMP02 }}
603# role: salt_minion
604# params:
605# vcpu: !os_env SLAVE_NODE_CPU, 2
606# memory: !os_env SLAVE_NODE_MEMORY, 3072
607# boot:
608# - hd
609# cloud_init_volume_name: iso
610# cloud_init_iface_up: ens3
611# volumes:
612# - name: system
613# capacity: !os_env NODE_VOLUME_SIZE, 150
614# backing_store: cloudimage1604
615# format: qcow2
616# - name: iso # Volume with name 'iso' will be used
617# # for store image with cloud-init metadata.
618# capacity: 1
619# format: raw
620# device: cdrom
621# bus: ide
622# cloudinit_meta_data: *cloudinit_meta_data
623# cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev411dd102017-09-15 16:04:47 +0300624
625 interfaces: *all_interfaces
626 network_config: *all_network_config
627
628 - name: {{ HOSTNAME_GTW01 }}
629 role: salt_minion
630 params:
631 vcpu: !os_env SLAVE_NODE_CPU, 1
632 memory: !os_env SLAVE_NODE_MEMORY, 2048
633 boot:
634 - hd
635 cloud_init_volume_name: iso
636 cloud_init_iface_up: ens3
637 volumes:
638 - name: system
639 capacity: !os_env NODE_VOLUME_SIZE, 150
640 backing_store: cloudimage1604
641 format: qcow2
642 - name: iso # Volume with name 'iso' will be used
643 # for store image with cloud-init metadata.
644 capacity: 1
645 format: raw
646 device: cdrom
647 bus: ide
648 cloudinit_meta_data: *cloudinit_meta_data
649 cloudinit_user_data: *cloudinit_user_data_1604
650
651 interfaces: *all_interfaces
652 network_config: *all_network_config