blob: eb0e1a507e6d844bc5b39c3ca066f8cacf404df6 [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
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +02004{% import 'virtual-mcp-pike-ovs/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
5{% import 'virtual-mcp-pike-ovs/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
6{% import 'virtual-mcp-pike-ovs/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
Tatyana Leontovich56005da2017-12-11 13:16:51 +02007
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
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +020015{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'virtual-mcp-pike-ovs') %}
Tatyana Leontovich56005da2017-12-11 13:16:51 +020016{% 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) %}
Dennis Dmitrievd86ffa12018-03-15 22:07:51 +020023{% set HOSTNAME_MDB01 = os_env('HOSTNAME_MDB01', 'mdb01.' + DOMAIN_NAME) %}
24{% set HOSTNAME_MDB02 = os_env('HOSTNAME_MDB02', 'mdb02.' + DOMAIN_NAME) %}
25{% set HOSTNAME_MDB03 = os_env('HOSTNAME_MDB03', 'mdb03.' + DOMAIN_NAME) %}
Tatyana Leontovich56005da2017-12-11 13:16:51 +020026{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
27{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
sgudz6138c362018-03-20 15:33:59 +020028{% set HOSTNAME_SHARE01 = os_env('HOSTNAME_SHARE01', 'share01.' + DOMAIN_NAME) %}
Tatyana Leontovich56005da2017-12-11 13:16:51 +020029
30template:
31 devops_settings:
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +020032 env_name: {{ os_env('ENV_NAME', 'virtual-mcp-pike-ovs_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
Tatyana Leontovich56005da2017-12-11 13:16:51 +020033
34 address_pools:
35 private-pool01:
36 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
37 params:
38 ip_reserved:
39 gateway: +1
40 l2_network_device: +1
41 default_{{ HOSTNAME_CFG01 }}: +100
42 default_{{ HOSTNAME_CTL01 }}: +101
43 default_{{ HOSTNAME_CTL02 }}: +102
44 default_{{ HOSTNAME_CTL03 }}: +103
45 default_{{ HOSTNAME_CMP01 }}: +105
46 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitriev01d5e372018-03-15 23:29:29 +020047 default_{{ HOSTNAME_MDB01 }}: +45
48 default_{{ HOSTNAME_MDB02 }}: +46
49 default_{{ HOSTNAME_MDB03 }}: +47
Tatyana Leontovich56005da2017-12-11 13:16:51 +020050 default_{{ HOSTNAME_GTW01 }}: +110
51 default_{{ HOSTNAME_PRX01 }}: +121
sgudz6138c362018-03-20 15:33:59 +020052 default_{{ HOSTNAME_SHARE01 }}: +130
Tatyana Leontovich56005da2017-12-11 13:16:51 +020053 ip_ranges:
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +020054 dhcp: [+90, -10]
Tatyana Leontovich56005da2017-12-11 13:16:51 +020055
56 admin-pool01:
57 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
58 params:
59 ip_reserved:
60 gateway: +1
61 l2_network_device: +1
62 default_{{ HOSTNAME_CFG01 }}: +90
63 default_{{ HOSTNAME_CTL01 }}: +101
64 default_{{ HOSTNAME_CTL02 }}: +102
65 default_{{ HOSTNAME_CTL03 }}: +103
66 default_{{ HOSTNAME_CMP01 }}: +105
67 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitriev01d5e372018-03-15 23:29:29 +020068 default_{{ HOSTNAME_MDB01 }}: +45
69 default_{{ HOSTNAME_MDB02 }}: +46
70 default_{{ HOSTNAME_MDB03 }}: +47
Tatyana Leontovich56005da2017-12-11 13:16:51 +020071 default_{{ HOSTNAME_GTW01 }}: +110
72 default_{{ HOSTNAME_PRX01 }}: +121
sgudz6138c362018-03-20 15:33:59 +020073 default_{{ HOSTNAME_SHARE01 }}: +130
Tatyana Leontovich56005da2017-12-11 13:16:51 +020074 ip_ranges:
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +020075 dhcp: [+90, -10]
Tatyana Leontovich56005da2017-12-11 13:16:51 +020076
77 tenant-pool01:
78 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
79 params:
80 ip_reserved:
81 gateway: +1
82 l2_network_device: +1
83 default_{{ HOSTNAME_CFG01 }}: +100
84 default_{{ HOSTNAME_CTL01 }}: +101
85 default_{{ HOSTNAME_CTL02 }}: +102
86 default_{{ HOSTNAME_CTL03 }}: +103
87 default_{{ HOSTNAME_CMP01 }}: +105
88 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitriev01d5e372018-03-15 23:29:29 +020089 default_{{ HOSTNAME_MDB01 }}: +45
90 default_{{ HOSTNAME_MDB02 }}: +46
91 default_{{ HOSTNAME_MDB03 }}: +47
Tatyana Leontovich56005da2017-12-11 13:16:51 +020092 default_{{ HOSTNAME_GTW01 }}: +110
93 default_{{ HOSTNAME_PRX01 }}: +121
sgudz6138c362018-03-20 15:33:59 +020094 default_{{ HOSTNAME_SHARE01 }}: +130
Tatyana Leontovich56005da2017-12-11 13:16:51 +020095 ip_ranges:
96 dhcp: [+10, -10]
97
98 external-pool01:
99 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
100 params:
101 ip_reserved:
102 gateway: +1
103 l2_network_device: +1
104 default_{{ HOSTNAME_CFG01 }}: +100
105 default_{{ HOSTNAME_CTL01 }}: +101
106 default_{{ HOSTNAME_CTL02 }}: +102
107 default_{{ HOSTNAME_CTL03 }}: +103
108 default_{{ HOSTNAME_CMP01 }}: +105
109 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitriev01d5e372018-03-15 23:29:29 +0200110 default_{{ HOSTNAME_MDB01 }}: +45
111 default_{{ HOSTNAME_MDB02 }}: +46
112 default_{{ HOSTNAME_MDB03 }}: +47
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200113 default_{{ HOSTNAME_GTW01 }}: +110
114 default_{{ HOSTNAME_PRX01 }}: +121
sgudz6138c362018-03-20 15:33:59 +0200115 default_{{ HOSTNAME_SHARE01 }}: +130
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200116 ip_ranges:
117 dhcp: [+10, -10]
118
119
120 groups:
121 - name: default
122 driver:
123 name: devops.driver.libvirt
124 params:
125 connection_string: !os_env CONNECTION_STRING, qemu:///system
126 storage_pool_name: !os_env STORAGE_POOL_NAME, default
127 stp: False
128 hpet: False
129 enable_acpi: true
130 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
131 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
132
133 network_pools:
134 admin: admin-pool01
135 private: private-pool01
136 tenant: tenant-pool01
137 external: external-pool01
138
139 l2_network_devices:
140 private:
141 address_pool: private-pool01
142 dhcp: true
Dennis Dmitrieva5978eb2018-02-21 10:12:33 +0200143 forward:
144 mode: route
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200145
146 admin:
147 address_pool: admin-pool01
148 dhcp: true
149 forward:
150 mode: nat
151
152 tenant:
153 address_pool: tenant-pool01
154 dhcp: true
155
156 external:
157 address_pool: external-pool01
158 dhcp: true
159 forward:
160 mode: nat
161
162
163 group_volumes:
164 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200165 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
166 format: qcow2
167 - name: cfg01_day01_image # Pre-configured day01 image
168 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200169 format: qcow2
Tatyana Leontovichded29902018-01-30 09:53:34 +0200170 - name: mcp_ubuntu_1604_image # Pre-configured image for control plane
171 source_image: !os_env MCP_IMAGE_PATH1604
172 format: qcow2
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200173
174 nodes:
175 - name: {{ HOSTNAME_CFG01 }}
176 role: salt_master
177 params:
178 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev75e250f2018-02-26 17:13:59 +0200179 memory: !os_env SLAVE_NODE_MEMORY, 8192
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200180 boot:
181 - hd
182 cloud_init_volume_name: iso
183 cloud_init_iface_up: ens3
184 volumes:
185 - name: system
186 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200187 backing_store: cfg01_day01_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200188 format: qcow2
189 - name: iso # Volume with name 'iso' will be used
190 # for store image with cloud-init metadata.
191 capacity: 1
192 format: raw
193 device: cdrom
194 bus: ide
195 cloudinit_meta_data: *cloudinit_meta_data
196 cloudinit_user_data: *cloudinit_user_data_cfg01
197
198 interfaces:
199 - label: ens3
200 l2_network_device: admin
201 interface_model: *interface_model
202 - label: ens4
203 l2_network_device: private
204 interface_model: *interface_model
205 network_config:
206 ens3:
207 networks:
208 - admin
209 ens4:
210 networks:
211 - private
212
213 - name: {{ HOSTNAME_CTL01 }}
214 role: salt_minion
215 params:
216 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev75e250f2018-02-26 17:13:59 +0200217 memory: !os_env SLAVE_NODE_MEMORY, 16384
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200218 boot:
219 - hd
220 cloud_init_volume_name: iso
221 cloud_init_iface_up: ens3
222 volumes:
223 - name: system
224 capacity: !os_env NODE_VOLUME_SIZE, 150
Tatyana Leontovichded29902018-01-30 09:53:34 +0200225 backing_store: mcp_ubuntu_1604_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200226 format: qcow2
227 - name: cinder
228 capacity: 50
229 format: qcow2
230 - name: iso # Volume with name 'iso' will be used
231 # for store image with cloud-init metadata.
232 capacity: 1
233 format: raw
234 device: cdrom
235 bus: ide
236 cloudinit_meta_data: *cloudinit_meta_data
237 cloudinit_user_data: *cloudinit_user_data_1604
238
239 interfaces: &interfaces
240 - label: ens3
241 l2_network_device: admin
242 interface_model: *interface_model
243 - label: ens4
244 l2_network_device: private
245 interface_model: *interface_model
246 network_config: &network_config
247 ens3:
248 networks:
249 - admin
250 ens4:
251 networks:
252 - private
253
254 - name: {{ HOSTNAME_CTL02 }}
255 role: salt_minion
256 params:
257 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev75e250f2018-02-26 17:13:59 +0200258 memory: !os_env SLAVE_NODE_MEMORY, 16384
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200259 boot:
260 - hd
261 cloud_init_volume_name: iso
262 cloud_init_iface_up: ens3
263 volumes:
264 - name: system
265 capacity: !os_env NODE_VOLUME_SIZE, 150
Tatyana Leontovichded29902018-01-30 09:53:34 +0200266 backing_store: mcp_ubuntu_1604_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200267 format: qcow2
268 - name: cinder
269 capacity: 50
270 format: qcow2
271 - name: iso # Volume with name 'iso' will be used
272 # for store image with cloud-init metadata.
273 capacity: 1
274 format: raw
275 device: cdrom
276 bus: ide
277 cloudinit_meta_data: *cloudinit_meta_data
278 cloudinit_user_data: *cloudinit_user_data_1604
279
280 interfaces: *interfaces
281 network_config: *network_config
282
283 - name: {{ HOSTNAME_CTL03 }}
284 role: salt_minion
285 params:
286 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev75e250f2018-02-26 17:13:59 +0200287 memory: !os_env SLAVE_NODE_MEMORY, 16384
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200288 boot:
289 - hd
290 cloud_init_volume_name: iso
291 cloud_init_iface_up: ens3
292 volumes:
293 - name: system
294 capacity: !os_env NODE_VOLUME_SIZE, 150
Tatyana Leontovichded29902018-01-30 09:53:34 +0200295 backing_store: mcp_ubuntu_1604_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200296 format: qcow2
297 - name: cinder
298 capacity: 50
299 format: qcow2
300 - name: iso # Volume with name 'iso' will be used
301 # for store image with cloud-init metadata.
302 capacity: 1
303 format: raw
304 device: cdrom
305 bus: ide
306 cloudinit_meta_data: *cloudinit_meta_data
307 cloudinit_user_data: *cloudinit_user_data_1604
308
309 interfaces: *interfaces
310 network_config: *network_config
311
Dennis Dmitrievd86ffa12018-03-15 22:07:51 +0200312 - name: {{ HOSTNAME_MDB01 }}
313 role: salt_minion
314 params:
315 vcpu: !os_env SLAVE_NODE_CPU, 2
316 memory: !os_env SLAVE_NODE_MEMORY, 8192
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_MDB02 }}
342 role: salt_minion
343 params:
344 vcpu: !os_env SLAVE_NODE_CPU, 2
345 memory: !os_env SLAVE_NODE_MEMORY, 8192
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_MDB03 }}
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
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200399 - name: {{ HOSTNAME_PRX01 }}
400 role: salt_minion
401 params:
402 vcpu: !os_env SLAVE_NODE_CPU, 1
403 memory: !os_env SLAVE_NODE_MEMORY, 2048
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
Tatyana Leontovichded29902018-01-30 09:53:34 +0200411 backing_store: mcp_ubuntu_1604_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200412 format: qcow2
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +0200413 - name: cinder
414 capacity: 50
415 format: qcow2
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200416 - 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_CMP01 }}
429 role: salt_minion
430 params:
431 vcpu: !os_env SLAVE_NODE_CPU, 3
432 memory: !os_env SLAVE_NODE_MEMORY, 4096
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: cloudimage1604
441 format: qcow2
442 - name: iso # Volume with name 'iso' will be used
443 # for store image with cloud-init metadata.
444 capacity: 1
445 format: raw
446 device: cdrom
447 bus: ide
448 cloudinit_meta_data: *cloudinit_meta_data
449 cloudinit_user_data: *cloudinit_user_data_1604
450
451
452 interfaces: &all_interfaces
453 - label: ens3
454 l2_network_device: admin
455 interface_model: *interface_model
456 - label: ens4
457 l2_network_device: private
458 interface_model: *interface_model
459 - label: ens5
460 l2_network_device: tenant
461 interface_model: *interface_model
462 - label: ens6
463 l2_network_device: external
464 interface_model: *interface_model
465 network_config: &all_network_config
466 ens3:
467 networks:
468 - admin
469 ens4:
470 networks:
471 - private
472 ens5:
473 networks:
474 - tenant
475 ens6:
476 networks:
477 - external
478
479 - name: {{ HOSTNAME_CMP02 }}
480 role: salt_minion
481 params:
482 vcpu: !os_env SLAVE_NODE_CPU, 3
483 memory: !os_env SLAVE_NODE_MEMORY, 4096
484 boot:
485 - hd
486 cloud_init_volume_name: iso
487 cloud_init_iface_up: ens3
488 volumes:
489 - name: system
490 capacity: !os_env NODE_VOLUME_SIZE, 150
491 backing_store: cloudimage1604
492 format: qcow2
493 - name: iso # Volume with name 'iso' will be used
494 # for store image with cloud-init metadata.
495 capacity: 1
496 format: raw
497 device: cdrom
498 bus: ide
499 cloudinit_meta_data: *cloudinit_meta_data
500 cloudinit_user_data: *cloudinit_user_data_1604
501
502 interfaces: *all_interfaces
503 network_config: *all_network_config
504
505 - name: {{ HOSTNAME_GTW01 }}
506 role: salt_minion
507 params:
Dennis Dmitrievfd3370b2018-03-07 00:50:35 +0200508 vcpu: !os_env SLAVE_NODE_CPU, 4
509 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200510 boot:
511 - hd
512 cloud_init_volume_name: iso
513 cloud_init_iface_up: ens3
514 volumes:
515 - name: system
516 capacity: !os_env NODE_VOLUME_SIZE, 150
517 backing_store: cloudimage1604
518 format: qcow2
519 - name: iso # Volume with name 'iso' will be used
520 # for store image with cloud-init metadata.
521 capacity: 1
522 format: raw
523 device: cdrom
524 bus: ide
525 cloudinit_meta_data: *cloudinit_meta_data
526 cloudinit_user_data: *cloudinit_user_data_1604
527
528 interfaces: *all_interfaces
529 network_config: *all_network_config
sgudz6138c362018-03-20 15:33:59 +0200530
531 - name: {{ HOSTNAME_SHARE01 }}
532 role: salt_minion
533 params:
534 vcpu: !os_env SLAVE_NODE_CPU, 2
535 memory: !os_env SLAVE_NODE_MEMORY, 4096
536 boot:
537 - hd
538 cloud_init_volume_name: iso
539 cloud_init_iface_up: ens3
540 volumes:
541 - name: system
542 capacity: !os_env NODE_VOLUME_SIZE, 150
543 backing_store: mcp_ubuntu_1604_image
544 format: qcow2
545 - name: iso # Volume with name 'iso' will be used
546 # for store image with cloud-init metadata.
547 capacity: 1
548 format: raw
549 device: cdrom
550 bus: ide
551 cloudinit_meta_data: *cloudinit_meta_data
552 cloudinit_user_data: *cloudinit_user_data_1604
553
554 interfaces: *all_interfaces
555 network_config: *all_network_config