blob: c09233f2a6159373197ce7eb7214e9f334f6685b [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-dvr-ceph-rgw/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
5{% import 'virtual-mcp-pike-dvr-ceph-rgw/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
6{% import 'virtual-mcp-pike-dvr-ceph-rgw/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-dvr-ceph-rgw') %}
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) %}
26{% set HOSTNAME_RGW01 = os_env('HOSTNAME_CMN01', 'rgw01.' + DOMAIN_NAME) %}
27{% set HOSTNAME_RGW02 = os_env('HOSTNAME_CMN02', 'rgw02.' + DOMAIN_NAME) %}
28{% set HOSTNAME_RGW03 = os_env('HOSTNAME_CMN03', 'rgw03.' + DOMAIN_NAME) %}
29{% set HOSTNAME_OSD01 = os_env('HOSTNAME_OSD01', 'osd01.' + DOMAIN_NAME) %}
30{% set HOSTNAME_OSD02 = os_env('HOSTNAME_OSD02', 'osd02.' + 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:
Tatyana Leontovichb0b68d92018-01-11 13:27:08 +020036 env_name: {{ os_env('ENV_NAME', 'virtual-mcp-pike-dvr-ceph-rgw_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
Tatyana Leontovich56005da2017-12-11 13:16:51 +020037
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
49 default_{{ HOSTNAME_CMP01 }}: +105
50 default_{{ HOSTNAME_CMP02 }}: +106
51 default_{{ HOSTNAME_OSD01 }}: +94
52 default_{{ HOSTNAME_OSD02 }}: +95
53 default_{{ HOSTNAME_CMN01 }}: +96
54 default_{{ HOSTNAME_CMN02 }}: +97
55 default_{{ HOSTNAME_CMN03 }}: +98
56 default_{{ HOSTNAME_RGW01 }}: +76
57 default_{{ HOSTNAME_RGW02 }}: +77
58 default_{{ HOSTNAME_RGW03 }}: +78
59 default_{{ HOSTNAME_GTW01 }}: +110
60 default_{{ HOSTNAME_PRX01 }}: +121
61 ip_ranges:
62 dhcp: [+70, -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
74 default_{{ HOSTNAME_CMP01 }}: +105
75 default_{{ HOSTNAME_CMP02 }}: +106
76 default_{{ HOSTNAME_OSD01 }}: +94
77 default_{{ HOSTNAME_OSD02 }}: +95
78 default_{{ HOSTNAME_CMN01 }}: +96
79 default_{{ HOSTNAME_CMN02 }}: +97
80 default_{{ HOSTNAME_CMN03 }}: +98
81 default_{{ HOSTNAME_RGW01 }}: +76
82 default_{{ HOSTNAME_RGW02 }}: +77
83 default_{{ HOSTNAME_RGW03 }}: +78
84 default_{{ HOSTNAME_GTW01 }}: +110
85 default_{{ HOSTNAME_PRX01 }}: +121
86 ip_ranges:
87 dhcp: [+70, -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
99 default_{{ HOSTNAME_CMP01 }}: +105
100 default_{{ HOSTNAME_CMP02 }}: +106
101 default_{{ HOSTNAME_OSD01 }}: +94
102 default_{{ HOSTNAME_OSD02 }}: +95
103 default_{{ HOSTNAME_CMN01 }}: +96
104 default_{{ HOSTNAME_CMN02 }}: +97
105 default_{{ HOSTNAME_CMN03 }}: +98
106 default_{{ HOSTNAME_RGW01 }}: +76
107 default_{{ HOSTNAME_RGW02 }}: +77
108 default_{{ HOSTNAME_RGW03 }}: +78
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
124 default_{{ HOSTNAME_CMP01 }}: +105
125 default_{{ HOSTNAME_CMP02 }}: +106
126 default_{{ HOSTNAME_OSD01 }}: +94
127 default_{{ HOSTNAME_OSD02 }}: +95
128 default_{{ HOSTNAME_CMN01 }}: +96
129 default_{{ HOSTNAME_CMN02 }}: +97
130 default_{{ HOSTNAME_CMN03 }}: +98
131 default_{{ HOSTNAME_RGW01 }}: +76
132 default_{{ HOSTNAME_RGW02 }}: +77
133 default_{{ HOSTNAME_RGW03 }}: +78
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: False
149 enable_acpi: true
150 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
151 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
152
153 network_pools:
154 admin: admin-pool01
155 private: private-pool01
156 tenant: tenant-pool01
157 external: external-pool01
158
159 l2_network_devices:
160 private:
161 address_pool: private-pool01
162 dhcp: true
163
164 admin:
165 address_pool: admin-pool01
166 dhcp: true
167 forward:
168 mode: nat
169
170 tenant:
171 address_pool: tenant-pool01
172 dhcp: true
173
174 external:
175 address_pool: external-pool01
176 dhcp: true
177 forward:
178 mode: nat
179
180
181 group_volumes:
182 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200183 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
184 format: qcow2
185 - name: cfg01_day01_image # Pre-configured day01 image
186 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 +0200187 format: qcow2
188
189 nodes:
190 - name: {{ HOSTNAME_CFG01 }}
191 role: salt_master
192 params:
193 vcpu: !os_env SLAVE_NODE_CPU, 2
194 memory: !os_env SLAVE_NODE_MEMORY, 4096
195 boot:
196 - hd
197 cloud_init_volume_name: iso
198 cloud_init_iface_up: ens3
199 volumes:
200 - name: system
201 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200202 backing_store: cfg01_day01_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200203 format: qcow2
204 - name: iso # Volume with name 'iso' will be used
205 # for store image with cloud-init metadata.
206 capacity: 1
207 format: raw
208 device: cdrom
209 bus: ide
210 cloudinit_meta_data: *cloudinit_meta_data
211 cloudinit_user_data: *cloudinit_user_data_cfg01
212
213 interfaces:
214 - label: ens3
215 l2_network_device: admin
216 interface_model: *interface_model
217 - label: ens4
218 l2_network_device: private
219 interface_model: *interface_model
220 network_config:
221 ens3:
222 networks:
223 - admin
224 ens4:
225 networks:
226 - private
227
228 - name: {{ HOSTNAME_CTL01 }}
229 role: salt_minion
230 params:
231 vcpu: !os_env SLAVE_NODE_CPU, 2
232 memory: !os_env SLAVE_NODE_MEMORY, 8192
233 boot:
234 - hd
235 cloud_init_volume_name: iso
236 cloud_init_iface_up: ens3
237 volumes:
238 - name: system
239 capacity: !os_env NODE_VOLUME_SIZE, 150
240 backing_store: cloudimage1604
241 format: qcow2
242 - name: cinder
243 capacity: 50
244 format: qcow2
245 - name: iso # Volume with name 'iso' will be used
246 # for store image with cloud-init metadata.
247 capacity: 1
248 format: raw
249 device: cdrom
250 bus: ide
251 cloudinit_meta_data: *cloudinit_meta_data
252 cloudinit_user_data: *cloudinit_user_data_1604
253
254 interfaces: &interfaces
255 - label: ens3
256 l2_network_device: admin
257 interface_model: *interface_model
258 - label: ens4
259 l2_network_device: private
260 interface_model: *interface_model
261 network_config: &network_config
262 ens3:
263 networks:
264 - admin
265 ens4:
266 networks:
267 - private
268
269 - name: {{ HOSTNAME_CTL02 }}
270 role: salt_minion
271 params:
272 vcpu: !os_env SLAVE_NODE_CPU, 2
273 memory: !os_env SLAVE_NODE_MEMORY, 8192
274 boot:
275 - hd
276 cloud_init_volume_name: iso
277 cloud_init_iface_up: ens3
278 volumes:
279 - name: system
280 capacity: !os_env NODE_VOLUME_SIZE, 150
281 backing_store: cloudimage1604
282 format: qcow2
283 - name: cinder
284 capacity: 50
285 format: qcow2
286 - name: iso # Volume with name 'iso' will be used
287 # for store image with cloud-init metadata.
288 capacity: 1
289 format: raw
290 device: cdrom
291 bus: ide
292 cloudinit_meta_data: *cloudinit_meta_data
293 cloudinit_user_data: *cloudinit_user_data_1604
294
295 interfaces: *interfaces
296 network_config: *network_config
297
298 - name: {{ HOSTNAME_CTL03 }}
299 role: salt_minion
300 params:
301 vcpu: !os_env SLAVE_NODE_CPU, 2
302 memory: !os_env SLAVE_NODE_MEMORY, 8192
303 boot:
304 - hd
305 cloud_init_volume_name: iso
306 cloud_init_iface_up: ens3
307 volumes:
308 - name: system
309 capacity: !os_env NODE_VOLUME_SIZE, 150
310 backing_store: cloudimage1604
311 format: qcow2
312 - name: cinder
313 capacity: 50
314 format: qcow2
315 - name: iso # Volume with name 'iso' will be used
316 # for store image with cloud-init metadata.
317 capacity: 1
318 format: raw
319 device: cdrom
320 bus: ide
321 cloudinit_meta_data: *cloudinit_meta_data
322 cloudinit_user_data: *cloudinit_user_data_1604
323
324 interfaces: *interfaces
325 network_config: *network_config
326
327 - name: {{ HOSTNAME_CMN01 }}
328 role: salt_minion
329 params:
330 vcpu: !os_env SLAVE_NODE_CPU, 2
331 memory: !os_env SLAVE_NODE_MEMORY, 2048
332 boot:
333 - hd
334 cloud_init_volume_name: iso
335 cloud_init_iface_up: ens3
336 volumes:
337 - name: system
338 capacity: !os_env NODE_VOLUME_SIZE, 150
339 backing_store: cloudimage1604
340 format: qcow2
341 - name: iso # Volume with name 'iso' will be used
342 # for store image with cloud-init metadata.
343 capacity: 1
344 format: raw
345 device: cdrom
346 bus: ide
347 cloudinit_meta_data: *cloudinit_meta_data
348 cloudinit_user_data: *cloudinit_user_data_1604
349
350 interfaces: *interfaces
351 network_config: *network_config
352
353 - name: {{ HOSTNAME_CMN02 }}
354 role: salt_minion
355 params:
356 vcpu: !os_env SLAVE_NODE_CPU, 2
357 memory: !os_env SLAVE_NODE_MEMORY, 2048
358 boot:
359 - hd
360 cloud_init_volume_name: iso
361 cloud_init_iface_up: ens3
362 volumes:
363 - name: system
364 capacity: !os_env NODE_VOLUME_SIZE, 150
365 backing_store: cloudimage1604
366 format: qcow2
367 - name: iso # Volume with name 'iso' will be used
368 # for store image with cloud-init metadata.
369 capacity: 1
370 format: raw
371 device: cdrom
372 bus: ide
373 cloudinit_meta_data: *cloudinit_meta_data
374 cloudinit_user_data: *cloudinit_user_data_1604
375
376 interfaces: *interfaces
377 network_config: *network_config
378
379 - name: {{ HOSTNAME_CMN03 }}
380 role: salt_minion
381 params:
382 vcpu: !os_env SLAVE_NODE_CPU, 2
383 memory: !os_env SLAVE_NODE_MEMORY, 2048
384 boot:
385 - hd
386 cloud_init_volume_name: iso
387 cloud_init_iface_up: ens3
388 volumes:
389 - name: system
390 capacity: !os_env NODE_VOLUME_SIZE, 150
391 backing_store: cloudimage1604
392 format: qcow2
393 - name: iso # Volume with name 'iso' will be used
394 # for store image with cloud-init metadata.
395 capacity: 1
396 format: raw
397 device: cdrom
398 bus: ide
399 cloudinit_meta_data: *cloudinit_meta_data
400 cloudinit_user_data: *cloudinit_user_data_1604
401
402 interfaces: *interfaces
403 network_config: *network_config
404
405 - name: {{ HOSTNAME_OSD01 }}
406 role: salt_minion
407 params:
408 vcpu: !os_env SLAVE_NODE_CPU, 2
409 memory: !os_env SLAVE_NODE_MEMORY, 2048
410 boot:
411 - hd
412 cloud_init_volume_name: iso
413 cloud_init_iface_up: ens3
414 volumes:
415 - name: system
416 capacity: !os_env NODE_VOLUME_SIZE, 150
417 backing_store: cloudimage1604
418 format: qcow2
419 - name: cinder
420 capacity: 50
421 format: qcow2
422 - name: ceph
423 capacity: 50
424 format: qcow2
425 - name: iso # Volume with name 'iso' will be used
426 # for store image with cloud-init metadata.
427 capacity: 1
428 format: raw
429 device: cdrom
430 bus: ide
431 cloudinit_meta_data: *cloudinit_meta_data
432 cloudinit_user_data: *cloudinit_user_data_1604
433
434 interfaces: *interfaces
435 network_config: *network_config
436
437 - name: {{ HOSTNAME_OSD02 }}
438 role: salt_minion
439 params:
440 vcpu: !os_env SLAVE_NODE_CPU, 2
441 memory: !os_env SLAVE_NODE_MEMORY, 2048
442 boot:
443 - hd
444 cloud_init_volume_name: iso
445 cloud_init_iface_up: ens3
446 volumes:
447 - name: system
448 capacity: !os_env NODE_VOLUME_SIZE, 150
449 backing_store: cloudimage1604
450 format: qcow2
451 - name: cinder
452 capacity: 50
453 format: qcow2
454 - name: ceph
455 capacity: 50
456 format: qcow2
457 - name: iso # Volume with name 'iso' will be used
458 # for store image with cloud-init metadata.
459 capacity: 1
460 format: raw
461 device: cdrom
462 bus: ide
463 cloudinit_meta_data: *cloudinit_meta_data
464 cloudinit_user_data: *cloudinit_user_data_1604
465
466 interfaces: *interfaces
467 network_config: *network_config
468
469 - name: {{ HOSTNAME_RGW01 }}
470 role: salt_minion
471 params:
472 vcpu: !os_env SLAVE_NODE_CPU, 2
473 memory: !os_env SLAVE_NODE_MEMORY, 2048
474 boot:
475 - hd
476 cloud_init_volume_name: iso
477 cloud_init_iface_up: ens3
478 volumes:
479 - name: system
480 capacity: !os_env NODE_VOLUME_SIZE, 150
481 backing_store: cloudimage1604
482 format: qcow2
483 - name: iso # Volume with name 'iso' will be used
484 # for store image with cloud-init metadata.
485 capacity: 1
486 format: raw
487 device: cdrom
488 bus: ide
489 cloudinit_meta_data: *cloudinit_meta_data
490 cloudinit_user_data: *cloudinit_user_data_1604
491
492 interfaces: *interfaces
493 network_config: *network_config
494
495 - name: {{ HOSTNAME_RGW02 }}
496 role: salt_minion
497 params:
498 vcpu: !os_env SLAVE_NODE_CPU, 2
499 memory: !os_env SLAVE_NODE_MEMORY, 2048
500 boot:
501 - hd
502 cloud_init_volume_name: iso
503 cloud_init_iface_up: ens3
504 volumes:
505 - name: system
506 capacity: !os_env NODE_VOLUME_SIZE, 150
507 backing_store: cloudimage1604
508 format: qcow2
509 - name: iso # Volume with name 'iso' will be used
510 # for store image with cloud-init metadata.
511 capacity: 1
512 format: raw
513 device: cdrom
514 bus: ide
515 cloudinit_meta_data: *cloudinit_meta_data
516 cloudinit_user_data: *cloudinit_user_data_1604
517
518 interfaces: *interfaces
519 network_config: *network_config
520 - name: {{ HOSTNAME_RGW03 }}
521 role: salt_minion
522 params:
523 vcpu: !os_env SLAVE_NODE_CPU, 2
524 memory: !os_env SLAVE_NODE_MEMORY, 2048
525 boot:
526 - hd
527 cloud_init_volume_name: iso
528 cloud_init_iface_up: ens3
529 volumes:
530 - name: system
531 capacity: !os_env NODE_VOLUME_SIZE, 150
532 backing_store: cloudimage1604
533 format: qcow2
534 - name: iso # Volume with name 'iso' will be used
535 # for store image with cloud-init metadata.
536 capacity: 1
537 format: raw
538 device: cdrom
539 bus: ide
540 cloudinit_meta_data: *cloudinit_meta_data
541 cloudinit_user_data: *cloudinit_user_data_1604
542
543 interfaces: *interfaces
544 network_config: *network_config
545
546 - name: {{ HOSTNAME_PRX01 }}
547 role: salt_minion
548 params:
549 vcpu: !os_env SLAVE_NODE_CPU, 1
550 memory: !os_env SLAVE_NODE_MEMORY, 2048
551 boot:
552 - hd
553 cloud_init_volume_name: iso
554 cloud_init_iface_up: ens3
555 volumes:
556 - name: system
557 capacity: !os_env NODE_VOLUME_SIZE, 150
558 backing_store: cloudimage1604
559 format: qcow2
560 - name: iso # Volume with name 'iso' will be used
561 # for store image with cloud-init metadata.
562 capacity: 1
563 format: raw
564 device: cdrom
565 bus: ide
566 cloudinit_meta_data: *cloudinit_meta_data
567 cloudinit_user_data: *cloudinit_user_data_1604
568
569 interfaces: *interfaces
570 network_config: *network_config
571
572 - name: {{ HOSTNAME_CMP01 }}
573 role: salt_minion
574 params:
575 vcpu: !os_env SLAVE_NODE_CPU, 3
576 memory: !os_env SLAVE_NODE_MEMORY, 4096
577 boot:
578 - hd
579 cloud_init_volume_name: iso
580 cloud_init_iface_up: ens3
581 volumes:
582 - name: system
583 capacity: !os_env NODE_VOLUME_SIZE, 150
584 backing_store: cloudimage1604
585 format: qcow2
586 - name: iso # Volume with name 'iso' will be used
587 # for store image with cloud-init metadata.
588 capacity: 1
589 format: raw
590 device: cdrom
591 bus: ide
592 cloudinit_meta_data: *cloudinit_meta_data
593 cloudinit_user_data: *cloudinit_user_data_1604
594
595
596 interfaces: &all_interfaces
597 - label: ens3
598 l2_network_device: admin
599 interface_model: *interface_model
600 - label: ens4
601 l2_network_device: private
602 interface_model: *interface_model
603 - label: ens5
604 l2_network_device: tenant
605 interface_model: *interface_model
606 - label: ens6
607 l2_network_device: external
608 interface_model: *interface_model
609 network_config: &all_network_config
610 ens3:
611 networks:
612 - admin
613 ens4:
614 networks:
615 - private
616 ens5:
617 networks:
618 - tenant
619 ens6:
620 networks:
621 - external
622
623 - name: {{ HOSTNAME_CMP02 }}
624 role: salt_minion
625 params:
626 vcpu: !os_env SLAVE_NODE_CPU, 3
627 memory: !os_env SLAVE_NODE_MEMORY, 4096
628 boot:
629 - hd
630 cloud_init_volume_name: iso
631 cloud_init_iface_up: ens3
632 volumes:
633 - name: system
634 capacity: !os_env NODE_VOLUME_SIZE, 150
635 backing_store: cloudimage1604
636 format: qcow2
637 - name: iso # Volume with name 'iso' will be used
638 # for store image with cloud-init metadata.
639 capacity: 1
640 format: raw
641 device: cdrom
642 bus: ide
643 cloudinit_meta_data: *cloudinit_meta_data
644 cloudinit_user_data: *cloudinit_user_data_1604
645
646 interfaces: *all_interfaces
647 network_config: *all_network_config
648
649 - name: {{ HOSTNAME_GTW01 }}
650 role: salt_minion
651 params:
652 vcpu: !os_env SLAVE_NODE_CPU, 1
653 memory: !os_env SLAVE_NODE_MEMORY, 2048
654 boot:
655 - hd
656 cloud_init_volume_name: iso
657 cloud_init_iface_up: ens3
658 volumes:
659 - name: system
660 capacity: !os_env NODE_VOLUME_SIZE, 150
661 backing_store: cloudimage1604
662 format: qcow2
663 - name: iso # Volume with name 'iso' will be used
664 # for store image with cloud-init metadata.
665 capacity: 1
666 format: raw
667 device: cdrom
668 bus: ide
669 cloudinit_meta_data: *cloudinit_meta_data
670 cloudinit_user_data: *cloudinit_user_data_1604
671
672 interfaces: *all_interfaces
673 network_config: *all_network_config