blob: d8ed2c1b5ed1f88221947f417da6fbe6516bf548 [file] [log] [blame]
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +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 'cookied-mcp-pike-dvr/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
5{% import 'cookied-mcp-pike-dvr/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
6{% import 'cookied-mcp-pike-dvr/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', 'cookied-mcp-pike-dvr') %}
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) %}
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_MON01 = os_env('HOSTNAME_MON01', 'mon01.' + DOMAIN_NAME) %}
24{% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02.' + DOMAIN_NAME) %}
25{% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03.' + DOMAIN_NAME) %}
Dennis Dmitriev90877b12018-03-21 21:52:51 +020026{% set HOSTNAME_LOG01 = os_env('HOSTNAME_LOG01', 'log01.' + DOMAIN_NAME) %}
27{% set HOSTNAME_LOG02 = os_env('HOSTNAME_LOG02', 'log02.' + DOMAIN_NAME) %}
28{% set HOSTNAME_LOG03 = os_env('HOSTNAME_LOG03', 'log03.' + DOMAIN_NAME) %}
29{% set HOSTNAME_MTR01 = os_env('HOSTNAME_MTR01', 'mtr01.' + DOMAIN_NAME) %}
30{% set HOSTNAME_MTR02 = os_env('HOSTNAME_MTR02', 'mtr02.' + DOMAIN_NAME) %}
31{% set HOSTNAME_MTR03 = os_env('HOSTNAME_MTR03', 'mtr03.' + DOMAIN_NAME) %}
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +020032{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
33{% set HOSTNAME_DNS01 = os_env('HOSTNAME_DNS01', 'dns01.' + DOMAIN_NAME) %}
34{% set HOSTNAME_DNS02 = os_env('HOSTNAME_DNS02', 'dns02.' + DOMAIN_NAME) %}
35{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
36
37template:
38 devops_settings:
39 env_name: {{ os_env('ENV_NAME', 'cookied-mcp-pike-dvr_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
40
41 address_pools:
42 private-pool01:
43 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
44 params:
45 ip_reserved:
46 gateway: +1
47 l2_network_device: +1
48 default_{{ HOSTNAME_CFG01 }}: +100
49 default_{{ HOSTNAME_CTL01 }}: +101
50 default_{{ HOSTNAME_CTL02 }}: +102
51 default_{{ HOSTNAME_CTL03 }}: +103
52 default_{{ HOSTNAME_CMP01 }}: +105
53 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitriev90877b12018-03-21 21:52:51 +020054 default_{{ HOSTNAME_MON01 }}: +71
55 default_{{ HOSTNAME_MON02 }}: +72
56 default_{{ HOSTNAME_MON03 }}: +73
57 default_{{ HOSTNAME_LOG01 }}: +61
58 default_{{ HOSTNAME_LOG02 }}: +62
59 default_{{ HOSTNAME_LOG03 }}: +63
60 default_{{ HOSTNAME_MTR01 }}: +86
61 default_{{ HOSTNAME_MTR02 }}: +87
62 default_{{ HOSTNAME_MTR03 }}: +88
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +020063 default_{{ HOSTNAME_GTW01 }}: +110
64 default_{{ HOSTNAME_DNS01 }}: +111
65 default_{{ HOSTNAME_DNS02 }}: +112
66 default_{{ HOSTNAME_PRX01 }}: +121
67 ip_ranges:
68 dhcp: [+90, -10]
69
70 admin-pool01:
71 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
72 params:
73 ip_reserved:
74 gateway: +1
75 l2_network_device: +1
76 default_{{ HOSTNAME_CFG01 }}: +90
77 default_{{ HOSTNAME_CTL01 }}: +101
78 default_{{ HOSTNAME_CTL02 }}: +102
79 default_{{ HOSTNAME_CTL03 }}: +103
80 default_{{ HOSTNAME_CMP01 }}: +105
81 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitriev90877b12018-03-21 21:52:51 +020082 default_{{ HOSTNAME_MON01 }}: +71
83 default_{{ HOSTNAME_MON02 }}: +72
84 default_{{ HOSTNAME_MON03 }}: +73
85 default_{{ HOSTNAME_LOG01 }}: +61
86 default_{{ HOSTNAME_LOG02 }}: +62
87 default_{{ HOSTNAME_LOG03 }}: +63
88 default_{{ HOSTNAME_MTR01 }}: +86
89 default_{{ HOSTNAME_MTR02 }}: +87
90 default_{{ HOSTNAME_MTR03 }}: +88
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +020091 default_{{ HOSTNAME_GTW01 }}: +110
92 default_{{ HOSTNAME_DNS01 }}: +111
93 default_{{ HOSTNAME_DNS02 }}: +112
94 default_{{ HOSTNAME_PRX01 }}: +121
95 ip_ranges:
96 dhcp: [+90, -10]
97
98 tenant-pool01:
99 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
100 params:
101 ip_reserved:
102 gateway: +1
103 l2_network_device: +1
104 default_{{ HOSTNAME_CFG01 }}: +100
105 default_{{ HOSTNAME_CTL01 }}: +101
106 default_{{ HOSTNAME_CTL02 }}: +102
107 default_{{ HOSTNAME_CTL03 }}: +103
108 default_{{ HOSTNAME_CMP01 }}: +105
109 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200110 default_{{ HOSTNAME_MON01 }}: +71
111 default_{{ HOSTNAME_MON02 }}: +72
112 default_{{ HOSTNAME_MON03 }}: +73
113 default_{{ HOSTNAME_LOG01 }}: +61
114 default_{{ HOSTNAME_LOG02 }}: +62
115 default_{{ HOSTNAME_LOG03 }}: +63
116 default_{{ HOSTNAME_MTR01 }}: +86
117 default_{{ HOSTNAME_MTR02 }}: +87
118 default_{{ HOSTNAME_MTR03 }}: +88
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200119 default_{{ HOSTNAME_GTW01 }}: +110
120 default_{{ HOSTNAME_DNS01 }}: +111
121 default_{{ HOSTNAME_DNS02 }}: +112
122 default_{{ HOSTNAME_PRX01 }}: +121
123 ip_ranges:
124 dhcp: [+10, -10]
125
126 external-pool01:
127 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
128 params:
129 ip_reserved:
130 gateway: +1
131 l2_network_device: +1
132 default_{{ HOSTNAME_CFG01 }}: +100
133 default_{{ HOSTNAME_CTL01 }}: +101
134 default_{{ HOSTNAME_CTL02 }}: +102
135 default_{{ HOSTNAME_CTL03 }}: +103
136 default_{{ HOSTNAME_CMP01 }}: +105
137 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200138 default_{{ HOSTNAME_MON01 }}: +71
139 default_{{ HOSTNAME_MON02 }}: +72
140 default_{{ HOSTNAME_MON03 }}: +73
141 default_{{ HOSTNAME_LOG01 }}: +61
142 default_{{ HOSTNAME_LOG02 }}: +62
143 default_{{ HOSTNAME_LOG03 }}: +63
144 default_{{ HOSTNAME_MTR01 }}: +86
145 default_{{ HOSTNAME_MTR02 }}: +87
146 default_{{ HOSTNAME_MTR03 }}: +88
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200147 default_{{ HOSTNAME_GTW01 }}: +110
148 default_{{ HOSTNAME_DNS01 }}: +111
149 default_{{ HOSTNAME_DNS02 }}: +112
150 default_{{ HOSTNAME_PRX01 }}: +121
151 ip_ranges:
152 dhcp: [+10, -10]
153
154
155 groups:
156 - name: default
157 driver:
158 name: devops.driver.libvirt
159 params:
160 connection_string: !os_env CONNECTION_STRING, qemu:///system
161 storage_pool_name: !os_env STORAGE_POOL_NAME, default
162 stp: False
163 hpet: False
164 enable_acpi: true
165 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
166 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
167
168 network_pools:
169 admin: admin-pool01
170 private: private-pool01
171 tenant: tenant-pool01
172 external: external-pool01
173
174 l2_network_devices:
175 private:
176 address_pool: private-pool01
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200177 dhcp: false
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200178 forward:
179 mode: route
180
181 admin:
182 address_pool: admin-pool01
183 dhcp: true
184 forward:
185 mode: nat
186
187 tenant:
188 address_pool: tenant-pool01
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200189 dhcp: false
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200190
191 external:
192 address_pool: external-pool01
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200193 dhcp: false
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200194 forward:
Dennis Dmitriev2cb23932018-05-01 01:47:34 +0300195 mode: route
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200196
197
198 group_volumes:
199 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
200 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
201 format: qcow2
202 - name: cfg01_day01_image # Pre-configured day01 image
203 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
204 format: qcow2
205 - name: mcp_ubuntu_1604_image # Pre-configured image for control plane
206 source_image: !os_env MCP_IMAGE_PATH1604
207 format: qcow2
208
209 nodes:
210 - name: {{ HOSTNAME_CFG01 }}
211 role: salt_master
212 params:
213 vcpu: !os_env SLAVE_NODE_CPU, 2
214 memory: !os_env SLAVE_NODE_MEMORY, 8192
215 boot:
216 - hd
217 cloud_init_volume_name: iso
218 cloud_init_iface_up: ens3
219 volumes:
220 - name: system
221 capacity: !os_env NODE_VOLUME_SIZE, 150
222 backing_store: cfg01_day01_image
223 format: qcow2
224 - name: iso # Volume with name 'iso' will be used
225 # for store image with cloud-init metadata.
226 capacity: 1
227 format: raw
228 device: cdrom
229 bus: ide
230 cloudinit_meta_data: *cloudinit_meta_data
231 cloudinit_user_data: *cloudinit_user_data_cfg01
232
233 interfaces:
234 - label: ens3
235 l2_network_device: admin
236 interface_model: *interface_model
237 - label: ens4
238 l2_network_device: private
239 interface_model: *interface_model
240 network_config:
241 ens3:
242 networks:
243 - admin
244 ens4:
245 networks:
246 - private
247
248 - name: {{ HOSTNAME_CTL01 }}
249 role: salt_minion
250 params:
251 vcpu: !os_env SLAVE_NODE_CPU, 2
252 memory: !os_env SLAVE_NODE_MEMORY, 16384
253 boot:
254 - hd
255 cloud_init_volume_name: iso
256 cloud_init_iface_up: ens3
257 volumes:
258 - name: system
259 capacity: !os_env NODE_VOLUME_SIZE, 150
260 backing_store: mcp_ubuntu_1604_image
261 format: qcow2
262 - name: cinder
263 capacity: 50
264 format: qcow2
265 - name: iso # Volume with name 'iso' will be used
266 # for store image with cloud-init metadata.
267 capacity: 1
268 format: raw
269 device: cdrom
270 bus: ide
271 cloudinit_meta_data: *cloudinit_meta_data
272 cloudinit_user_data: *cloudinit_user_data_1604
273
274 interfaces: &interfaces
275 - label: ens3
276 l2_network_device: admin
277 interface_model: *interface_model
278 - label: ens4
279 l2_network_device: private
280 interface_model: *interface_model
281 network_config: &network_config
282 ens3:
283 networks:
284 - admin
285 ens4:
286 networks:
287 - private
288
289 - name: {{ HOSTNAME_CTL02 }}
290 role: salt_minion
291 params:
292 vcpu: !os_env SLAVE_NODE_CPU, 2
293 memory: !os_env SLAVE_NODE_MEMORY, 16384
294 boot:
295 - hd
296 cloud_init_volume_name: iso
297 cloud_init_iface_up: ens3
298 volumes:
299 - name: system
300 capacity: !os_env NODE_VOLUME_SIZE, 150
301 backing_store: mcp_ubuntu_1604_image
302 format: qcow2
303 - name: cinder
304 capacity: 50
305 format: qcow2
306 - name: iso # Volume with name 'iso' will be used
307 # for store image with cloud-init metadata.
308 capacity: 1
309 format: raw
310 device: cdrom
311 bus: ide
312 cloudinit_meta_data: *cloudinit_meta_data
313 cloudinit_user_data: *cloudinit_user_data_1604
314
315 interfaces: *interfaces
316 network_config: *network_config
317
318 - name: {{ HOSTNAME_CTL03 }}
319 role: salt_minion
320 params:
321 vcpu: !os_env SLAVE_NODE_CPU, 2
322 memory: !os_env SLAVE_NODE_MEMORY, 16384
323 boot:
324 - hd
325 cloud_init_volume_name: iso
326 cloud_init_iface_up: ens3
327 volumes:
328 - name: system
329 capacity: !os_env NODE_VOLUME_SIZE, 150
330 backing_store: mcp_ubuntu_1604_image
331 format: qcow2
332 - name: cinder
333 capacity: 50
334 format: qcow2
335 - name: iso # Volume with name 'iso' will be used
336 # for store image with cloud-init metadata.
337 capacity: 1
338 format: raw
339 device: cdrom
340 bus: ide
341 cloudinit_meta_data: *cloudinit_meta_data
342 cloudinit_user_data: *cloudinit_user_data_1604
343
344 interfaces: *interfaces
345 network_config: *network_config
346
347 - name: {{ HOSTNAME_MON01 }}
348 role: salt_minion
349 params:
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200350 vcpu: !os_env SLAVE_NODE_CPU, 2
351 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200352 boot:
353 - hd
354 cloud_init_volume_name: iso
355 cloud_init_iface_up: ens3
356 volumes:
357 - name: system
358 capacity: !os_env NODE_VOLUME_SIZE, 150
359 backing_store: mcp_ubuntu_1604_image
360 format: qcow2
361 - name: iso # Volume with name 'iso' will be used
362 # for store image with cloud-init metadata.
363 capacity: 1
364 format: raw
365 device: cdrom
366 bus: ide
367 cloudinit_meta_data: *cloudinit_meta_data
368 cloudinit_user_data: *cloudinit_user_data_1604
369
370 interfaces: *interfaces
371 network_config: *network_config
372
373 - name: {{ HOSTNAME_MON02 }}
374 role: salt_minion
375 params:
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200376 vcpu: !os_env SLAVE_NODE_CPU, 2
377 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200378 boot:
379 - hd
380 cloud_init_volume_name: iso
381 cloud_init_iface_up: ens3
382 volumes:
383 - name: system
384 capacity: !os_env NODE_VOLUME_SIZE, 150
385 backing_store: mcp_ubuntu_1604_image
386 format: qcow2
387 - name: iso # Volume with name 'iso' will be used
388 # for store image with cloud-init metadata.
389 capacity: 1
390 format: raw
391 device: cdrom
392 bus: ide
393 cloudinit_meta_data: *cloudinit_meta_data
394 cloudinit_user_data: *cloudinit_user_data_1604
395
396 interfaces: *interfaces
397 network_config: *network_config
398
399 - name: {{ HOSTNAME_MON03 }}
400 role: salt_minion
401 params:
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200402 vcpu: !os_env SLAVE_NODE_CPU, 2
403 memory: !os_env SLAVE_NODE_MEMORY, 4096
404 boot:
405 - hd
406 cloud_init_volume_name: iso
407 cloud_init_iface_up: ens3
408 volumes:
409 - name: system
410 capacity: !os_env NODE_VOLUME_SIZE, 150
411 backing_store: mcp_ubuntu_1604_image
412 format: qcow2
413 - name: iso # Volume with name 'iso' will be used
414 # for store image with cloud-init metadata.
415 capacity: 1
416 format: raw
417 device: cdrom
418 bus: ide
419 cloudinit_meta_data: *cloudinit_meta_data
420 cloudinit_user_data: *cloudinit_user_data_1604
421
422 interfaces: *interfaces
423 network_config: *network_config
424
425 - name: {{ HOSTNAME_LOG01 }}
426 role: salt_minion
427 params:
428 vcpu: !os_env SLAVE_NODE_CPU, 2
429 memory: !os_env SLAVE_NODE_MEMORY, 4096
430 boot:
431 - hd
432 cloud_init_volume_name: iso
433 cloud_init_iface_up: ens3
434 volumes:
435 - name: system
436 capacity: !os_env NODE_VOLUME_SIZE, 150
437 backing_store: mcp_ubuntu_1604_image
438 format: qcow2
439 - name: iso # Volume with name 'iso' will be used
440 # for store image with cloud-init metadata.
441 capacity: 1
442 format: raw
443 device: cdrom
444 bus: ide
445 cloudinit_meta_data: *cloudinit_meta_data
446 cloudinit_user_data: *cloudinit_user_data_1604
447
448 interfaces: *interfaces
449 network_config: *network_config
450
451 - name: {{ HOSTNAME_LOG02 }}
452 role: salt_minion
453 params:
454 vcpu: !os_env SLAVE_NODE_CPU, 2
455 memory: !os_env SLAVE_NODE_MEMORY, 4096
456 boot:
457 - hd
458 cloud_init_volume_name: iso
459 cloud_init_iface_up: ens3
460 volumes:
461 - name: system
462 capacity: !os_env NODE_VOLUME_SIZE, 150
463 backing_store: mcp_ubuntu_1604_image
464 format: qcow2
465 - name: iso # Volume with name 'iso' will be used
466 # for store image with cloud-init metadata.
467 capacity: 1
468 format: raw
469 device: cdrom
470 bus: ide
471 cloudinit_meta_data: *cloudinit_meta_data
472 cloudinit_user_data: *cloudinit_user_data_1604
473
474 interfaces: *interfaces
475 network_config: *network_config
476
477 - name: {{ HOSTNAME_LOG03 }}
478 role: salt_minion
479 params:
480 vcpu: !os_env SLAVE_NODE_CPU, 2
481 memory: !os_env SLAVE_NODE_MEMORY, 4096
482 boot:
483 - hd
484 cloud_init_volume_name: iso
485 cloud_init_iface_up: ens3
486 volumes:
487 - name: system
488 capacity: !os_env NODE_VOLUME_SIZE, 150
489 backing_store: mcp_ubuntu_1604_image
490 format: qcow2
491 - name: iso # Volume with name 'iso' will be used
492 # for store image with cloud-init metadata.
493 capacity: 1
494 format: raw
495 device: cdrom
496 bus: ide
497 cloudinit_meta_data: *cloudinit_meta_data
498 cloudinit_user_data: *cloudinit_user_data_1604
499
500 interfaces: *interfaces
501 network_config: *network_config
502
503 - name: {{ HOSTNAME_MTR01 }}
504 role: salt_minion
505 params:
506 vcpu: !os_env SLAVE_NODE_CPU, 2
507 memory: !os_env SLAVE_NODE_MEMORY, 4096
508 boot:
509 - hd
510 cloud_init_volume_name: iso
511 cloud_init_iface_up: ens3
512 volumes:
513 - name: system
514 capacity: !os_env NODE_VOLUME_SIZE, 150
515 backing_store: mcp_ubuntu_1604_image
516 format: qcow2
517 - name: iso # Volume with name 'iso' will be used
518 # for store image with cloud-init metadata.
519 capacity: 1
520 format: raw
521 device: cdrom
522 bus: ide
523 cloudinit_meta_data: *cloudinit_meta_data
524 cloudinit_user_data: *cloudinit_user_data_1604
525
526 interfaces: *interfaces
527 network_config: *network_config
528
529 - name: {{ HOSTNAME_MTR02 }}
530 role: salt_minion
531 params:
532 vcpu: !os_env SLAVE_NODE_CPU, 2
533 memory: !os_env SLAVE_NODE_MEMORY, 4096
534 boot:
535 - hd
536 cloud_init_volume_name: iso
537 cloud_init_iface_up: ens3
538 volumes:
539 - name: system
540 capacity: !os_env NODE_VOLUME_SIZE, 150
541 backing_store: mcp_ubuntu_1604_image
542 format: qcow2
543 - name: iso # Volume with name 'iso' will be used
544 # for store image with cloud-init metadata.
545 capacity: 1
546 format: raw
547 device: cdrom
548 bus: ide
549 cloudinit_meta_data: *cloudinit_meta_data
550 cloudinit_user_data: *cloudinit_user_data_1604
551
552 interfaces: *interfaces
553 network_config: *network_config
554
555 - name: {{ HOSTNAME_MTR03 }}
556 role: salt_minion
557 params:
558 vcpu: !os_env SLAVE_NODE_CPU, 2
559 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200560 boot:
561 - hd
562 cloud_init_volume_name: iso
563 cloud_init_iface_up: ens3
564 volumes:
565 - name: system
566 capacity: !os_env NODE_VOLUME_SIZE, 150
567 backing_store: mcp_ubuntu_1604_image
568 format: qcow2
569 - name: iso # Volume with name 'iso' will be used
570 # for store image with cloud-init metadata.
571 capacity: 1
572 format: raw
573 device: cdrom
574 bus: ide
575 cloudinit_meta_data: *cloudinit_meta_data
576 cloudinit_user_data: *cloudinit_user_data_1604
577
578 interfaces: *interfaces
579 network_config: *network_config
580
581 - name: {{ HOSTNAME_PRX01 }}
582 role: salt_minion
583 params:
584 vcpu: !os_env SLAVE_NODE_CPU, 1
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200585 memory: !os_env SLAVE_NODE_MEMORY, 2048
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200586 boot:
587 - hd
588 cloud_init_volume_name: iso
589 cloud_init_iface_up: ens3
590 volumes:
591 - name: system
592 capacity: !os_env NODE_VOLUME_SIZE, 150
593 backing_store: mcp_ubuntu_1604_image
594 format: qcow2
595 - name: cinder
596 capacity: 50
597 format: qcow2
598 - name: iso # Volume with name 'iso' will be used
599 # for store image with cloud-init metadata.
600 capacity: 1
601 format: raw
602 device: cdrom
603 bus: ide
604 cloudinit_meta_data: *cloudinit_meta_data
605 cloudinit_user_data: *cloudinit_user_data_1604
606
607 interfaces: *interfaces
608 network_config: *network_config
609
610
611 - name: {{ HOSTNAME_CMP01 }}
612 role: salt_minion
613 params:
614 vcpu: !os_env SLAVE_NODE_CPU, 3
615 memory: !os_env SLAVE_NODE_MEMORY, 4096
616 boot:
617 - hd
618 cloud_init_volume_name: iso
619 cloud_init_iface_up: ens3
620 volumes:
621 - name: system
622 capacity: !os_env NODE_VOLUME_SIZE, 150
623 backing_store: cloudimage1604
624 format: qcow2
625 - name: iso # Volume with name 'iso' will be used
626 # for store image with cloud-init metadata.
627 capacity: 1
628 format: raw
629 device: cdrom
630 bus: ide
631 cloudinit_meta_data: *cloudinit_meta_data
632 cloudinit_user_data: *cloudinit_user_data_1604
633
634
635 interfaces: &all_interfaces
636 - label: ens3
637 l2_network_device: admin
638 interface_model: *interface_model
639 - label: ens4
640 l2_network_device: private
641 interface_model: *interface_model
642 - label: ens5
643 l2_network_device: tenant
644 interface_model: *interface_model
645 - label: ens6
646 l2_network_device: external
647 interface_model: *interface_model
648 network_config: &all_network_config
649 ens3:
650 networks:
651 - admin
652 ens4:
653 networks:
654 - private
655 ens5:
656 networks:
657 - tenant
658 ens6:
659 networks:
660 - external
661
662 - name: {{ HOSTNAME_CMP02 }}
663 role: salt_minion
664 params:
665 vcpu: !os_env SLAVE_NODE_CPU, 3
666 memory: !os_env SLAVE_NODE_MEMORY, 4096
667 boot:
668 - hd
669 cloud_init_volume_name: iso
670 cloud_init_iface_up: ens3
671 volumes:
672 - name: system
673 capacity: !os_env NODE_VOLUME_SIZE, 150
674 backing_store: cloudimage1604
675 format: qcow2
676 - name: iso # Volume with name 'iso' will be used
677 # for store image with cloud-init metadata.
678 capacity: 1
679 format: raw
680 device: cdrom
681 bus: ide
682 cloudinit_meta_data: *cloudinit_meta_data
683 cloudinit_user_data: *cloudinit_user_data_1604
684
685 interfaces: *all_interfaces
686 network_config: *all_network_config
687
688 - name: {{ HOSTNAME_GTW01 }}
689 role: salt_minion
690 params:
691 vcpu: !os_env SLAVE_NODE_CPU, 4
692 memory: !os_env SLAVE_NODE_MEMORY, 4096
693 boot:
694 - hd
695 cloud_init_volume_name: iso
696 cloud_init_iface_up: ens3
697 volumes:
698 - name: system
699 capacity: !os_env NODE_VOLUME_SIZE, 150
700 backing_store: cloudimage1604
701 format: qcow2
702 - name: iso # Volume with name 'iso' will be used
703 # for store image with cloud-init metadata.
704 capacity: 1
705 format: raw
706 device: cdrom
707 bus: ide
708 cloudinit_meta_data: *cloudinit_meta_data
709 cloudinit_user_data: *cloudinit_user_data_1604
710
711 interfaces: *all_interfaces
712 network_config: *all_network_config
713
714 - name: {{ HOSTNAME_DNS01 }}
715 role: salt_minion
716 params:
717 vcpu: !os_env SLAVE_NODE_CPU, 1
718 memory: !os_env SLAVE_NODE_MEMORY, 2048
719 boot:
720 - hd
721 cloud_init_volume_name: iso
722 cloud_init_iface_up: ens3
723 volumes:
724 - name: system
725 capacity: !os_env NODE_VOLUME_SIZE, 150
726 backing_store: mcp_ubuntu_1604_image
727 format: qcow2
728 - name: iso # Volume with name 'iso' will be used
729 # for store image with cloud-init metadata.
730 capacity: 1
731 format: raw
732 device: cdrom
733 bus: ide
734 cloudinit_meta_data: *cloudinit_meta_data
735 cloudinit_user_data: *cloudinit_user_data_1604
736
737 interfaces: *all_interfaces
738 network_config: *all_network_config
739
740 - name: {{ HOSTNAME_DNS02 }}
741 role: salt_minion
742 params:
743 vcpu: !os_env SLAVE_NODE_CPU, 1
744 memory: !os_env SLAVE_NODE_MEMORY, 2048
745 boot:
746 - hd
747 cloud_init_volume_name: iso
748 cloud_init_iface_up: ens3
749 volumes:
750 - name: system
751 capacity: !os_env NODE_VOLUME_SIZE, 150
752 backing_store: mcp_ubuntu_1604_image
753 format: qcow2
754 - name: iso # Volume with name 'iso' will be used
755 # for store image with cloud-init metadata.
756 capacity: 1
757 format: raw
758 device: cdrom
759 bus: ide
760 cloudinit_meta_data: *cloudinit_meta_data
761 cloudinit_user_data: *cloudinit_user_data_1604
762
763 interfaces: *all_interfaces
764 network_config: *all_network_config