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