blob: 1ce697b759129c2138988955452a71168b22bc74 [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-ceph/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
5{% import 'virtual-mcp-pike-ovs-ceph/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
6{% import 'virtual-mcp-pike-ovs-ceph/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-ceph') %}
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) %}
23{% set HOSTNAME_CMN01 = os_env('HOSTNAME_CMN01', 'cmn01.' + DOMAIN_NAME) %}
24{% set HOSTNAME_CMN02 = os_env('HOSTNAME_CMN02', 'cmn02.' + DOMAIN_NAME) %}
25{% set HOSTNAME_CMN03 = os_env('HOSTNAME_CMN03', 'cmn03.' + DOMAIN_NAME) %}
Tatyana Leontovich56005da2017-12-11 13:16:51 +020026{% set HOSTNAME_OSD01 = os_env('HOSTNAME_OSD01', 'osd01.' + DOMAIN_NAME) %}
27{% set HOSTNAME_OSD02 = os_env('HOSTNAME_OSD02', 'osd02.' + DOMAIN_NAME) %}
28{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
29{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
30
31template:
32 devops_settings:
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +020033 env_name: {{ os_env('ENV_NAME', 'virtual-mcp-pike-ovs-ceph_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
Tatyana Leontovich56005da2017-12-11 13:16:51 +020034
35 address_pools:
36 private-pool01:
37 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
38 params:
39 ip_reserved:
40 gateway: +1
41 l2_network_device: +1
42 default_{{ HOSTNAME_CFG01 }}: +100
43 default_{{ HOSTNAME_CTL01 }}: +101
44 default_{{ HOSTNAME_CTL02 }}: +102
45 default_{{ HOSTNAME_CTL03 }}: +103
46 default_{{ HOSTNAME_CMP01 }}: +105
47 default_{{ HOSTNAME_CMP02 }}: +106
48 default_{{ HOSTNAME_OSD01 }}: +94
49 default_{{ HOSTNAME_OSD02 }}: +95
50 default_{{ HOSTNAME_CMN01 }}: +96
51 default_{{ HOSTNAME_CMN02 }}: +97
52 default_{{ HOSTNAME_CMN03 }}: +98
Tatyana Leontovich56005da2017-12-11 13:16:51 +020053 default_{{ HOSTNAME_GTW01 }}: +110
54 default_{{ HOSTNAME_PRX01 }}: +121
55 ip_ranges:
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +020056 dhcp: [+90, -10]
Tatyana Leontovich56005da2017-12-11 13:16:51 +020057
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 }}: +90
65 default_{{ HOSTNAME_CTL01 }}: +101
66 default_{{ HOSTNAME_CTL02 }}: +102
67 default_{{ HOSTNAME_CTL03 }}: +103
68 default_{{ HOSTNAME_CMP01 }}: +105
69 default_{{ HOSTNAME_CMP02 }}: +106
70 default_{{ HOSTNAME_OSD01 }}: +94
71 default_{{ HOSTNAME_OSD02 }}: +95
72 default_{{ HOSTNAME_CMN01 }}: +96
73 default_{{ HOSTNAME_CMN02 }}: +97
74 default_{{ HOSTNAME_CMN03 }}: +98
Tatyana Leontovich56005da2017-12-11 13:16:51 +020075 default_{{ HOSTNAME_GTW01 }}: +110
76 default_{{ HOSTNAME_PRX01 }}: +121
77 ip_ranges:
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +020078 dhcp: [+90, -10]
Tatyana Leontovich56005da2017-12-11 13:16:51 +020079
80 tenant-pool01:
81 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
82 params:
83 ip_reserved:
84 gateway: +1
85 l2_network_device: +1
86 default_{{ HOSTNAME_CFG01 }}: +100
87 default_{{ HOSTNAME_CTL01 }}: +101
88 default_{{ HOSTNAME_CTL02 }}: +102
89 default_{{ HOSTNAME_CTL03 }}: +103
90 default_{{ HOSTNAME_CMP01 }}: +105
91 default_{{ HOSTNAME_CMP02 }}: +106
92 default_{{ HOSTNAME_OSD01 }}: +94
93 default_{{ HOSTNAME_OSD02 }}: +95
94 default_{{ HOSTNAME_CMN01 }}: +96
95 default_{{ HOSTNAME_CMN02 }}: +97
96 default_{{ HOSTNAME_CMN03 }}: +98
Tatyana Leontovich56005da2017-12-11 13:16:51 +020097 default_{{ HOSTNAME_GTW01 }}: +110
98 default_{{ HOSTNAME_PRX01 }}: +121
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:
106 gateway: +1
107 l2_network_device: +1
108 default_{{ HOSTNAME_CFG01 }}: +100
109 default_{{ HOSTNAME_CTL01 }}: +101
110 default_{{ HOSTNAME_CTL02 }}: +102
111 default_{{ HOSTNAME_CTL03 }}: +103
112 default_{{ HOSTNAME_CMP01 }}: +105
113 default_{{ HOSTNAME_CMP02 }}: +106
114 default_{{ HOSTNAME_OSD01 }}: +94
115 default_{{ HOSTNAME_OSD02 }}: +95
116 default_{{ HOSTNAME_CMN01 }}: +96
117 default_{{ HOSTNAME_CMN02 }}: +97
118 default_{{ HOSTNAME_CMN03 }}: +98
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200119 default_{{ HOSTNAME_GTW01 }}: +110
120 default_{{ HOSTNAME_PRX01 }}: +121
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
Dennis Dmitriev68ef8ff2018-03-22 18:13:36 +0200147 dhcp: false
Dennis Dmitrieva5978eb2018-02-21 10:12:33 +0200148 forward:
149 mode: route
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200150
151 admin:
152 address_pool: admin-pool01
153 dhcp: true
154 forward:
155 mode: nat
156
157 tenant:
158 address_pool: tenant-pool01
Dennis Dmitriev68ef8ff2018-03-22 18:13:36 +0200159 dhcp: false
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200160
161 external:
162 address_pool: external-pool01
163 dhcp: true
164 forward:
Dennis Dmitrievb0ce3682018-05-01 16:48:11 +0300165 mode: route
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200166
167
168 group_volumes:
169 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200170 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
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200174 format: qcow2
Tatyana Leontovichded29902018-01-30 09:53:34 +0200175 - name: mcp_ubuntu_1604_image # Pre-configured image for control plane
176 source_image: !os_env MCP_IMAGE_PATH1604
177 format: qcow2
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200178
179 nodes:
180 - name: {{ HOSTNAME_CFG01 }}
181 role: salt_master
182 params:
183 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev75e250f2018-02-26 17:13:59 +0200184 memory: !os_env SLAVE_NODE_MEMORY, 8192
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200185 boot:
186 - hd
187 cloud_init_volume_name: iso
188 cloud_init_iface_up: ens3
189 volumes:
190 - name: system
191 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200192 backing_store: cfg01_day01_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200193 format: qcow2
194 - name: iso # Volume with name 'iso' will be used
195 # for store image with cloud-init metadata.
196 capacity: 1
197 format: raw
198 device: cdrom
199 bus: ide
200 cloudinit_meta_data: *cloudinit_meta_data
201 cloudinit_user_data: *cloudinit_user_data_cfg01
202
203 interfaces:
204 - label: ens3
205 l2_network_device: admin
206 interface_model: *interface_model
207 - label: ens4
208 l2_network_device: private
209 interface_model: *interface_model
210 network_config:
211 ens3:
212 networks:
213 - admin
214 ens4:
215 networks:
216 - private
217
218 - name: {{ HOSTNAME_CTL01 }}
219 role: salt_minion
220 params:
221 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev75e250f2018-02-26 17:13:59 +0200222 memory: !os_env SLAVE_NODE_MEMORY, 16384
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200223 boot:
224 - hd
225 cloud_init_volume_name: iso
226 cloud_init_iface_up: ens3
227 volumes:
228 - name: system
229 capacity: !os_env NODE_VOLUME_SIZE, 150
Tatyana Leontovichded29902018-01-30 09:53:34 +0200230 backing_store: mcp_ubuntu_1604_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200231 format: qcow2
232 - name: cinder
233 capacity: 50
234 format: qcow2
235 - name: iso # Volume with name 'iso' will be used
236 # for store image with cloud-init metadata.
237 capacity: 1
238 format: raw
239 device: cdrom
240 bus: ide
241 cloudinit_meta_data: *cloudinit_meta_data
242 cloudinit_user_data: *cloudinit_user_data_1604
243
244 interfaces: &interfaces
245 - label: ens3
246 l2_network_device: admin
247 interface_model: *interface_model
248 - label: ens4
249 l2_network_device: private
250 interface_model: *interface_model
251 network_config: &network_config
252 ens3:
253 networks:
254 - admin
255 ens4:
256 networks:
257 - private
258
259 - name: {{ HOSTNAME_CTL02 }}
260 role: salt_minion
261 params:
262 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev75e250f2018-02-26 17:13:59 +0200263 memory: !os_env SLAVE_NODE_MEMORY, 16384
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200264 boot:
265 - hd
266 cloud_init_volume_name: iso
267 cloud_init_iface_up: ens3
268 volumes:
269 - name: system
270 capacity: !os_env NODE_VOLUME_SIZE, 150
Tatyana Leontovichded29902018-01-30 09:53:34 +0200271 backing_store: mcp_ubuntu_1604_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200272 format: qcow2
273 - name: cinder
274 capacity: 50
275 format: qcow2
276 - name: iso # Volume with name 'iso' will be used
277 # for store image with cloud-init metadata.
278 capacity: 1
279 format: raw
280 device: cdrom
281 bus: ide
282 cloudinit_meta_data: *cloudinit_meta_data
283 cloudinit_user_data: *cloudinit_user_data_1604
284
285 interfaces: *interfaces
286 network_config: *network_config
287
288 - name: {{ HOSTNAME_CTL03 }}
289 role: salt_minion
290 params:
291 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev75e250f2018-02-26 17:13:59 +0200292 memory: !os_env SLAVE_NODE_MEMORY, 16384
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200293 boot:
294 - hd
295 cloud_init_volume_name: iso
296 cloud_init_iface_up: ens3
297 volumes:
298 - name: system
299 capacity: !os_env NODE_VOLUME_SIZE, 150
Tatyana Leontovichded29902018-01-30 09:53:34 +0200300 backing_store: mcp_ubuntu_1604_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200301 format: qcow2
302 - name: cinder
303 capacity: 50
304 format: qcow2
305 - name: iso # Volume with name 'iso' will be used
306 # for store image with cloud-init metadata.
307 capacity: 1
308 format: raw
309 device: cdrom
310 bus: ide
311 cloudinit_meta_data: *cloudinit_meta_data
312 cloudinit_user_data: *cloudinit_user_data_1604
313
314 interfaces: *interfaces
315 network_config: *network_config
316
317 - name: {{ HOSTNAME_CMN01 }}
318 role: salt_minion
319 params:
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +0200320 vcpu: !os_env SLAVE_NODE_CPU, 3
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200321 memory: !os_env SLAVE_NODE_MEMORY, 2048
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: iso # Volume with name 'iso' will be used
332 # for store image with cloud-init metadata.
333 capacity: 1
334 format: raw
335 device: cdrom
336 bus: ide
337 cloudinit_meta_data: *cloudinit_meta_data
338 cloudinit_user_data: *cloudinit_user_data_1604
339
340 interfaces: *interfaces
341 network_config: *network_config
342
343 - name: {{ HOSTNAME_CMN02 }}
344 role: salt_minion
345 params:
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +0200346 vcpu: !os_env SLAVE_NODE_CPU, 3
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200347 memory: !os_env SLAVE_NODE_MEMORY, 2048
348 boot:
349 - hd
350 cloud_init_volume_name: iso
351 cloud_init_iface_up: ens3
352 volumes:
353 - name: system
354 capacity: !os_env NODE_VOLUME_SIZE, 150
355 backing_store: cloudimage1604
356 format: qcow2
357 - name: iso # Volume with name 'iso' will be used
358 # for store image with cloud-init metadata.
359 capacity: 1
360 format: raw
361 device: cdrom
362 bus: ide
363 cloudinit_meta_data: *cloudinit_meta_data
364 cloudinit_user_data: *cloudinit_user_data_1604
365
366 interfaces: *interfaces
367 network_config: *network_config
368
369 - name: {{ HOSTNAME_CMN03 }}
370 role: salt_minion
371 params:
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +0200372 vcpu: !os_env SLAVE_NODE_CPU, 3
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200373 memory: !os_env SLAVE_NODE_MEMORY, 2048
374 boot:
375 - hd
376 cloud_init_volume_name: iso
377 cloud_init_iface_up: ens3
378 volumes:
379 - name: system
380 capacity: !os_env NODE_VOLUME_SIZE, 150
381 backing_store: cloudimage1604
382 format: qcow2
383 - name: iso # Volume with name 'iso' will be used
384 # for store image with cloud-init metadata.
385 capacity: 1
386 format: raw
387 device: cdrom
388 bus: ide
389 cloudinit_meta_data: *cloudinit_meta_data
390 cloudinit_user_data: *cloudinit_user_data_1604
391
392 interfaces: *interfaces
393 network_config: *network_config
394
395 - name: {{ HOSTNAME_OSD01 }}
396 role: salt_minion
397 params:
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +0200398 vcpu: !os_env SLAVE_NODE_CPU, 3
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200399 memory: !os_env SLAVE_NODE_MEMORY, 2048
400 boot:
401 - hd
402 cloud_init_volume_name: iso
403 cloud_init_iface_up: ens3
404 volumes:
405 - name: system
406 capacity: !os_env NODE_VOLUME_SIZE, 150
407 backing_store: cloudimage1604
408 format: qcow2
409 - name: cinder
410 capacity: 50
411 format: qcow2
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200412 - name: iso # Volume with name 'iso' will be used
413 # for store image with cloud-init metadata.
414 capacity: 1
415 format: raw
416 device: cdrom
417 bus: ide
418 cloudinit_meta_data: *cloudinit_meta_data
419 cloudinit_user_data: *cloudinit_user_data_1604
420
421 interfaces: *interfaces
422 network_config: *network_config
423
424 - name: {{ HOSTNAME_OSD02 }}
425 role: salt_minion
426 params:
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +0200427 vcpu: !os_env SLAVE_NODE_CPU, 3
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200428 memory: !os_env SLAVE_NODE_MEMORY, 2048
429 boot:
430 - hd
431 cloud_init_volume_name: iso
432 cloud_init_iface_up: ens3
433 volumes:
434 - name: system
435 capacity: !os_env NODE_VOLUME_SIZE, 150
436 backing_store: cloudimage1604
437 format: qcow2
438 - name: cinder
439 capacity: 50
440 format: qcow2
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200441 - name: iso # Volume with name 'iso' will be used
442 # for store image with cloud-init metadata.
443 capacity: 1
444 format: raw
445 device: cdrom
446 bus: ide
447 cloudinit_meta_data: *cloudinit_meta_data
448 cloudinit_user_data: *cloudinit_user_data_1604
449
450 interfaces: *interfaces
451 network_config: *network_config
452
453 - name: {{ HOSTNAME_PRX01 }}
454 role: salt_minion
455 params:
456 vcpu: !os_env SLAVE_NODE_CPU, 1
457 memory: !os_env SLAVE_NODE_MEMORY, 2048
458 boot:
459 - hd
460 cloud_init_volume_name: iso
461 cloud_init_iface_up: ens3
462 volumes:
463 - name: system
464 capacity: !os_env NODE_VOLUME_SIZE, 150
Tatyana Leontovichded29902018-01-30 09:53:34 +0200465 backing_store: mcp_ubuntu_1604_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200466 format: qcow2
467 - name: iso # Volume with name 'iso' will be used
468 # for store image with cloud-init metadata.
469 capacity: 1
470 format: raw
471 device: cdrom
472 bus: ide
473 cloudinit_meta_data: *cloudinit_meta_data
474 cloudinit_user_data: *cloudinit_user_data_1604
475
476 interfaces: *interfaces
477 network_config: *network_config
478
479 - name: {{ HOSTNAME_CMP01 }}
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
503 interfaces: &all_interfaces
504 - label: ens3
505 l2_network_device: admin
506 interface_model: *interface_model
507 - label: ens4
508 l2_network_device: private
509 interface_model: *interface_model
510 - label: ens5
511 l2_network_device: tenant
512 interface_model: *interface_model
513 - label: ens6
514 l2_network_device: external
515 interface_model: *interface_model
516 network_config: &all_network_config
517 ens3:
518 networks:
519 - admin
520 ens4:
521 networks:
522 - private
523 ens5:
524 networks:
525 - tenant
526 ens6:
527 networks:
528 - external
529
530 - name: {{ HOSTNAME_CMP02 }}
531 role: salt_minion
532 params:
533 vcpu: !os_env SLAVE_NODE_CPU, 3
534 memory: !os_env SLAVE_NODE_MEMORY, 4096
535 boot:
536 - hd
537 cloud_init_volume_name: iso
538 cloud_init_iface_up: ens3
539 volumes:
540 - name: system
541 capacity: !os_env NODE_VOLUME_SIZE, 150
542 backing_store: cloudimage1604
543 format: qcow2
544 - name: iso # Volume with name 'iso' will be used
545 # for store image with cloud-init metadata.
546 capacity: 1
547 format: raw
548 device: cdrom
549 bus: ide
550 cloudinit_meta_data: *cloudinit_meta_data
551 cloudinit_user_data: *cloudinit_user_data_1604
552
553 interfaces: *all_interfaces
554 network_config: *all_network_config
555
556 - name: {{ HOSTNAME_GTW01 }}
557 role: salt_minion
558 params:
Dennis Dmitrievfd3370b2018-03-07 00:50:35 +0200559 vcpu: !os_env SLAVE_NODE_CPU, 4
560 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200561 boot:
562 - hd
563 cloud_init_volume_name: iso
564 cloud_init_iface_up: ens3
565 volumes:
566 - name: system
567 capacity: !os_env NODE_VOLUME_SIZE, 150
568 backing_store: cloudimage1604
569 format: qcow2
570 - name: iso # Volume with name 'iso' will be used
571 # for store image with cloud-init metadata.
572 capacity: 1
573 format: raw
574 device: cdrom
575 bus: ide
576 cloudinit_meta_data: *cloudinit_meta_data
577 cloudinit_user_data: *cloudinit_user_data_1604
578
579 interfaces: *all_interfaces
580 network_config: *all_network_config