blob: 8cd1cca1556fc488e97ef8cac1e499ba490d1f1a [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
Tatyana Leontovichded29902018-01-30 09:53:34 +0200188 - name: mcp_ubuntu_1604_image # Pre-configured image for control plane
189 source_image: !os_env MCP_IMAGE_PATH1604
190 format: qcow2
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200191
192 nodes:
193 - name: {{ HOSTNAME_CFG01 }}
194 role: salt_master
195 params:
196 vcpu: !os_env SLAVE_NODE_CPU, 2
197 memory: !os_env SLAVE_NODE_MEMORY, 4096
198 boot:
199 - hd
200 cloud_init_volume_name: iso
201 cloud_init_iface_up: ens3
202 volumes:
203 - name: system
204 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200205 backing_store: cfg01_day01_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200206 format: qcow2
207 - name: iso # Volume with name 'iso' will be used
208 # for store image with cloud-init metadata.
209 capacity: 1
210 format: raw
211 device: cdrom
212 bus: ide
213 cloudinit_meta_data: *cloudinit_meta_data
214 cloudinit_user_data: *cloudinit_user_data_cfg01
215
216 interfaces:
217 - label: ens3
218 l2_network_device: admin
219 interface_model: *interface_model
220 - label: ens4
221 l2_network_device: private
222 interface_model: *interface_model
223 network_config:
224 ens3:
225 networks:
226 - admin
227 ens4:
228 networks:
229 - private
230
231 - name: {{ HOSTNAME_CTL01 }}
232 role: salt_minion
233 params:
234 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev0937c392018-01-29 18:46:40 +0200235 memory: !os_env SLAVE_NODE_MEMORY, 12288
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200236 boot:
237 - hd
238 cloud_init_volume_name: iso
239 cloud_init_iface_up: ens3
240 volumes:
241 - name: system
242 capacity: !os_env NODE_VOLUME_SIZE, 150
Tatyana Leontovichded29902018-01-30 09:53:34 +0200243 backing_store: mcp_ubuntu_1604_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200244 format: qcow2
245 - name: cinder
246 capacity: 50
247 format: qcow2
248 - name: iso # Volume with name 'iso' will be used
249 # for store image with cloud-init metadata.
250 capacity: 1
251 format: raw
252 device: cdrom
253 bus: ide
254 cloudinit_meta_data: *cloudinit_meta_data
255 cloudinit_user_data: *cloudinit_user_data_1604
256
257 interfaces: &interfaces
258 - label: ens3
259 l2_network_device: admin
260 interface_model: *interface_model
261 - label: ens4
262 l2_network_device: private
263 interface_model: *interface_model
264 network_config: &network_config
265 ens3:
266 networks:
267 - admin
268 ens4:
269 networks:
270 - private
271
272 - name: {{ HOSTNAME_CTL02 }}
273 role: salt_minion
274 params:
275 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev0937c392018-01-29 18:46:40 +0200276 memory: !os_env SLAVE_NODE_MEMORY, 12288
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200277 boot:
278 - hd
279 cloud_init_volume_name: iso
280 cloud_init_iface_up: ens3
281 volumes:
282 - name: system
283 capacity: !os_env NODE_VOLUME_SIZE, 150
Tatyana Leontovichded29902018-01-30 09:53:34 +0200284 backing_store: mcp_ubuntu_1604_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200285 format: qcow2
286 - name: cinder
287 capacity: 50
288 format: qcow2
289 - name: iso # Volume with name 'iso' will be used
290 # for store image with cloud-init metadata.
291 capacity: 1
292 format: raw
293 device: cdrom
294 bus: ide
295 cloudinit_meta_data: *cloudinit_meta_data
296 cloudinit_user_data: *cloudinit_user_data_1604
297
298 interfaces: *interfaces
299 network_config: *network_config
300
301 - name: {{ HOSTNAME_CTL03 }}
302 role: salt_minion
303 params:
304 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev0937c392018-01-29 18:46:40 +0200305 memory: !os_env SLAVE_NODE_MEMORY, 12288
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200306 boot:
307 - hd
308 cloud_init_volume_name: iso
309 cloud_init_iface_up: ens3
310 volumes:
311 - name: system
312 capacity: !os_env NODE_VOLUME_SIZE, 150
Tatyana Leontovichded29902018-01-30 09:53:34 +0200313 backing_store: mcp_ubuntu_1604_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200314 format: qcow2
315 - name: cinder
316 capacity: 50
317 format: qcow2
318 - name: iso # Volume with name 'iso' will be used
319 # for store image with cloud-init metadata.
320 capacity: 1
321 format: raw
322 device: cdrom
323 bus: ide
324 cloudinit_meta_data: *cloudinit_meta_data
325 cloudinit_user_data: *cloudinit_user_data_1604
326
327 interfaces: *interfaces
328 network_config: *network_config
329
330 - name: {{ HOSTNAME_CMN01 }}
331 role: salt_minion
332 params:
333 vcpu: !os_env SLAVE_NODE_CPU, 2
334 memory: !os_env SLAVE_NODE_MEMORY, 2048
335 boot:
336 - hd
337 cloud_init_volume_name: iso
338 cloud_init_iface_up: ens3
339 volumes:
340 - name: system
341 capacity: !os_env NODE_VOLUME_SIZE, 150
342 backing_store: cloudimage1604
343 format: qcow2
344 - name: iso # Volume with name 'iso' will be used
345 # for store image with cloud-init metadata.
346 capacity: 1
347 format: raw
348 device: cdrom
349 bus: ide
350 cloudinit_meta_data: *cloudinit_meta_data
351 cloudinit_user_data: *cloudinit_user_data_1604
352
353 interfaces: *interfaces
354 network_config: *network_config
355
356 - name: {{ HOSTNAME_CMN02 }}
357 role: salt_minion
358 params:
359 vcpu: !os_env SLAVE_NODE_CPU, 2
360 memory: !os_env SLAVE_NODE_MEMORY, 2048
361 boot:
362 - hd
363 cloud_init_volume_name: iso
364 cloud_init_iface_up: ens3
365 volumes:
366 - name: system
367 capacity: !os_env NODE_VOLUME_SIZE, 150
368 backing_store: cloudimage1604
369 format: qcow2
370 - name: iso # Volume with name 'iso' will be used
371 # for store image with cloud-init metadata.
372 capacity: 1
373 format: raw
374 device: cdrom
375 bus: ide
376 cloudinit_meta_data: *cloudinit_meta_data
377 cloudinit_user_data: *cloudinit_user_data_1604
378
379 interfaces: *interfaces
380 network_config: *network_config
381
382 - name: {{ HOSTNAME_CMN03 }}
383 role: salt_minion
384 params:
385 vcpu: !os_env SLAVE_NODE_CPU, 2
386 memory: !os_env SLAVE_NODE_MEMORY, 2048
387 boot:
388 - hd
389 cloud_init_volume_name: iso
390 cloud_init_iface_up: ens3
391 volumes:
392 - name: system
393 capacity: !os_env NODE_VOLUME_SIZE, 150
394 backing_store: cloudimage1604
395 format: qcow2
396 - name: iso # Volume with name 'iso' will be used
397 # for store image with cloud-init metadata.
398 capacity: 1
399 format: raw
400 device: cdrom
401 bus: ide
402 cloudinit_meta_data: *cloudinit_meta_data
403 cloudinit_user_data: *cloudinit_user_data_1604
404
405 interfaces: *interfaces
406 network_config: *network_config
407
408 - name: {{ HOSTNAME_OSD01 }}
409 role: salt_minion
410 params:
411 vcpu: !os_env SLAVE_NODE_CPU, 2
412 memory: !os_env SLAVE_NODE_MEMORY, 2048
413 boot:
414 - hd
415 cloud_init_volume_name: iso
416 cloud_init_iface_up: ens3
417 volumes:
418 - name: system
419 capacity: !os_env NODE_VOLUME_SIZE, 150
420 backing_store: cloudimage1604
421 format: qcow2
422 - name: cinder
423 capacity: 50
424 format: qcow2
425 - name: ceph
426 capacity: 50
427 format: qcow2
428 - name: iso # Volume with name 'iso' will be used
429 # for store image with cloud-init metadata.
430 capacity: 1
431 format: raw
432 device: cdrom
433 bus: ide
434 cloudinit_meta_data: *cloudinit_meta_data
435 cloudinit_user_data: *cloudinit_user_data_1604
436
437 interfaces: *interfaces
438 network_config: *network_config
439
440 - name: {{ HOSTNAME_OSD02 }}
441 role: salt_minion
442 params:
443 vcpu: !os_env SLAVE_NODE_CPU, 2
444 memory: !os_env SLAVE_NODE_MEMORY, 2048
445 boot:
446 - hd
447 cloud_init_volume_name: iso
448 cloud_init_iface_up: ens3
449 volumes:
450 - name: system
451 capacity: !os_env NODE_VOLUME_SIZE, 150
452 backing_store: cloudimage1604
453 format: qcow2
454 - name: cinder
455 capacity: 50
456 format: qcow2
457 - name: ceph
458 capacity: 50
459 format: qcow2
460 - name: iso # Volume with name 'iso' will be used
461 # for store image with cloud-init metadata.
462 capacity: 1
463 format: raw
464 device: cdrom
465 bus: ide
466 cloudinit_meta_data: *cloudinit_meta_data
467 cloudinit_user_data: *cloudinit_user_data_1604
468
469 interfaces: *interfaces
470 network_config: *network_config
471
472 - name: {{ HOSTNAME_RGW01 }}
473 role: salt_minion
474 params:
475 vcpu: !os_env SLAVE_NODE_CPU, 2
476 memory: !os_env SLAVE_NODE_MEMORY, 2048
477 boot:
478 - hd
479 cloud_init_volume_name: iso
480 cloud_init_iface_up: ens3
481 volumes:
482 - name: system
483 capacity: !os_env NODE_VOLUME_SIZE, 150
484 backing_store: cloudimage1604
485 format: qcow2
486 - name: iso # Volume with name 'iso' will be used
487 # for store image with cloud-init metadata.
488 capacity: 1
489 format: raw
490 device: cdrom
491 bus: ide
492 cloudinit_meta_data: *cloudinit_meta_data
493 cloudinit_user_data: *cloudinit_user_data_1604
494
495 interfaces: *interfaces
496 network_config: *network_config
497
498 - name: {{ HOSTNAME_RGW02 }}
499 role: salt_minion
500 params:
501 vcpu: !os_env SLAVE_NODE_CPU, 2
502 memory: !os_env SLAVE_NODE_MEMORY, 2048
503 boot:
504 - hd
505 cloud_init_volume_name: iso
506 cloud_init_iface_up: ens3
507 volumes:
508 - name: system
509 capacity: !os_env NODE_VOLUME_SIZE, 150
510 backing_store: cloudimage1604
511 format: qcow2
512 - name: iso # Volume with name 'iso' will be used
513 # for store image with cloud-init metadata.
514 capacity: 1
515 format: raw
516 device: cdrom
517 bus: ide
518 cloudinit_meta_data: *cloudinit_meta_data
519 cloudinit_user_data: *cloudinit_user_data_1604
520
521 interfaces: *interfaces
522 network_config: *network_config
523 - name: {{ HOSTNAME_RGW03 }}
524 role: salt_minion
525 params:
526 vcpu: !os_env SLAVE_NODE_CPU, 2
527 memory: !os_env SLAVE_NODE_MEMORY, 2048
528 boot:
529 - hd
530 cloud_init_volume_name: iso
531 cloud_init_iface_up: ens3
532 volumes:
533 - name: system
534 capacity: !os_env NODE_VOLUME_SIZE, 150
535 backing_store: cloudimage1604
536 format: qcow2
537 - name: iso # Volume with name 'iso' will be used
538 # for store image with cloud-init metadata.
539 capacity: 1
540 format: raw
541 device: cdrom
542 bus: ide
543 cloudinit_meta_data: *cloudinit_meta_data
544 cloudinit_user_data: *cloudinit_user_data_1604
545
546 interfaces: *interfaces
547 network_config: *network_config
548
549 - name: {{ HOSTNAME_PRX01 }}
550 role: salt_minion
551 params:
552 vcpu: !os_env SLAVE_NODE_CPU, 1
553 memory: !os_env SLAVE_NODE_MEMORY, 2048
554 boot:
555 - hd
556 cloud_init_volume_name: iso
557 cloud_init_iface_up: ens3
558 volumes:
559 - name: system
560 capacity: !os_env NODE_VOLUME_SIZE, 150
Tatyana Leontovichded29902018-01-30 09:53:34 +0200561 backing_store: mcp_ubuntu_1604_image
Tatyana Leontovich56005da2017-12-11 13:16:51 +0200562 format: qcow2
563 - name: iso # Volume with name 'iso' will be used
564 # for store image with cloud-init metadata.
565 capacity: 1
566 format: raw
567 device: cdrom
568 bus: ide
569 cloudinit_meta_data: *cloudinit_meta_data
570 cloudinit_user_data: *cloudinit_user_data_1604
571
572 interfaces: *interfaces
573 network_config: *network_config
574
575 - name: {{ HOSTNAME_CMP01 }}
576 role: salt_minion
577 params:
578 vcpu: !os_env SLAVE_NODE_CPU, 3
579 memory: !os_env SLAVE_NODE_MEMORY, 4096
580 boot:
581 - hd
582 cloud_init_volume_name: iso
583 cloud_init_iface_up: ens3
584 volumes:
585 - name: system
586 capacity: !os_env NODE_VOLUME_SIZE, 150
587 backing_store: cloudimage1604
588 format: qcow2
589 - name: iso # Volume with name 'iso' will be used
590 # for store image with cloud-init metadata.
591 capacity: 1
592 format: raw
593 device: cdrom
594 bus: ide
595 cloudinit_meta_data: *cloudinit_meta_data
596 cloudinit_user_data: *cloudinit_user_data_1604
597
598
599 interfaces: &all_interfaces
600 - label: ens3
601 l2_network_device: admin
602 interface_model: *interface_model
603 - label: ens4
604 l2_network_device: private
605 interface_model: *interface_model
606 - label: ens5
607 l2_network_device: tenant
608 interface_model: *interface_model
609 - label: ens6
610 l2_network_device: external
611 interface_model: *interface_model
612 network_config: &all_network_config
613 ens3:
614 networks:
615 - admin
616 ens4:
617 networks:
618 - private
619 ens5:
620 networks:
621 - tenant
622 ens6:
623 networks:
624 - external
625
626 - name: {{ HOSTNAME_CMP02 }}
627 role: salt_minion
628 params:
629 vcpu: !os_env SLAVE_NODE_CPU, 3
630 memory: !os_env SLAVE_NODE_MEMORY, 4096
631 boot:
632 - hd
633 cloud_init_volume_name: iso
634 cloud_init_iface_up: ens3
635 volumes:
636 - name: system
637 capacity: !os_env NODE_VOLUME_SIZE, 150
638 backing_store: cloudimage1604
639 format: qcow2
640 - name: iso # Volume with name 'iso' will be used
641 # for store image with cloud-init metadata.
642 capacity: 1
643 format: raw
644 device: cdrom
645 bus: ide
646 cloudinit_meta_data: *cloudinit_meta_data
647 cloudinit_user_data: *cloudinit_user_data_1604
648
649 interfaces: *all_interfaces
650 network_config: *all_network_config
651
652 - name: {{ HOSTNAME_GTW01 }}
653 role: salt_minion
654 params:
655 vcpu: !os_env SLAVE_NODE_CPU, 1
656 memory: !os_env SLAVE_NODE_MEMORY, 2048
657 boot:
658 - hd
659 cloud_init_volume_name: iso
660 cloud_init_iface_up: ens3
661 volumes:
662 - name: system
663 capacity: !os_env NODE_VOLUME_SIZE, 150
664 backing_store: cloudimage1604
665 format: qcow2
666 - name: iso # Volume with name 'iso' will be used
667 # for store image with cloud-init metadata.
668 capacity: 1
669 format: raw
670 device: cdrom
671 bus: ide
672 cloudinit_meta_data: *cloudinit_meta_data
673 cloudinit_user_data: *cloudinit_user_data_1604
674
675 interfaces: *all_interfaces
676 network_config: *all_network_config