blob: a9f0722aaed444dd791a3065efa66cb3ae16a881 [file] [log] [blame]
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +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 'cookied-mcp-pike-dpdk/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
5{% import 'cookied-mcp-pike-dpdk/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
6{% import 'cookied-mcp-pike-dpdk/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', 'cookied-mcp-pike-dpdk') %}
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_DBS = os_env('HOSTNAME_DBS', 'dbs.' + DOMAIN_NAME) %}
22{% set HOSTNAME_DBS01 = os_env('HOSTNAME_DBS01', 'dbs01.' + DOMAIN_NAME) %}
23{% set HOSTNAME_DBS02 = os_env('HOSTNAME_DBS02', 'dbs02.' + DOMAIN_NAME) %}
24{% set HOSTNAME_DBS03 = os_env('HOSTNAME_DBS03', 'dbs03.' + DOMAIN_NAME) %}
25{% set HOSTNAME_MSG = os_env('HOSTNAME_MSG', 'msg.' + DOMAIN_NAME) %}
26{% set HOSTNAME_MSG01 = os_env('HOSTNAME_MSG01', 'msg01.' + DOMAIN_NAME) %}
27{% set HOSTNAME_MSG02 = os_env('HOSTNAME_MSG02', 'msg02.' + DOMAIN_NAME) %}
28{% set HOSTNAME_MSG03 = os_env('HOSTNAME_MSG03', 'msg03.' + DOMAIN_NAME) %}
29{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp01.' + DOMAIN_NAME) %}
30{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp02.' + 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', 'cookied-mcp-pike-dpdk_' + 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_DBS }}: +50
50 default_{{ HOSTNAME_DBS01 }}: +51
51 default_{{ HOSTNAME_DBS02 }}: +52
52 default_{{ HOSTNAME_DBS03 }}: +53
53 default_{{ HOSTNAME_MSG }}: +40
54 default_{{ HOSTNAME_MSG01 }}: +41
55 default_{{ HOSTNAME_MSG02 }}: +42
56 default_{{ HOSTNAME_MSG03 }}: +43
57 default_{{ HOSTNAME_CMP01 }}: +105
58 default_{{ HOSTNAME_CMP02 }}: +106
59 default_{{ HOSTNAME_GTW01 }}: +110
60 default_{{ HOSTNAME_PRX01 }}: +121
61 ip_ranges:
62 dhcp: [+90, -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_DBS }}: +50
75 default_{{ HOSTNAME_DBS01 }}: +51
76 default_{{ HOSTNAME_DBS02 }}: +52
77 default_{{ HOSTNAME_DBS03 }}: +53
78 default_{{ HOSTNAME_MSG }}: +40
79 default_{{ HOSTNAME_MSG01 }}: +41
80 default_{{ HOSTNAME_MSG02 }}: +42
81 default_{{ HOSTNAME_MSG03 }}: +43
82 default_{{ HOSTNAME_CMP01 }}: +105
83 default_{{ HOSTNAME_CMP02 }}: +106
84 default_{{ HOSTNAME_GTW01 }}: +110
85 default_{{ HOSTNAME_PRX01 }}: +121
86 ip_ranges:
87 dhcp: [+90, -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_DBS }}: +50
100 default_{{ HOSTNAME_DBS01 }}: +51
101 default_{{ HOSTNAME_DBS02 }}: +52
102 default_{{ HOSTNAME_DBS03 }}: +53
103 default_{{ HOSTNAME_MSG }}: +40
104 default_{{ HOSTNAME_MSG01 }}: +41
105 default_{{ HOSTNAME_MSG02 }}: +42
106 default_{{ HOSTNAME_MSG03 }}: +43
107 default_{{ HOSTNAME_CMP01 }}: +105
108 default_{{ HOSTNAME_CMP02 }}: +106
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_DBS }}: +50
125 default_{{ HOSTNAME_DBS01 }}: +51
126 default_{{ HOSTNAME_DBS02 }}: +52
127 default_{{ HOSTNAME_DBS03 }}: +53
128 default_{{ HOSTNAME_MSG }}: +40
129 default_{{ HOSTNAME_MSG01 }}: +41
130 default_{{ HOSTNAME_MSG02 }}: +42
131 default_{{ HOSTNAME_MSG03 }}: +43
132 default_{{ HOSTNAME_CMP01 }}: +105
133 default_{{ HOSTNAME_CMP02 }}: +106
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: True
149 use_hugepages: True
150 enable_acpi: true
151 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
152 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
153
154 network_pools:
155 admin: admin-pool01
156 private: private-pool01
157 tenant: tenant-pool01
158 external: external-pool01
159
160 l2_network_devices:
161 private:
162 address_pool: private-pool01
Dennis Dmitriev68ef8ff2018-03-22 18:13:36 +0200163 dhcp: false
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200164 forward:
165 mode: route
166
167 admin:
168 address_pool: admin-pool01
169 dhcp: true
170 forward:
171 mode: nat
172
173 tenant:
174 address_pool: tenant-pool01
Dennis Dmitriev68ef8ff2018-03-22 18:13:36 +0200175 dhcp: false
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200176
177 external:
178 address_pool: external-pool01
179 dhcp: true
180 forward:
Dennis Dmitriev2cb23932018-05-01 01:47:34 +0300181 mode: route
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200182
183
184 group_volumes:
185 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
186 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
187 format: qcow2
188
189 - name: cfg01_day01_image # Pre-configured day01 image
190 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
191 format: qcow2
192
193 nodes:
194 - name: {{ HOSTNAME_CFG01 }}
195 role: salt_master
196 params:
197 vcpu: !os_env SLAVE_NODE_CPU, 2
198 memory: !os_env SLAVE_NODE_MEMORY, 8192
199 boot:
200 - hd
201 cloud_init_volume_name: iso
202 cloud_init_iface_up: ens3
203 volumes:
204 - name: system
205 capacity: !os_env NODE_VOLUME_SIZE, 150
206 backing_store: cfg01_day01_image
207 format: qcow2
208 - name: iso # Volume with name 'iso' will be used
209 # for store image with cloud-init metadata.
210 capacity: 1
211 format: raw
212 device: cdrom
213 bus: ide
214 cloudinit_meta_data: *cloudinit_meta_data
215 cloudinit_user_data: *cloudinit_user_data_cfg01
216
217 interfaces:
218 - label: ens3
219 l2_network_device: admin
220 interface_model: *interface_model
221 - label: ens4
222 l2_network_device: private
223 interface_model: *interface_model
224 network_config:
225 ens3:
226 networks:
227 - admin
228 ens4:
229 networks:
230 - private
231
232 - name: {{ HOSTNAME_CTL01 }}
233 role: salt_minion
234 params:
235 vcpu: !os_env SLAVE_NODE_CPU, 2
236 memory: !os_env SLAVE_NODE_MEMORY, 16384
237 boot:
238 - hd
239 cloud_init_volume_name: iso
240 cloud_init_iface_up: ens3
241 volumes:
242 - name: system
243 capacity: !os_env NODE_VOLUME_SIZE, 150
244 backing_store: cloudimage1604
245 format: qcow2
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200246 - 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: cloudimage1604
283 format: qcow2
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200284 - 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, 16384
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
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200310 - 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_DBS01 }}
323 role: salt_minion
324 params:
325 vcpu: !os_env SLAVE_NODE_CPU, 2
326 memory: !os_env SLAVE_NODE_MEMORY, 8192
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_DBS02 }}
349 role: salt_minion
350 params:
351 vcpu: !os_env SLAVE_NODE_CPU, 2
352 memory: !os_env SLAVE_NODE_MEMORY, 8192
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: iso # Volume with name 'iso' will be used
363 # for store image with cloud-init metadata.
364 capacity: 1
365 format: raw
366 device: cdrom
367 bus: ide
368 cloudinit_meta_data: *cloudinit_meta_data
369 cloudinit_user_data: *cloudinit_user_data_1604
370
371 interfaces: *interfaces
372 network_config: *network_config
373
374 - name: {{ HOSTNAME_DBS03 }}
375 role: salt_minion
376 params:
377 vcpu: !os_env SLAVE_NODE_CPU, 2
378 memory: !os_env SLAVE_NODE_MEMORY, 8192
379 boot:
380 - hd
381 cloud_init_volume_name: iso
382 cloud_init_iface_up: ens3
383 volumes:
384 - name: system
385 capacity: !os_env NODE_VOLUME_SIZE, 150
386 backing_store: cloudimage1604
387 format: qcow2
388 - name: iso # Volume with name 'iso' will be used
389 # for store image with cloud-init metadata.
390 capacity: 1
391 format: raw
392 device: cdrom
393 bus: ide
394 cloudinit_meta_data: *cloudinit_meta_data
395 cloudinit_user_data: *cloudinit_user_data_1604
396
397 interfaces: *interfaces
398 network_config: *network_config
399
400 - name: {{ HOSTNAME_MSG01 }}
401 role: salt_minion
402 params:
403 vcpu: !os_env SLAVE_NODE_CPU, 2
404 memory: !os_env SLAVE_NODE_MEMORY, 4096
405 boot:
406 - hd
407 cloud_init_volume_name: iso
408 cloud_init_iface_up: ens3
409 volumes:
410 - name: system
411 capacity: !os_env NODE_VOLUME_SIZE, 150
412 backing_store: cloudimage1604
413 format: qcow2
414 - name: iso # Volume with name 'iso' will be used
415 # for store image with cloud-init metadata.
416 capacity: 1
417 format: raw
418 device: cdrom
419 bus: ide
420 cloudinit_meta_data: *cloudinit_meta_data
421 cloudinit_user_data: *cloudinit_user_data_1604
422
423 interfaces: *interfaces
424 network_config: *network_config
425
426 - name: {{ HOSTNAME_MSG02 }}
427 role: salt_minion
428 params:
429 vcpu: !os_env SLAVE_NODE_CPU, 2
430 memory: !os_env SLAVE_NODE_MEMORY, 4096
431 boot:
432 - hd
433 cloud_init_volume_name: iso
434 cloud_init_iface_up: ens3
435 volumes:
436 - name: system
437 capacity: !os_env NODE_VOLUME_SIZE, 150
438 backing_store: cloudimage1604
439 format: qcow2
440 - name: iso # Volume with name 'iso' will be used
441 # for store image with cloud-init metadata.
442 capacity: 1
443 format: raw
444 device: cdrom
445 bus: ide
446 cloudinit_meta_data: *cloudinit_meta_data
447 cloudinit_user_data: *cloudinit_user_data_1604
448
449 interfaces: *interfaces
450 network_config: *network_config
451
452 - name: {{ HOSTNAME_MSG03 }}
453 role: salt_minion
454 params:
455 vcpu: !os_env SLAVE_NODE_CPU, 2
456 memory: !os_env SLAVE_NODE_MEMORY, 4096
457 boot:
458 - hd
459 cloud_init_volume_name: iso
460 cloud_init_iface_up: ens3
461 volumes:
462 - name: system
463 capacity: !os_env NODE_VOLUME_SIZE, 150
464 backing_store: cloudimage1604
465 format: qcow2
466 - name: iso # Volume with name 'iso' will be used
467 # for store image with cloud-init metadata.
468 capacity: 1
469 format: raw
470 device: cdrom
471 bus: ide
472 cloudinit_meta_data: *cloudinit_meta_data
473 cloudinit_user_data: *cloudinit_user_data_1604
474
475 interfaces: *interfaces
476 network_config: *network_config
477
478 - name: {{ HOSTNAME_PRX01 }}
479 role: salt_minion
480 params:
481 vcpu: !os_env SLAVE_NODE_CPU, 1
482 memory: !os_env SLAVE_NODE_MEMORY, 8192
483 boot:
484 - hd
485 cloud_init_volume_name: iso
486 cloud_init_iface_up: ens3
487 volumes:
488 - name: system
489 capacity: !os_env NODE_VOLUME_SIZE, 150
490 backing_store: cloudimage1604
491 format: qcow2
492 - name: cinder
493 capacity: 50
494 format: qcow2
495 - name: iso # Volume with name 'iso' will be used
496 # for store image with cloud-init metadata.
497 capacity: 1
498 format: raw
499 device: cdrom
500 bus: ide
501 cloudinit_meta_data: *cloudinit_meta_data
502 cloudinit_user_data: *cloudinit_user_data_1604
503
504 interfaces: *interfaces
505 network_config: *network_config
506
507
508 - name: {{ HOSTNAME_CMP01 }}
509 role: salt_minion
510 params:
511 vcpu: !os_env SLAVE_NODE_CPU, 12
512 memory: !os_env SLAVE_NODE_MEMORY, 8192
513 numa:
514 - cpus: 0,1,2,3,4,5
515 memory: 4096
516 - cpus: 6,7,8,9,10,11
517 memory: 4096
518 boot:
519 - hd
520 cloud_init_volume_name: iso
521 cloud_init_iface_up: ens3
522 volumes:
523 - name: system
524 capacity: !os_env NODE_VOLUME_SIZE, 150
525 backing_store: cloudimage1604
526 format: qcow2
Tatyana Leontovich1dc28bc2018-05-25 14:50:10 +0300527 - name: cinder
528 capacity: 50
529 format: qcow2
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200530 - name: iso # Volume with name 'iso' will be used
531 # for store image with cloud-init metadata.
532 capacity: 1
533 format: raw
534 device: cdrom
535 bus: ide
536 cloudinit_meta_data: *cloudinit_meta_data
537 cloudinit_user_data: *cloudinit_user_data_1604
538
539
540 interfaces: &all_interfaces
541 - label: ens3
542 l2_network_device: admin
543 interface_model: *interface_model
544 - label: ens4
545 l2_network_device: private
546 interface_model: *interface_model
547 - label: ens5
548 l2_network_device: tenant
Dennis Dmitriev7cc21ea2018-03-23 01:31:39 +0200549 interface_model: e1000
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200550 - label: ens6
Dennis Dmitriev01e30832018-03-22 19:42:00 +0200551 l2_network_device: tenant
Dennis Dmitriev7cc21ea2018-03-23 01:31:39 +0200552 interface_model: e1000
Dennis Dmitriev01e30832018-03-22 19:42:00 +0200553 - label: ens7
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200554 l2_network_device: external
555 interface_model: *interface_model
556 network_config: &all_network_config
557 ens3:
558 networks:
559 - admin
560 ens4:
561 networks:
562 - private
563 ens5:
564 networks:
565 - tenant
566 ens6:
567 networks:
Dennis Dmitriev01e30832018-03-22 19:42:00 +0200568 - tenant
569 ens7:
570 networks:
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200571 - external
572
573 - name: {{ HOSTNAME_CMP02 }}
574 role: salt_minion
575 params:
576 vcpu: !os_env SLAVE_NODE_CPU, 12
577 memory: !os_env SLAVE_NODE_MEMORY, 8192
578 numa:
579 - cpus: 0,1,2,3,4,5
580 memory: 4096
581 - cpus: 6,7,8,9,10,11
582 memory: 4096
583 boot:
584 - hd
585 cloud_init_volume_name: iso
586 cloud_init_iface_up: ens3
587 volumes:
588 - name: system
589 capacity: !os_env NODE_VOLUME_SIZE, 150
590 backing_store: cloudimage1604
591 format: qcow2
Tatyana Leontovich1dc28bc2018-05-25 14:50:10 +0300592 - name: cinder
593 capacity: 50
594 format: qcow2
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200595 - name: iso # Volume with name 'iso' will be used
596 # for store image with cloud-init metadata.
597 capacity: 1
598 format: raw
599 device: cdrom
600 bus: ide
601 cloudinit_meta_data: *cloudinit_meta_data
602 cloudinit_user_data: *cloudinit_user_data_1604
603
604 interfaces: *all_interfaces
605 network_config: *all_network_config
606
607 - name: {{ HOSTNAME_GTW01 }}
608 role: salt_minion
609 params:
610 vcpu: !os_env SLAVE_NODE_CPU, 4
611 memory: !os_env SLAVE_NODE_MEMORY, 4096
612 boot:
613 - hd
614 cloud_init_volume_name: iso
615 cloud_init_iface_up: ens3
616 volumes:
617 - name: system
618 capacity: !os_env NODE_VOLUME_SIZE, 150
619 backing_store: cloudimage1604
620 format: qcow2
621 - name: iso # Volume with name 'iso' will be used
622 # for store image with cloud-init metadata.
623 capacity: 1
624 format: raw
625 device: cdrom
626 bus: ide
627 cloudinit_meta_data: *cloudinit_meta_data
628 cloudinit_user_data: *cloudinit_user_data_1604
629
630 interfaces: *all_interfaces
631 network_config: *all_network_config