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