blob: 25af0b664cfc92a150974615e2716e288b1d1765 [file] [log] [blame]
Dennis Dmitrievb3b37492018-07-08 21:23:00 +03001# 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 'cookied-cicd-pike-dvr-sl/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
Dennis Dmitrievb3b37492018-07-08 21:23:00 +03005{% import 'cookied-cicd-pike-dvr-sl/underlay--user-data1604-swp.yaml' as CLOUDINIT_USER_DATA_1604_SWP with context %}
6
7---
8aliases:
9 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
10 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
Dennis Dmitrievb3b37492018-07-08 21:23:00 +030011 - &cloudinit_user_data_1604_swp {{ CLOUDINIT_USER_DATA_1604_SWP }}
12
13{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-cicd-pike-dvr-sl') %}
14{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME) + '.local' %}
15{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
16{% set HOSTNAME_KVM01 = os_env('HOSTNAME_KVM01', 'kvm01.' + DOMAIN_NAME) %}
17{% set HOSTNAME_KVM02 = os_env('HOSTNAME_KVM02', 'kvm02.' + DOMAIN_NAME) %}
18{% set HOSTNAME_KVM03 = os_env('HOSTNAME_KVM03', 'kvm03.' + DOMAIN_NAME) %}
19{% set HOSTNAME_CID01 = os_env('HOSTNAME_CID01', 'cid01.' + DOMAIN_NAME) %}
20{% set HOSTNAME_CID02 = os_env('HOSTNAME_CID02', 'cid02.' + DOMAIN_NAME) %}
21{% set HOSTNAME_CID03 = os_env('HOSTNAME_CID03', 'cid03.' + DOMAIN_NAME) %}
22{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %}
23{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %}
24{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %}
25{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp001.' + DOMAIN_NAME) %}
26{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp002.' + DOMAIN_NAME) %}
27{% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01.' + DOMAIN_NAME) %}
28{% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02.' + DOMAIN_NAME) %}
29{% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03.' + DOMAIN_NAME) %}
30{% set HOSTNAME_LOG01 = os_env('HOSTNAME_LOG01', 'log01.' + DOMAIN_NAME) %}
31{% set HOSTNAME_LOG02 = os_env('HOSTNAME_LOG02', 'log02.' + DOMAIN_NAME) %}
32{% set HOSTNAME_LOG03 = os_env('HOSTNAME_LOG03', 'log03.' + DOMAIN_NAME) %}
33{% set HOSTNAME_MTR01 = os_env('HOSTNAME_MTR01', 'mtr01.' + DOMAIN_NAME) %}
34{% set HOSTNAME_MTR02 = os_env('HOSTNAME_MTR02', 'mtr02.' + DOMAIN_NAME) %}
35{% set HOSTNAME_MTR03 = os_env('HOSTNAME_MTR03', 'mtr03.' + DOMAIN_NAME) %}
36{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
37{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
38
39template:
40 devops_settings:
41 env_name: {{ os_env('ENV_NAME', 'cookied-cicd-pike-dvr-sl_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
42
43 address_pools:
44 private-pool01:
45 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
46 params:
47 ip_reserved:
48 gateway: +1
49 l2_network_device: +1
50 default_{{ HOSTNAME_CFG01 }}: +15
51 default_{{ HOSTNAME_KVM }}: +240
52 default_{{ HOSTNAME_KVM01 }}: +241
53 default_{{ HOSTNAME_KVM02 }}: +242
54 default_{{ HOSTNAME_KVM03 }}: +243
55 default_{{ HOSTNAME_CID }}: +90
56 default_{{ HOSTNAME_CID01 }}: +91
57 default_{{ HOSTNAME_CID02 }}: +92
58 default_{{ HOSTNAME_CID03 }}: +93
59 default_{{ HOSTNAME_CTL01 }}: +101
60 default_{{ HOSTNAME_CTL02 }}: +102
61 default_{{ HOSTNAME_CTL03 }}: +103
62 default_{{ HOSTNAME_CMP01 }}: +105
63 default_{{ HOSTNAME_CMP02 }}: +106
64 default_{{ HOSTNAME_MON01 }}: +71
65 default_{{ HOSTNAME_MON02 }}: +72
66 default_{{ HOSTNAME_MON03 }}: +73
67 default_{{ HOSTNAME_LOG01 }}: +61
68 default_{{ HOSTNAME_LOG02 }}: +62
69 default_{{ HOSTNAME_LOG03 }}: +63
70 default_{{ HOSTNAME_MTR01 }}: +86
71 default_{{ HOSTNAME_MTR02 }}: +87
72 default_{{ HOSTNAME_MTR03 }}: +88
73 default_{{ HOSTNAME_GTW01 }}: +110
74 default_{{ HOSTNAME_PRX01 }}: +121
75 ip_ranges:
76 dhcp: [+90, -10]
77
78 admin-pool01:
79 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
80 params:
81 ip_reserved:
82 gateway: +1
83 l2_network_device: +1
84 default_{{ HOSTNAME_CFG01 }}: +15
85 default_{{ HOSTNAME_KVM }}: +240
86 default_{{ HOSTNAME_KVM01 }}: +241
87 default_{{ HOSTNAME_KVM02 }}: +242
88 default_{{ HOSTNAME_KVM03 }}: +243
89 default_{{ HOSTNAME_CID }}: +90
90 default_{{ HOSTNAME_CID01 }}: +91
91 default_{{ HOSTNAME_CID02 }}: +92
92 default_{{ HOSTNAME_CID03 }}: +93
93 default_{{ HOSTNAME_CTL01 }}: +101
94 default_{{ HOSTNAME_CTL02 }}: +102
95 default_{{ HOSTNAME_CTL03 }}: +103
96 default_{{ HOSTNAME_CMP01 }}: +105
97 default_{{ HOSTNAME_CMP02 }}: +106
98 default_{{ HOSTNAME_MON01 }}: +71
99 default_{{ HOSTNAME_MON02 }}: +72
100 default_{{ HOSTNAME_MON03 }}: +73
101 default_{{ HOSTNAME_LOG01 }}: +61
102 default_{{ HOSTNAME_LOG02 }}: +62
103 default_{{ HOSTNAME_LOG03 }}: +63
104 default_{{ HOSTNAME_MTR01 }}: +86
105 default_{{ HOSTNAME_MTR02 }}: +87
106 default_{{ HOSTNAME_MTR03 }}: +88
107 default_{{ HOSTNAME_GTW01 }}: +110
108 default_{{ HOSTNAME_PRX01 }}: +121
109 ip_ranges:
110 dhcp: [+90, -10]
111
112 tenant-pool01:
113 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
114 params:
115 ip_reserved:
116 gateway: +1
117 l2_network_device: +1
118 default_{{ HOSTNAME_CFG01 }}: +15
119 default_{{ HOSTNAME_CTL01 }}: +101
120 default_{{ HOSTNAME_CTL02 }}: +102
121 default_{{ HOSTNAME_CTL03 }}: +103
122 default_{{ HOSTNAME_CMP01 }}: +105
123 default_{{ HOSTNAME_CMP02 }}: +106
124 default_{{ HOSTNAME_MON01 }}: +71
125 default_{{ HOSTNAME_MON02 }}: +72
126 default_{{ HOSTNAME_MON03 }}: +73
127 default_{{ HOSTNAME_LOG01 }}: +61
128 default_{{ HOSTNAME_LOG02 }}: +62
129 default_{{ HOSTNAME_LOG03 }}: +63
130 default_{{ HOSTNAME_MTR01 }}: +86
131 default_{{ HOSTNAME_MTR02 }}: +87
132 default_{{ HOSTNAME_MTR03 }}: +88
133 default_{{ HOSTNAME_GTW01 }}: +110
134 default_{{ HOSTNAME_PRX01 }}: +121
135 ip_ranges:
136 dhcp: [+10, -10]
137
138 external-pool01:
139 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
140 params:
141 ip_reserved:
142 gateway: +1
143 l2_network_device: +1
144 default_{{ HOSTNAME_CFG01 }}: +15
145 default_{{ HOSTNAME_CTL01 }}: +101
146 default_{{ HOSTNAME_CTL02 }}: +102
147 default_{{ HOSTNAME_CTL03 }}: +103
148 default_{{ HOSTNAME_CMP01 }}: +105
149 default_{{ HOSTNAME_CMP02 }}: +106
150 default_{{ HOSTNAME_MON01 }}: +71
151 default_{{ HOSTNAME_MON02 }}: +72
152 default_{{ HOSTNAME_MON03 }}: +73
153 default_{{ HOSTNAME_LOG01 }}: +61
154 default_{{ HOSTNAME_LOG02 }}: +62
155 default_{{ HOSTNAME_LOG03 }}: +63
156 default_{{ HOSTNAME_MTR01 }}: +86
157 default_{{ HOSTNAME_MTR02 }}: +87
158 default_{{ HOSTNAME_MTR03 }}: +88
159 default_{{ HOSTNAME_GTW01 }}: +110
160 default_{{ HOSTNAME_PRX01 }}: +121
161 ip_ranges:
Dennis Dmitrievb6bcc5c2018-09-26 11:07:53 +0000162 dhcp: [+180, +220]
Dennis Dmitrievb3b37492018-07-08 21:23:00 +0300163
164 groups:
165 - name: default
166 driver:
167 name: devops.driver.libvirt
168 params:
169 connection_string: !os_env CONNECTION_STRING, qemu:///system
170 storage_pool_name: !os_env STORAGE_POOL_NAME, default
171 stp: False
172 hpet: False
173 enable_acpi: true
174 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
175 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
176
177 network_pools:
178 admin: admin-pool01
179 private: private-pool01
180 tenant: tenant-pool01
181 external: external-pool01
182
183 l2_network_devices:
184 private:
185 address_pool: private-pool01
186 dhcp: false
187 forward:
188 mode: route
189
190 admin:
191 address_pool: admin-pool01
192 dhcp: true
193 forward:
194 mode: nat
195
196 tenant:
197 address_pool: tenant-pool01
198 dhcp: false
199
200 external:
201 address_pool: external-pool01
202 dhcp: false
203 forward:
204 mode: route
205
206
207 group_volumes:
208 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
209 source_image: {{ os_env('MCP_IMAGE_PATH1604') }} # http://ci.mcp.mirantis.net:8085/images/ubuntu-16-04-x64-mcpproposed.qcow2
210 format: qcow2
211 - name: cfg01_day01_image # Pre-configured day01 image
212 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01') }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
213 format: qcow2
214 - name: mcp_ubuntu_1604_image # Pre-configured image for control plane
215 source_image: !os_env MCP_IMAGE_PATH1604
216 format: qcow2
217
218 nodes:
219 - name: {{ HOSTNAME_CFG01 }}
220 role: salt_master
221 params:
222 vcpu: {{ os_env('CFG_NODE_CPU', 3) }}
223 memory: {{ os_env('CFG_NODE_MEMORY', 8192) }}
224 boot:
225 - hd
Dennis Dmitrievb3b37492018-07-08 21:23:00 +0300226 volumes:
227 - name: system
228 capacity: {{ os_env('CFG_NODE_VOLUME_SIZE', 150) }}
229 backing_store: cfg01_day01_image
230 format: qcow2
231 - name: config
232 capacity: 1
233 format: raw
234 device: cdrom
235 bus: ide
236 # source_image: !os_env CFG01_CONFIG_PATH # no source image required.
237 # it will be uploaded after config drive generation
Dennis Dmitrievb3b37492018-07-08 21:23:00 +0300238 interfaces:
239 - label: ens3
240 l2_network_device: admin
241 interface_model: *interface_model
242 - label: ens4
243 l2_network_device: private
244 interface_model: *interface_model
245 network_config:
246 ens3:
247 networks:
248 - admin
249 ens4:
250 networks:
251 - private
252
253 - name: {{ HOSTNAME_CTL01 }}
254 role: salt_minion
255 params:
256 vcpu: !os_env SLAVE_NODE_CPU, 2
257 memory: !os_env SLAVE_NODE_MEMORY, 16384
258 boot:
259 - hd
260 cloud_init_volume_name: iso
261 cloud_init_iface_up: ens3
262 volumes:
263 - name: system
264 capacity: !os_env NODE_VOLUME_SIZE, 150
265 backing_store: mcp_ubuntu_1604_image
266 format: qcow2
267 - name: cinder
268 capacity: 50
269 format: qcow2
270 - name: iso # Volume with name 'iso' will be used
271 # for store image with cloud-init metadata.
272 capacity: 1
273 format: raw
274 device: cdrom
275 bus: ide
276 cloudinit_meta_data: *cloudinit_meta_data
277 cloudinit_user_data: *cloudinit_user_data_1604_swp
278
279 interfaces: &interfaces
280 - label: ens3
281 l2_network_device: admin
282 interface_model: *interface_model
283 - label: ens4
284 l2_network_device: private
285 interface_model: *interface_model
286 network_config: &network_config
287 ens3:
288 networks:
289 - admin
290 ens4:
291 networks:
292 - private
293
294 - name: {{ HOSTNAME_CTL02 }}
295 role: salt_minion
296 params:
297 vcpu: !os_env SLAVE_NODE_CPU, 2
298 memory: !os_env SLAVE_NODE_MEMORY, 16384
299 boot:
300 - hd
301 cloud_init_volume_name: iso
302 cloud_init_iface_up: ens3
303 volumes:
304 - name: system
305 capacity: !os_env NODE_VOLUME_SIZE, 150
306 backing_store: mcp_ubuntu_1604_image
307 format: qcow2
308 - name: cinder
309 capacity: 50
310 format: qcow2
311 - name: iso # Volume with name 'iso' will be used
312 # for store image with cloud-init metadata.
313 capacity: 1
314 format: raw
315 device: cdrom
316 bus: ide
317 cloudinit_meta_data: *cloudinit_meta_data
318 cloudinit_user_data: *cloudinit_user_data_1604_swp
319
320 interfaces: *interfaces
321 network_config: *network_config
322
323 - name: {{ HOSTNAME_CTL03 }}
324 role: salt_minion
325 params:
326 vcpu: !os_env SLAVE_NODE_CPU, 2
327 memory: !os_env SLAVE_NODE_MEMORY, 16384
328 boot:
329 - hd
330 cloud_init_volume_name: iso
331 cloud_init_iface_up: ens3
332 volumes:
333 - name: system
334 capacity: !os_env NODE_VOLUME_SIZE, 150
335 backing_store: mcp_ubuntu_1604_image
336 format: qcow2
337 - name: cinder
338 capacity: 50
339 format: qcow2
340 - name: iso # Volume with name 'iso' will be used
341 # for store image with cloud-init metadata.
342 capacity: 1
343 format: raw
344 device: cdrom
345 bus: ide
346 cloudinit_meta_data: *cloudinit_meta_data
347 cloudinit_user_data: *cloudinit_user_data_1604_swp
348
349 interfaces: *interfaces
350 network_config: *network_config
351
352 - name: {{ HOSTNAME_MON01 }}
353 role: salt_minion
354 params:
355 vcpu: !os_env SLAVE_NODE_CPU, 2
356 memory: !os_env SLAVE_NODE_MEMORY, 2048
357 boot:
358 - hd
359 cloud_init_volume_name: iso
360 cloud_init_iface_up: ens3
361 volumes:
362 - name: system
363 capacity: !os_env NODE_VOLUME_SIZE, 150
364 backing_store: mcp_ubuntu_1604_image
365 format: qcow2
366 - name: iso # Volume with name 'iso' will be used
367 # for store image with cloud-init metadata.
368 capacity: 1
369 format: raw
370 device: cdrom
371 bus: ide
372 cloudinit_meta_data: *cloudinit_meta_data
373 cloudinit_user_data: *cloudinit_user_data_1604_swp
374
375 interfaces: *interfaces
376 network_config: *network_config
377
378 - name: {{ HOSTNAME_MON02 }}
379 role: salt_minion
380 params:
381 vcpu: !os_env SLAVE_NODE_CPU, 2
382 memory: !os_env SLAVE_NODE_MEMORY, 2048
383 boot:
384 - hd
385 cloud_init_volume_name: iso
386 cloud_init_iface_up: ens3
387 volumes:
388 - name: system
389 capacity: !os_env NODE_VOLUME_SIZE, 150
390 backing_store: mcp_ubuntu_1604_image
391 format: qcow2
392 - name: iso # Volume with name 'iso' will be used
393 # for store image with cloud-init metadata.
394 capacity: 1
395 format: raw
396 device: cdrom
397 bus: ide
398 cloudinit_meta_data: *cloudinit_meta_data
399 cloudinit_user_data: *cloudinit_user_data_1604_swp
400
401 interfaces: *interfaces
402 network_config: *network_config
403
404 - name: {{ HOSTNAME_MON03 }}
405 role: salt_minion
406 params:
407 vcpu: !os_env SLAVE_NODE_CPU, 2
408 memory: !os_env SLAVE_NODE_MEMORY, 2048
409 boot:
410 - hd
411 cloud_init_volume_name: iso
412 cloud_init_iface_up: ens3
413 volumes:
414 - name: system
415 capacity: !os_env NODE_VOLUME_SIZE, 150
416 backing_store: mcp_ubuntu_1604_image
417 format: qcow2
418 - name: iso # Volume with name 'iso' will be used
419 # for store image with cloud-init metadata.
420 capacity: 1
421 format: raw
422 device: cdrom
423 bus: ide
424 cloudinit_meta_data: *cloudinit_meta_data
425 cloudinit_user_data: *cloudinit_user_data_1604_swp
426
427 interfaces: *interfaces
428 network_config: *network_config
429
430 - name: {{ HOSTNAME_LOG01 }}
431 role: salt_minion
432 params:
433 vcpu: !os_env SLAVE_NODE_CPU, 2
434 memory: !os_env SLAVE_NODE_MEMORY, 4096
435 boot:
436 - hd
437 cloud_init_volume_name: iso
438 cloud_init_iface_up: ens3
439 volumes:
440 - name: system
441 capacity: !os_env NODE_VOLUME_SIZE, 150
442 backing_store: mcp_ubuntu_1604_image
443 format: qcow2
444 - name: iso # Volume with name 'iso' will be used
445 # for store image with cloud-init metadata.
446 capacity: 1
447 format: raw
448 device: cdrom
449 bus: ide
450 cloudinit_meta_data: *cloudinit_meta_data
451 cloudinit_user_data: *cloudinit_user_data_1604_swp
452
453 interfaces: *interfaces
454 network_config: *network_config
455
456 - name: {{ HOSTNAME_LOG02 }}
457 role: salt_minion
458 params:
459 vcpu: !os_env SLAVE_NODE_CPU, 2
460 memory: !os_env SLAVE_NODE_MEMORY, 4096
461 boot:
462 - hd
463 cloud_init_volume_name: iso
464 cloud_init_iface_up: ens3
465 volumes:
466 - name: system
467 capacity: !os_env NODE_VOLUME_SIZE, 150
468 backing_store: mcp_ubuntu_1604_image
469 format: qcow2
470 - name: iso # Volume with name 'iso' will be used
471 # for store image with cloud-init metadata.
472 capacity: 1
473 format: raw
474 device: cdrom
475 bus: ide
476 cloudinit_meta_data: *cloudinit_meta_data
477 cloudinit_user_data: *cloudinit_user_data_1604_swp
478
479 interfaces: *interfaces
480 network_config: *network_config
481
482 - name: {{ HOSTNAME_LOG03 }}
483 role: salt_minion
484 params:
485 vcpu: !os_env SLAVE_NODE_CPU, 2
486 memory: !os_env SLAVE_NODE_MEMORY, 4096
487 boot:
488 - hd
489 cloud_init_volume_name: iso
490 cloud_init_iface_up: ens3
491 volumes:
492 - name: system
493 capacity: !os_env NODE_VOLUME_SIZE, 150
494 backing_store: mcp_ubuntu_1604_image
495 format: qcow2
496 - name: iso # Volume with name 'iso' will be used
497 # for store image with cloud-init metadata.
498 capacity: 1
499 format: raw
500 device: cdrom
501 bus: ide
502 cloudinit_meta_data: *cloudinit_meta_data
503 cloudinit_user_data: *cloudinit_user_data_1604_swp
504
505 interfaces: *interfaces
506 network_config: *network_config
507
508 - name: {{ HOSTNAME_MTR01 }}
509 role: salt_minion
510 params:
511 vcpu: !os_env SLAVE_NODE_CPU, 2
512 memory: !os_env SLAVE_NODE_MEMORY, 2048
513 boot:
514 - hd
515 cloud_init_volume_name: iso
516 cloud_init_iface_up: ens3
517 volumes:
518 - name: system
519 capacity: !os_env NODE_VOLUME_SIZE, 150
520 backing_store: mcp_ubuntu_1604_image
521 format: qcow2
522 - name: iso # Volume with name 'iso' will be used
523 # for store image with cloud-init metadata.
524 capacity: 1
525 format: raw
526 device: cdrom
527 bus: ide
528 cloudinit_meta_data: *cloudinit_meta_data
529 cloudinit_user_data: *cloudinit_user_data_1604_swp
530
531 interfaces: *interfaces
532 network_config: *network_config
533
534 - name: {{ HOSTNAME_MTR02 }}
535 role: salt_minion
536 params:
537 vcpu: !os_env SLAVE_NODE_CPU, 2
538 memory: !os_env SLAVE_NODE_MEMORY, 2048
539 boot:
540 - hd
541 cloud_init_volume_name: iso
542 cloud_init_iface_up: ens3
543 volumes:
544 - name: system
545 capacity: !os_env NODE_VOLUME_SIZE, 150
546 backing_store: mcp_ubuntu_1604_image
547 format: qcow2
548 - name: iso # Volume with name 'iso' will be used
549 # for store image with cloud-init metadata.
550 capacity: 1
551 format: raw
552 device: cdrom
553 bus: ide
554 cloudinit_meta_data: *cloudinit_meta_data
555 cloudinit_user_data: *cloudinit_user_data_1604_swp
556
557 interfaces: *interfaces
558 network_config: *network_config
559
560 - name: {{ HOSTNAME_MTR03 }}
561 role: salt_minion
562 params:
563 vcpu: !os_env SLAVE_NODE_CPU, 2
564 memory: !os_env SLAVE_NODE_MEMORY, 2048
565 boot:
566 - hd
567 cloud_init_volume_name: iso
568 cloud_init_iface_up: ens3
569 volumes:
570 - name: system
571 capacity: !os_env NODE_VOLUME_SIZE, 150
572 backing_store: mcp_ubuntu_1604_image
573 format: qcow2
574 - name: iso # Volume with name 'iso' will be used
575 # for store image with cloud-init metadata.
576 capacity: 1
577 format: raw
578 device: cdrom
579 bus: ide
580 cloudinit_meta_data: *cloudinit_meta_data
581 cloudinit_user_data: *cloudinit_user_data_1604_swp
582
583 interfaces: *interfaces
584 network_config: *network_config
585
586 - name: {{ HOSTNAME_PRX01 }}
587 role: salt_minion
588 params:
589 vcpu: !os_env SLAVE_NODE_CPU, 1
590 memory: !os_env SLAVE_NODE_MEMORY, 2048
591 boot:
592 - hd
593 cloud_init_volume_name: iso
594 cloud_init_iface_up: ens3
595 volumes:
596 - name: system
597 capacity: !os_env NODE_VOLUME_SIZE, 150
598 backing_store: mcp_ubuntu_1604_image
599 format: qcow2
600 - name: cinder
601 capacity: 50
602 format: qcow2
603 - name: iso # Volume with name 'iso' will be used
604 # for store image with cloud-init metadata.
605 capacity: 1
606 format: raw
607 device: cdrom
608 bus: ide
609 cloudinit_meta_data: *cloudinit_meta_data
610 cloudinit_user_data: *cloudinit_user_data_1604_swp
611
612 interfaces: *interfaces
613 network_config: *network_config
614
615
616 - name: {{ HOSTNAME_CMP01 }}
617 role: salt_minion
618 params:
619 vcpu: !os_env SLAVE_NODE_CPU, 3
620 memory: !os_env SLAVE_NODE_MEMORY, 4096
621 boot:
622 - hd
623 cloud_init_volume_name: iso
624 cloud_init_iface_up: ens3
625 volumes:
626 - name: system
627 capacity: !os_env NODE_VOLUME_SIZE, 150
628 backing_store: cloudimage1604
629 format: qcow2
630 - name: iso # Volume with name 'iso' will be used
631 # for store image with cloud-init metadata.
632 capacity: 1
633 format: raw
634 device: cdrom
635 bus: ide
636 cloudinit_meta_data: *cloudinit_meta_data
637 cloudinit_user_data: *cloudinit_user_data_1604_swp
638
639
640 interfaces: &all_interfaces
641 - label: ens3
642 l2_network_device: admin
643 interface_model: *interface_model
644 - label: ens4
645 l2_network_device: private
646 interface_model: *interface_model
647 - label: ens5
648 l2_network_device: tenant
649 interface_model: *interface_model
650 - label: ens6
651 l2_network_device: external
652 interface_model: *interface_model
653 network_config: &all_network_config
654 ens3:
655 networks:
656 - admin
657 ens4:
658 networks:
659 - private
660 ens5:
661 networks:
662 - tenant
663 ens6:
664 networks:
665 - external
666
667 - name: {{ HOSTNAME_CMP02 }}
668 role: salt_minion
669 params:
670 vcpu: !os_env SLAVE_NODE_CPU, 3
671 memory: !os_env SLAVE_NODE_MEMORY, 4096
672 boot:
673 - hd
674 cloud_init_volume_name: iso
675 cloud_init_iface_up: ens3
676 volumes:
677 - name: system
678 capacity: !os_env NODE_VOLUME_SIZE, 150
679 backing_store: cloudimage1604
680 format: qcow2
681 - name: iso # Volume with name 'iso' will be used
682 # for store image with cloud-init metadata.
683 capacity: 1
684 format: raw
685 device: cdrom
686 bus: ide
687 cloudinit_meta_data: *cloudinit_meta_data
688 cloudinit_user_data: *cloudinit_user_data_1604_swp
689
690 interfaces: *all_interfaces
691 network_config: *all_network_config
692
693 - name: {{ HOSTNAME_GTW01 }}
694 role: salt_minion
695 params:
696 vcpu: !os_env SLAVE_NODE_CPU, 4
697 memory: !os_env SLAVE_NODE_MEMORY, 4096
698 boot:
699 - hd
700 cloud_init_volume_name: iso
701 cloud_init_iface_up: ens3
702 volumes:
703 - name: system
704 capacity: !os_env NODE_VOLUME_SIZE, 150
705 backing_store: cloudimage1604
706 format: qcow2
707 - name: iso # Volume with name 'iso' will be used
708 # for store image with cloud-init metadata.
709 capacity: 1
710 format: raw
711 device: cdrom
712 bus: ide
713 cloudinit_meta_data: *cloudinit_meta_data
714 cloudinit_user_data: *cloudinit_user_data_1604_swp
715
716 interfaces: *all_interfaces
717 network_config: *all_network_config
718
719 - name: {{ HOSTNAME_KVM01 }}
720 role: salt_minion
721 params:
722 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
723 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
724 boot:
725 - hd
726 cloud_init_volume_name: iso
727 cloud_init_iface_up: ens3
728 volumes:
729 - name: system
730 capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }}
731 backing_store: mcp_ubuntu_1604_image
732 format: qcow2
733 - name: iso # Volume with name 'iso' will be used
734 # for store image with cloud-init metadata.
735 capacity: 1
736 format: raw
737 device: cdrom
738 bus: ide
739 cloudinit_meta_data: *cloudinit_meta_data
740 cloudinit_user_data: *cloudinit_user_data_1604_swp
741
742 interfaces: *interfaces
743 network_config: *network_config
744
745 - name: {{ HOSTNAME_KVM02 }}
746 role: salt_minion
747 params:
748 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
749 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
750 boot:
751 - hd
752 cloud_init_volume_name: iso
753 cloud_init_iface_up: ens3
754 volumes:
755 - name: system
756 capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }}
757 backing_store: mcp_ubuntu_1604_image
758 format: qcow2
759 - name: iso # Volume with name 'iso' will be used
760 # for store image with cloud-init metadata.
761 capacity: 1
762 format: raw
763 device: cdrom
764 bus: ide
765 cloudinit_meta_data: *cloudinit_meta_data
766 cloudinit_user_data: *cloudinit_user_data_1604_swp
767
768 interfaces: *interfaces
769 network_config: *network_config
770
771 - name: {{ HOSTNAME_KVM03 }}
772 role: salt_minion
773 params:
774 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
775 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
776 boot:
777 - hd
778 cloud_init_volume_name: iso
779 cloud_init_iface_up: ens3
780 volumes:
781 - name: system
782 capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }}
783 backing_store: mcp_ubuntu_1604_image
784 format: qcow2
785 - name: iso # Volume with name 'iso' will be used
786 # for store image with cloud-init metadata.
787 capacity: 1
788 format: raw
789 device: cdrom
790 bus: ide
791 cloudinit_meta_data: *cloudinit_meta_data
792 cloudinit_user_data: *cloudinit_user_data_1604_swp
793
794 interfaces: *interfaces
795 network_config: *network_config
796
797 - name: {{ HOSTNAME_CID01 }}
798 role: salt_minion
799 params:
800 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
801 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
802 boot:
803 - hd
804 cloud_init_volume_name: iso
805 cloud_init_iface_up: ens3
806 volumes:
807 - name: system
808 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
809 backing_store: mcp_ubuntu_1604_image
810 format: qcow2
811 - name: iso # Volume with name 'iso' will be used
812 # for store image with cloud-init metadata.
813 capacity: 1
814 format: raw
815 device: cdrom
816 bus: ide
817 cloudinit_meta_data: *cloudinit_meta_data
818 cloudinit_user_data: *cloudinit_user_data_1604_swp
819
820 interfaces: *interfaces
821 network_config: *network_config
822
823 - name: {{ HOSTNAME_CID02 }}
824 role: salt_minion
825 params:
826 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
827 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
828 boot:
829 - hd
830 cloud_init_volume_name: iso
831 cloud_init_iface_up: ens3
832 volumes:
833 - name: system
834 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
835 backing_store: mcp_ubuntu_1604_image
836 format: qcow2
837 - name: iso # Volume with name 'iso' will be used
838 # for store image with cloud-init metadata.
839 capacity: 1
840 format: raw
841 device: cdrom
842 bus: ide
843 cloudinit_meta_data: *cloudinit_meta_data
844 cloudinit_user_data: *cloudinit_user_data_1604_swp
845
846 interfaces: *interfaces
847 network_config: *network_config
848
849 - name: {{ HOSTNAME_CID03 }}
850 role: salt_minion
851 params:
852 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
853 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
854 boot:
855 - hd
856 cloud_init_volume_name: iso
857 cloud_init_iface_up: ens3
858 volumes:
859 - name: system
860 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
861 backing_store: mcp_ubuntu_1604_image
862 format: qcow2
863 - name: iso # Volume with name 'iso' will be used
864 # for store image with cloud-init metadata.
865 capacity: 1
866 format: raw
867 device: cdrom
868 bus: ide
869 cloudinit_meta_data: *cloudinit_meta_data
870 cloudinit_user_data: *cloudinit_user_data_1604_swp
871
872 interfaces: *interfaces
873 network_config: *network_config