blob: 3211906a5e65649ea600eee32044f4b48d219e8f [file] [log] [blame]
Dennis Dmitriev26b94a22018-07-19 16:12:22 +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-cicd-k8s-genie') %}
5{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %}
6{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01') %}
7{% set HOSTNAME_CID01 = os_env('HOSTNAME_CID01', 'cid01') %}
8{% set HOSTNAME_CID02 = os_env('HOSTNAME_CID02', 'cid02') %}
9{% set HOSTNAME_CID03 = os_env('HOSTNAME_CID03', 'cid03') %}
10
11{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01') %}
12{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02') %}
13{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03') %}
14{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp001') %}
15{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp002') %}
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +030016{% set HOSTNAME_CMP03 = os_env('HOSTNAME_CMP03', 'cmp003') %}
17{% set HOSTNAME_CMP04 = os_env('HOSTNAME_CMP04', 'cmp004') %}
Dennis Dmitrievd181ec42018-11-07 15:15:04 +020018{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01') %}
19{% set HOSTNAME_PRX02 = os_env('HOSTNAME_PRX02', 'prx02') %}
Dennis Dmitriev26b94a22018-07-19 16:12:22 +030020{% set HOSTNAME_KVM01 = os_env('HOSTNAME_KVM01', 'kvm01') %}
21{% set HOSTNAME_KVM02 = os_env('HOSTNAME_KVM02', 'kvm02') %}
22{% set HOSTNAME_KVM03 = os_env('HOSTNAME_KVM03', 'kvm03') %}
23
24{% import 'cookied-cicd-k8s-genie/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
Dennis Dmitriev26b94a22018-07-19 16:12:22 +030025{% import 'cookied-cicd-k8s-genie/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
26{% import 'cookied-cicd-k8s-genie/underlay--user-data1604-swp.yaml' as CLOUDINIT_USER_DATA_1604_SWP with context %}
27
28---
29aliases:
30 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
31 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
Dennis Dmitriev26b94a22018-07-19 16:12:22 +030032 - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }}
33 - &cloudinit_user_data_1604_swp {{ CLOUDINIT_USER_DATA_1604_SWP }}
34
35template:
36 devops_settings:
37 env_name: {{ os_env('ENV_NAME', LAB_CONFIG_NAME + '_' + 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 gateway: +1
45 l2_network_device: +1
46 default_{{ HOSTNAME_CFG01 }}: +15
47
48 default_{{ HOSTNAME_CID }}: +90
49 default_{{ HOSTNAME_CID01 }}: +91
50 default_{{ HOSTNAME_CID02 }}: +92
51 default_{{ HOSTNAME_CID03 }}: +93
Dennis Dmitrievd181ec42018-11-07 15:15:04 +020052 default_{{ HOSTNAME_PRX01 }}: +221
53 default_{{ HOSTNAME_PRX02 }}: +222
Dennis Dmitriev26b94a22018-07-19 16:12:22 +030054
55 ip_ranges:
56 dhcp: [+90, -10]
57
58 admin-pool01:
59 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
60 params:
61 ip_reserved:
62 gateway: +1
63 l2_network_device: +1
64 default_{{ HOSTNAME_CFG01 }}: +15
65
66 default_{{ HOSTNAME_CID }}: +90
67 default_{{ HOSTNAME_CID01 }}: +91
68 default_{{ HOSTNAME_CID02 }}: +92
69 default_{{ HOSTNAME_CID03 }}: +93
70
71 default_{{ HOSTNAME_CTL }}: +10
72 default_{{ HOSTNAME_CTL01 }}: +11
73 default_{{ HOSTNAME_CTL02 }}: +12
74 default_{{ HOSTNAME_CTL03 }}: +13
75 default_{{ HOSTNAME_CMP01 }}: +101
76 default_{{ HOSTNAME_CMP02 }}: +102
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +030077 default_{{ HOSTNAME_CMP03 }}: +103
78 default_{{ HOSTNAME_CMP04 }}: +104
Dennis Dmitrievd181ec42018-11-07 15:15:04 +020079 default_{{ HOSTNAME_PRX01 }}: +221
80 default_{{ HOSTNAME_PRX02 }}: +222
Dennis Dmitriev26b94a22018-07-19 16:12:22 +030081 default_{{ HOSTNAME_KVM }}: +240
82 default_{{ HOSTNAME_KVM01 }}: +241
83 default_{{ HOSTNAME_KVM02 }}: +242
84 default_{{ HOSTNAME_KVM03 }}: +243
85
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 }}: +15
96
97 default_{{ HOSTNAME_CID }}: +90
98 default_{{ HOSTNAME_CID01 }}: +91
99 default_{{ HOSTNAME_CID02 }}: +92
100 default_{{ HOSTNAME_CID03 }}: +93
101
102 ip_ranges:
103 dhcp: [+10, -10]
104
105 external-pool01:
106 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.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
Dennis Dmitrievd181ec42018-11-07 15:15:04 +0200117 default_{{ HOSTNAME_PRX01 }}: +221
118 default_{{ HOSTNAME_PRX02 }}: +222
Dennis Dmitriev26b94a22018-07-19 16:12:22 +0300119
120 ip_ranges:
121 dhcp: [+10, -10]
122
123
124 groups:
125 - name: default
126 driver:
127 name: devops.driver.libvirt
128 params:
129 connection_string: {{ os_env('CONNECTION_STRING', 'qemu:///system') }}
130 storage_pool_name: {{ os_env('STORAGE_POOL_NAME', 'default') }}
131 stp: False
132 hpet: False
133 enable_acpi: true
134 use_host_cpu: {{ os_env('DRIVER_USE_HOST_CPU', true) }}
135 use_hugepages: {{ os_env('DRIVER_USE_HUGEPAGES', false) }}
136
137 network_pools:
138 admin: admin-pool01
139 private: private-pool01
140 tenant: tenant-pool01
141 external: external-pool01
142
143 l2_network_devices:
144 admin:
145 address_pool: admin-pool01
146 dhcp: true
147 forward:
148 mode: nat
149
150 private:
151 address_pool: private-pool01
152 dhcp: false
153 forward:
154 mode: route
155
156 external:
157 address_pool: external-pool01
158 dhcp: false
159 forward:
160 mode: nat
161
162
163 group_volumes:
164 - name: cfg01_day01_image # Pre-configured day01 image
165 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01') }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
166 format: qcow2
167 - name: mcp_ubuntu_1604_image # Pre-configured image for VCP nodes initially based on kvm nodes.
168 # http://images.mirantis.com/ubuntu-16-04-x64-latest.qcow2 (preffered)
169 # or
170 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
171 source_image: {{ os_env('MCP_IMAGE_PATH1604') }}
172 format: qcow2
173
174 nodes:
175 - name: {{ HOSTNAME_CFG01 }}
176 role: salt_master
177 params:
178 vcpu: {{ os_env('CFG_NODE_CPU', 3) }}
179 memory: {{ os_env('CFG_NODE_MEMORY', 8192) }}
180 boot:
181 - hd
Dennis Dmitriev26b94a22018-07-19 16:12:22 +0300182 volumes:
183 - name: system
184 capacity: {{ os_env('CFG_NODE_VOLUME_SIZE', 150) }}
185 backing_store: cfg01_day01_image
186 format: qcow2
187 - name: config
188 capacity: 1
189 format: raw
190 device: cdrom
191 bus: ide
192 # source_image: !os_env CFG01_CONFIG_PATH # no source image required.
193 # it will be uploaded after config drive generation
Dennis Dmitriev26b94a22018-07-19 16:12:22 +0300194 interfaces:
195 - label: ens3
196 l2_network_device: admin
197 interface_model: *interface_model
198 - label: ens4
199 l2_network_device: private
200 interface_model: *interface_model
201 network_config:
202 ens3:
203 networks:
204 - admin
205 ens4:
206 networks:
207 - private
208
209 - name: {{ HOSTNAME_KVM01 }}
210 role: salt_minion
211 params:
212 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
213 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
214 boot:
215 - hd
216 cloud_init_volume_name: iso
217 cloud_init_iface_up: ens3
218 volumes:
219 - name: system
220 capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }}
221 backing_store: mcp_ubuntu_1604_image
222 format: qcow2
223 - name: iso # Volume with name 'iso' will be used
224 # for store image with cloud-init metadata.
225 capacity: 1
226 format: raw
227 device: cdrom
228 bus: ide
229 cloudinit_meta_data: *cloudinit_meta_data
230 cloudinit_user_data: *cloudinit_user_data_1604_swp
231
232 interfaces: &interfaces
233 - label: ens3
234 l2_network_device: admin
235 interface_model: *interface_model
236 - label: ens4
237 l2_network_device: private
238 interface_model: *interface_model
239 network_config: &network_config
240 ens3:
241 networks:
242 - admin
243 ens4:
244 networks:
245 - private
246
247 - name: {{ HOSTNAME_KVM02 }}
248 role: salt_minion
249 params:
250 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
251 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
252 boot:
253 - hd
254 cloud_init_volume_name: iso
255 cloud_init_iface_up: ens3
256 volumes:
257 - name: system
258 capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }}
259 backing_store: mcp_ubuntu_1604_image
260 format: qcow2
261 - name: iso # Volume with name 'iso' will be used
262 # for store image with cloud-init metadata.
263 capacity: 1
264 format: raw
265 device: cdrom
266 bus: ide
267 cloudinit_meta_data: *cloudinit_meta_data
268 cloudinit_user_data: *cloudinit_user_data_1604_swp
269
270 interfaces: *interfaces
271 network_config: *network_config
272
273 - name: {{ HOSTNAME_KVM03 }}
274 role: salt_minion
275 params:
276 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
277 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
278 boot:
279 - hd
280 cloud_init_volume_name: iso
281 cloud_init_iface_up: ens3
282 volumes:
283 - name: system
284 capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }}
285 backing_store: mcp_ubuntu_1604_image
286 format: qcow2
287 - name: iso # Volume with name 'iso' will be used
288 # for store image with cloud-init metadata.
289 capacity: 1
290 format: raw
291 device: cdrom
292 bus: ide
293 cloudinit_meta_data: *cloudinit_meta_data
294 cloudinit_user_data: *cloudinit_user_data_1604_swp
295
296 interfaces: *interfaces
297 network_config: *network_config
298
299 - name: {{ HOSTNAME_CID01 }}
300 role: salt_minion
301 params:
302 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
303 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
304 boot:
305 - hd
306 cloud_init_volume_name: iso
307 cloud_init_iface_up: ens3
308 volumes:
309 - name: system
310 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
311 backing_store: mcp_ubuntu_1604_image
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_swp
321
322 interfaces: *interfaces
323 network_config: *network_config
324
325 - name: {{ HOSTNAME_CID02 }}
326 role: salt_minion
327 params:
328 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
329 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
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('CID_NODE_VOLUME_SIZE', 150) }}
337 backing_store: mcp_ubuntu_1604_image
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_swp
347
348 interfaces: *interfaces
349 network_config: *network_config
350
351 - name: {{ HOSTNAME_CID03 }}
352 role: salt_minion
353 params:
354 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
355 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
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('CID_NODE_VOLUME_SIZE', 150) }}
363 backing_store: mcp_ubuntu_1604_image
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_swp
373
374 interfaces: *interfaces
375 network_config: *network_config
376
377 - name: {{ HOSTNAME_CTL01 }}
378 role: k8s_controller
379 params:
380 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300381 memory: !os_env SLAVE_NODE_MEMORY, 8192
Dennis Dmitriev26b94a22018-07-19 16:12:22 +0300382 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: mcp_ubuntu_1604_image
390 format: qcow2
Dennis Dmitriev26b94a22018-07-19 16:12:22 +0300391 - 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_CTL02 }}
404 role: salt_minion
405 params:
406 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300407 memory: !os_env SLAVE_NODE_MEMORY, 8192
Dennis Dmitriev26b94a22018-07-19 16:12:22 +0300408 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: mcp_ubuntu_1604_image
416 format: qcow2
Dennis Dmitriev26b94a22018-07-19 16:12:22 +0300417 - name: iso # Volume with name 'iso' will be used
418 # for store image with cloud-init metadata.
419 capacity: 1
420 format: raw
421 device: cdrom
422 bus: ide
423 cloudinit_meta_data: *cloudinit_meta_data
424 cloudinit_user_data: *cloudinit_user_data_1604
425
426 interfaces: *interfaces
427 network_config: *network_config
428
429 - name: {{ HOSTNAME_CTL03 }}
430 role: salt_minion
431 params:
432 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300433 memory: !os_env SLAVE_NODE_MEMORY, 8192
Dennis Dmitriev26b94a22018-07-19 16:12:22 +0300434 boot:
435 - hd
436 cloud_init_volume_name: iso
437 cloud_init_iface_up: ens3
438 volumes:
439 - name: system
440 capacity: !os_env NODE_VOLUME_SIZE, 150
441 backing_store: mcp_ubuntu_1604_image
442 format: qcow2
Dennis Dmitriev26b94a22018-07-19 16:12:22 +0300443 - name: iso # Volume with name 'iso' will be used
444 # for store image with cloud-init metadata.
445 capacity: 1
446 format: raw
447 device: cdrom
448 bus: ide
449 cloudinit_meta_data: *cloudinit_meta_data
450 cloudinit_user_data: *cloudinit_user_data_1604
451
452 interfaces: *interfaces
453 network_config: *network_config
454
455 - name: {{ HOSTNAME_CMP01 }}
456 role: salt_minion
457 params:
458 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300459 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev26b94a22018-07-19 16:12:22 +0300460 boot:
461 - hd
462 cloud_init_volume_name: iso
463 cloud_init_iface_up: ens3
464 volumes:
465 - name: system
466 capacity: !os_env NODE_VOLUME_SIZE, 150
467 backing_store: mcp_ubuntu_1604_image
468 format: qcow2
469 - name: iso # Volume with name 'iso' will be used
470 # for store image with cloud-init metadata.
471 capacity: 1
472 format: raw
473 device: cdrom
474 bus: ide
475 cloudinit_meta_data: *cloudinit_meta_data
476 cloudinit_user_data: *cloudinit_user_data_1604
477
478 interfaces: *interfaces
479 network_config: *network_config
480
481 - name: {{ HOSTNAME_CMP02 }}
482 role: salt_minion
483 params:
484 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300485 memory: !os_env SLAVE_NODE_MEMORY, 4096
486 boot:
487 - hd
488 cloud_init_volume_name: iso
489 cloud_init_iface_up: ens3
490 volumes:
491 - name: system
492 capacity: !os_env NODE_VOLUME_SIZE, 150
493 backing_store: mcp_ubuntu_1604_image
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 - name: {{ HOSTNAME_CMP03 }}
508 role: salt_minion
509 params:
510 vcpu: !os_env SLAVE_NODE_CPU, 2
511 memory: !os_env SLAVE_NODE_MEMORY, 4096
512 boot:
513 - hd
514 cloud_init_volume_name: iso
515 cloud_init_iface_up: ens3
516 volumes:
517 - name: system
518 capacity: !os_env NODE_VOLUME_SIZE, 150
519 backing_store: mcp_ubuntu_1604_image
520 format: qcow2
521 - name: iso # Volume with name 'iso' will be used
522 # for store image with cloud-init metadata.
523 capacity: 1
524 format: raw
525 device: cdrom
526 bus: ide
527 cloudinit_meta_data: *cloudinit_meta_data
528 cloudinit_user_data: *cloudinit_user_data_1604
529
530 interfaces: *interfaces
531 network_config: *network_config
532
533 - name: {{ HOSTNAME_CMP04 }}
534 role: salt_minion
535 params:
536 vcpu: !os_env SLAVE_NODE_CPU, 2
537 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev26b94a22018-07-19 16:12:22 +0300538 boot:
539 - hd
540 cloud_init_volume_name: iso
541 cloud_init_iface_up: ens3
542 volumes:
543 - name: system
544 capacity: !os_env NODE_VOLUME_SIZE, 150
545 backing_store: mcp_ubuntu_1604_image
546 format: qcow2
547 - name: iso # Volume with name 'iso' will be used
548 # for store image with cloud-init metadata.
549 capacity: 1
550 format: raw
551 device: cdrom
552 bus: ide
553 cloudinit_meta_data: *cloudinit_meta_data
554 cloudinit_user_data: *cloudinit_user_data_1604
555
556 interfaces: *interfaces
557 network_config: *network_config
Dennis Dmitrievd181ec42018-11-07 15:15:04 +0200558
559 - name: {{ HOSTNAME_PRX01 }}
560 role: salt_minion
561 params:
562 vcpu: !os_env SLAVE_NODE_CPU, 1
563 memory: !os_env SLAVE_NODE_MEMORY, 2048
564 boot:
565 - hd
566 cloud_init_volume_name: iso
567 cloud_init_iface_up: ens3
568 volumes:
569 - name: system
570 capacity: !os_env NODE_VOLUME_SIZE, 150
571 backing_store: mcp_ubuntu_1604_image
572 format: qcow2
573 - name: iso # Volume with name 'iso' will be used
574 # for store image with cloud-init metadata.
575 capacity: 1
576 format: raw
577 device: cdrom
578 bus: ide
579 cloudinit_meta_data: *cloudinit_meta_data
580 cloudinit_user_data: *cloudinit_user_data_1604_swp
581
582 interfaces: *interfaces
583 network_config: *network_config
584
585 - name: {{ HOSTNAME_PRX02 }}
586 role: salt_minion
587 params:
588 vcpu: !os_env SLAVE_NODE_CPU, 1
589 memory: !os_env SLAVE_NODE_MEMORY, 2048
590 boot:
591 - hd
592 cloud_init_volume_name: iso
593 cloud_init_iface_up: ens3
594 volumes:
595 - name: system
596 capacity: !os_env NODE_VOLUME_SIZE, 150
597 backing_store: mcp_ubuntu_1604_image
598 format: qcow2
599 - name: iso # Volume with name 'iso' will be used
600 # for store image with cloud-init metadata.
601 capacity: 1
602 format: raw
603 device: cdrom
604 bus: ide
605 cloudinit_meta_data: *cloudinit_meta_data
606 cloudinit_user_data: *cloudinit_user_data_1604_swp
607
608 interfaces: *interfaces
609 network_config: *network_config