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