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