blob: 18ea1801f9deb5aa54b9c4087aaed557d917218d [file] [log] [blame]
Oleksii Butenko87d00c02018-09-05 19:11:17 +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-mcp-queens-dvr/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
5{% import 'cookied-mcp-queens-dvr/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
6{% import 'cookied-mcp-queens-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-queens-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) %}
Oleksii Butenkoe0fc5f22018-09-25 14:29:42 +030021{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp1.' + DOMAIN_NAME) %}
22{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp2.' + DOMAIN_NAME) %}
Oleksii Butenko87d00c02018-09-05 19:11:17 +030023{% 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) %}
26{% 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) %}
32{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
Oleksii Butenko87d00c02018-09-05 19:11:17 +030033{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
Oleksii Butenkobfd096e2018-10-11 16:37:07 +030034{% set HOSTNAME_DNS01 = os_env('HOSTNAME_DNS01', 'dns01.' + DOMAIN_NAME) %}
35{% set HOSTNAME_DNS02 = os_env('HOSTNAME_DNS02', 'dns02.' + DOMAIN_NAME) %}
Oleksii Butenkof57d1ff2018-09-28 17:59:45 +030036{% set HOSTNAME_SHARE01 = os_env('HOSTNAME_SHARE01', 'share01.' + DOMAIN_NAME) %}
Oleksii Butenko40772422018-10-01 16:52:49 +030037{% set HOSTNAME_SHARE02 = os_env('HOSTNAME_SHARE01', 'share02.' + DOMAIN_NAME) %}
38{% set HOSTNAME_SHARE03 = os_env('HOSTNAME_SHARE01', 'share03.' + DOMAIN_NAME) %}
Oleksii Butenko87d00c02018-09-05 19:11:17 +030039
40template:
41 devops_settings:
42 env_name: {{ os_env('ENV_NAME', 'cookied-mcp-queens-dvr_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
43
44 address_pools:
45 private-pool01:
46 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
47 params:
48 ip_reserved:
49 gateway: +1
50 l2_network_device: +1
51 default_{{ HOSTNAME_CFG01 }}: +100
52 default_{{ HOSTNAME_CTL01 }}: +101
53 default_{{ HOSTNAME_CTL02 }}: +102
54 default_{{ HOSTNAME_CTL03 }}: +103
55 default_{{ HOSTNAME_CMP01 }}: +105
56 default_{{ HOSTNAME_CMP02 }}: +106
57 default_{{ HOSTNAME_MON01 }}: +71
58 default_{{ HOSTNAME_MON02 }}: +72
59 default_{{ HOSTNAME_MON03 }}: +73
60 default_{{ HOSTNAME_LOG01 }}: +61
61 default_{{ HOSTNAME_LOG02 }}: +62
62 default_{{ HOSTNAME_LOG03 }}: +63
63 default_{{ HOSTNAME_MTR01 }}: +86
64 default_{{ HOSTNAME_MTR02 }}: +87
65 default_{{ HOSTNAME_MTR03 }}: +88
66 default_{{ HOSTNAME_GTW01 }}: +110
Oleksii Butenkobfd096e2018-10-11 16:37:07 +030067 default_{{ HOSTNAME_DNS01 }}: +111
68 default_{{ HOSTNAME_DNS02 }}: +112
Oleksii Butenko87d00c02018-09-05 19:11:17 +030069 default_{{ HOSTNAME_PRX01 }}: +121
Oleksii Butenko40772422018-10-01 16:52:49 +030070 default_{{ HOSTNAME_SHARE01 }}: +69
71 default_{{ HOSTNAME_SHARE02 }}: +70
72 default_{{ HOSTNAME_SHARE03 }}: +71
Oleksii Butenko87d00c02018-09-05 19:11:17 +030073 ip_ranges:
74 dhcp: [+90, -10]
75
76 admin-pool01:
77 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
78 params:
79 ip_reserved:
80 gateway: +1
81 l2_network_device: +1
82 default_{{ HOSTNAME_CFG01 }}: +90
83 default_{{ HOSTNAME_CTL01 }}: +101
84 default_{{ HOSTNAME_CTL02 }}: +102
85 default_{{ HOSTNAME_CTL03 }}: +103
86 default_{{ HOSTNAME_CMP01 }}: +105
87 default_{{ HOSTNAME_CMP02 }}: +106
88 default_{{ HOSTNAME_MON01 }}: +71
89 default_{{ HOSTNAME_MON02 }}: +72
90 default_{{ HOSTNAME_MON03 }}: +73
91 default_{{ HOSTNAME_LOG01 }}: +61
92 default_{{ HOSTNAME_LOG02 }}: +62
93 default_{{ HOSTNAME_LOG03 }}: +63
94 default_{{ HOSTNAME_MTR01 }}: +86
95 default_{{ HOSTNAME_MTR02 }}: +87
96 default_{{ HOSTNAME_MTR03 }}: +88
97 default_{{ HOSTNAME_GTW01 }}: +110
Oleksii Butenkobfd096e2018-10-11 16:37:07 +030098 default_{{ HOSTNAME_DNS01 }}: +111
99 default_{{ HOSTNAME_DNS02 }}: +112
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300100 default_{{ HOSTNAME_PRX01 }}: +121
Oleksii Butenko40772422018-10-01 16:52:49 +0300101 default_{{ HOSTNAME_SHARE01 }}: +69
102 default_{{ HOSTNAME_SHARE02 }}: +70
103 default_{{ HOSTNAME_SHARE03 }}: +71
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300104 ip_ranges:
105 dhcp: [+90, -10]
106
107 tenant-pool01:
108 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
109 params:
110 ip_reserved:
111 gateway: +1
112 l2_network_device: +1
113 default_{{ HOSTNAME_CFG01 }}: +100
114 default_{{ HOSTNAME_CTL01 }}: +101
115 default_{{ HOSTNAME_CTL02 }}: +102
116 default_{{ HOSTNAME_CTL03 }}: +103
117 default_{{ HOSTNAME_CMP01 }}: +105
118 default_{{ HOSTNAME_CMP02 }}: +106
119 default_{{ HOSTNAME_MON01 }}: +71
120 default_{{ HOSTNAME_MON02 }}: +72
121 default_{{ HOSTNAME_MON03 }}: +73
122 default_{{ HOSTNAME_LOG01 }}: +61
123 default_{{ HOSTNAME_LOG02 }}: +62
124 default_{{ HOSTNAME_LOG03 }}: +63
125 default_{{ HOSTNAME_MTR01 }}: +86
126 default_{{ HOSTNAME_MTR02 }}: +87
127 default_{{ HOSTNAME_MTR03 }}: +88
128 default_{{ HOSTNAME_GTW01 }}: +110
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300129 default_{{ HOSTNAME_PRX01 }}: +121
Oleksii Butenkobfd096e2018-10-11 16:37:07 +0300130 default_{{ HOSTNAME_DNS01 }}: +111
131 default_{{ HOSTNAME_DNS02 }}: +112
Oleksii Butenko40772422018-10-01 16:52:49 +0300132 default_{{ HOSTNAME_SHARE01 }}: +69
133 default_{{ HOSTNAME_SHARE02 }}: +70
134 default_{{ HOSTNAME_SHARE03 }}: +71
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300135 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 }}: +100
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
Oleksii Butenkobfd096e2018-10-11 16:37:07 +0300160 default_{{ HOSTNAME_DNS01 }}: +111
161 default_{{ HOSTNAME_DNS02 }}: +112
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300162 default_{{ HOSTNAME_PRX01 }}: +121
Oleksii Butenko40772422018-10-01 16:52:49 +0300163 default_{{ HOSTNAME_SHARE01 }}: +69
164 default_{{ HOSTNAME_SHARE02 }}: +70
165 default_{{ HOSTNAME_SHARE03 }}: +71
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300166 ip_ranges:
Oleksii Butenkoffc09222018-09-21 12:37:16 +0300167 dhcp: [+130, +220]
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300168
169
170 groups:
171 - name: default
172 driver:
173 name: devops.driver.libvirt
174 params:
175 connection_string: !os_env CONNECTION_STRING, qemu:///system
176 storage_pool_name: !os_env STORAGE_POOL_NAME, default
177 stp: False
178 hpet: False
179 enable_acpi: true
180 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
181 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
182
183 network_pools:
184 admin: admin-pool01
185 private: private-pool01
186 tenant: tenant-pool01
187 external: external-pool01
188
189 l2_network_devices:
190 private:
191 address_pool: private-pool01
192 dhcp: false
193 forward:
194 mode: route
195
196 admin:
197 address_pool: admin-pool01
198 dhcp: true
199 forward:
200 mode: nat
201
202 tenant:
203 address_pool: tenant-pool01
204 dhcp: false
205
206 external:
207 address_pool: external-pool01
208 dhcp: false
209 forward:
210 mode: route
211
212
213 group_volumes:
214 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
215 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
216 format: qcow2
217 - name: cfg01_day01_image # Pre-configured day01 image
218 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
219 format: qcow2
220 - name: mcp_ubuntu_1604_image # Pre-configured image for control plane
221 source_image: !os_env MCP_IMAGE_PATH1604
222 format: qcow2
223
224 nodes:
225 - name: {{ HOSTNAME_CFG01 }}
226 role: salt_master
227 params:
228 vcpu: !os_env SLAVE_NODE_CPU, 2
229 memory: !os_env SLAVE_NODE_MEMORY, 8192
230 boot:
231 - hd
232 cloud_init_volume_name: iso
233 cloud_init_iface_up: ens3
234 volumes:
235 - name: system
236 capacity: !os_env NODE_VOLUME_SIZE, 150
237 backing_store: cfg01_day01_image
238 format: qcow2
239 - name: iso # Volume with name 'iso' will be used
240 # for store image with cloud-init metadata.
241 capacity: 1
242 format: raw
243 device: cdrom
244 bus: ide
245 cloudinit_meta_data: *cloudinit_meta_data
246 cloudinit_user_data: *cloudinit_user_data_cfg01
247
248 interfaces:
249 - label: ens3
250 l2_network_device: admin
251 interface_model: *interface_model
252 - label: ens4
253 l2_network_device: private
254 interface_model: *interface_model
255 network_config:
256 ens3:
257 networks:
258 - admin
259 ens4:
260 networks:
261 - private
262
263 - name: {{ HOSTNAME_CTL01 }}
264 role: salt_minion
265 params:
266 vcpu: !os_env SLAVE_NODE_CPU, 2
267 memory: !os_env SLAVE_NODE_MEMORY, 16384
268 boot:
269 - hd
270 cloud_init_volume_name: iso
271 cloud_init_iface_up: ens3
272 volumes:
273 - name: system
274 capacity: !os_env NODE_VOLUME_SIZE, 150
275 backing_store: mcp_ubuntu_1604_image
276 format: qcow2
277 - name: cinder
278 capacity: 50
279 format: qcow2
280 - name: iso # Volume with name 'iso' will be used
281 # for store image with cloud-init metadata.
282 capacity: 1
283 format: raw
284 device: cdrom
285 bus: ide
286 cloudinit_meta_data: *cloudinit_meta_data
287 cloudinit_user_data: *cloudinit_user_data_1604
288
289 interfaces: &interfaces
290 - label: ens3
291 l2_network_device: admin
292 interface_model: *interface_model
293 - label: ens4
294 l2_network_device: private
295 interface_model: *interface_model
296 network_config: &network_config
297 ens3:
298 networks:
299 - admin
300 ens4:
301 networks:
302 - private
303
304 - name: {{ HOSTNAME_CTL02 }}
305 role: salt_minion
306 params:
307 vcpu: !os_env SLAVE_NODE_CPU, 2
308 memory: !os_env SLAVE_NODE_MEMORY, 16384
309 boot:
310 - hd
311 cloud_init_volume_name: iso
312 cloud_init_iface_up: ens3
313 volumes:
314 - name: system
315 capacity: !os_env NODE_VOLUME_SIZE, 150
316 backing_store: mcp_ubuntu_1604_image
317 format: qcow2
318 - name: cinder
319 capacity: 50
320 format: qcow2
321 - name: iso # Volume with name 'iso' will be used
322 # for store image with cloud-init metadata.
323 capacity: 1
324 format: raw
325 device: cdrom
326 bus: ide
327 cloudinit_meta_data: *cloudinit_meta_data
328 cloudinit_user_data: *cloudinit_user_data_1604
329
330 interfaces: *interfaces
331 network_config: *network_config
332
333 - name: {{ HOSTNAME_CTL03 }}
334 role: salt_minion
335 params:
336 vcpu: !os_env SLAVE_NODE_CPU, 2
337 memory: !os_env SLAVE_NODE_MEMORY, 16384
338 boot:
339 - hd
340 cloud_init_volume_name: iso
341 cloud_init_iface_up: ens3
342 volumes:
343 - name: system
344 capacity: !os_env NODE_VOLUME_SIZE, 150
345 backing_store: mcp_ubuntu_1604_image
346 format: qcow2
347 - name: cinder
348 capacity: 50
349 format: qcow2
350 - name: iso # Volume with name 'iso' will be used
351 # for store image with cloud-init metadata.
352 capacity: 1
353 format: raw
354 device: cdrom
355 bus: ide
356 cloudinit_meta_data: *cloudinit_meta_data
357 cloudinit_user_data: *cloudinit_user_data_1604
358
359 interfaces: *interfaces
360 network_config: *network_config
361
362 - name: {{ HOSTNAME_MON01 }}
363 role: salt_minion
364 params:
365 vcpu: !os_env SLAVE_NODE_CPU, 2
366 memory: !os_env SLAVE_NODE_MEMORY, 4096
367 boot:
368 - hd
369 cloud_init_volume_name: iso
370 cloud_init_iface_up: ens3
371 volumes:
372 - name: system
373 capacity: !os_env NODE_VOLUME_SIZE, 150
374 backing_store: mcp_ubuntu_1604_image
375 format: qcow2
376 - name: iso # Volume with name 'iso' will be used
377 # for store image with cloud-init metadata.
378 capacity: 1
379 format: raw
380 device: cdrom
381 bus: ide
382 cloudinit_meta_data: *cloudinit_meta_data
383 cloudinit_user_data: *cloudinit_user_data_1604
384
385 interfaces: *interfaces
386 network_config: *network_config
387
388 - name: {{ HOSTNAME_MON02 }}
389 role: salt_minion
390 params:
391 vcpu: !os_env SLAVE_NODE_CPU, 2
392 memory: !os_env SLAVE_NODE_MEMORY, 4096
393 boot:
394 - hd
395 cloud_init_volume_name: iso
396 cloud_init_iface_up: ens3
397 volumes:
398 - name: system
399 capacity: !os_env NODE_VOLUME_SIZE, 150
400 backing_store: mcp_ubuntu_1604_image
401 format: qcow2
402 - name: iso # Volume with name 'iso' will be used
403 # for store image with cloud-init metadata.
404 capacity: 1
405 format: raw
406 device: cdrom
407 bus: ide
408 cloudinit_meta_data: *cloudinit_meta_data
409 cloudinit_user_data: *cloudinit_user_data_1604
410
411 interfaces: *interfaces
412 network_config: *network_config
413
414 - name: {{ HOSTNAME_MON03 }}
415 role: salt_minion
416 params:
417 vcpu: !os_env SLAVE_NODE_CPU, 2
418 memory: !os_env SLAVE_NODE_MEMORY, 4096
419 boot:
420 - hd
421 cloud_init_volume_name: iso
422 cloud_init_iface_up: ens3
423 volumes:
424 - name: system
425 capacity: !os_env NODE_VOLUME_SIZE, 150
426 backing_store: mcp_ubuntu_1604_image
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_LOG01 }}
441 role: salt_minion
442 params:
443 vcpu: !os_env SLAVE_NODE_CPU, 2
444 memory: !os_env SLAVE_NODE_MEMORY, 4096
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: mcp_ubuntu_1604_image
453 format: qcow2
454 - name: iso # Volume with name 'iso' will be used
455 # for store image with cloud-init metadata.
456 capacity: 1
457 format: raw
458 device: cdrom
459 bus: ide
460 cloudinit_meta_data: *cloudinit_meta_data
461 cloudinit_user_data: *cloudinit_user_data_1604
462
463 interfaces: *interfaces
464 network_config: *network_config
465
466 - name: {{ HOSTNAME_LOG02 }}
467 role: salt_minion
468 params:
469 vcpu: !os_env SLAVE_NODE_CPU, 2
470 memory: !os_env SLAVE_NODE_MEMORY, 4096
471 boot:
472 - hd
473 cloud_init_volume_name: iso
474 cloud_init_iface_up: ens3
475 volumes:
476 - name: system
477 capacity: !os_env NODE_VOLUME_SIZE, 150
478 backing_store: mcp_ubuntu_1604_image
479 format: qcow2
480 - name: iso # Volume with name 'iso' will be used
481 # for store image with cloud-init metadata.
482 capacity: 1
483 format: raw
484 device: cdrom
485 bus: ide
486 cloudinit_meta_data: *cloudinit_meta_data
487 cloudinit_user_data: *cloudinit_user_data_1604
488
489 interfaces: *interfaces
490 network_config: *network_config
491
492 - name: {{ HOSTNAME_LOG03 }}
493 role: salt_minion
494 params:
495 vcpu: !os_env SLAVE_NODE_CPU, 2
496 memory: !os_env SLAVE_NODE_MEMORY, 4096
497 boot:
498 - hd
499 cloud_init_volume_name: iso
500 cloud_init_iface_up: ens3
501 volumes:
502 - name: system
503 capacity: !os_env NODE_VOLUME_SIZE, 150
504 backing_store: mcp_ubuntu_1604_image
505 format: qcow2
506 - name: iso # Volume with name 'iso' will be used
507 # for store image with cloud-init metadata.
508 capacity: 1
509 format: raw
510 device: cdrom
511 bus: ide
512 cloudinit_meta_data: *cloudinit_meta_data
513 cloudinit_user_data: *cloudinit_user_data_1604
514
515 interfaces: *interfaces
516 network_config: *network_config
517
518 - name: {{ HOSTNAME_MTR01 }}
519 role: salt_minion
520 params:
521 vcpu: !os_env SLAVE_NODE_CPU, 2
522 memory: !os_env SLAVE_NODE_MEMORY, 4096
523 boot:
524 - hd
525 cloud_init_volume_name: iso
526 cloud_init_iface_up: ens3
527 volumes:
528 - name: system
529 capacity: !os_env NODE_VOLUME_SIZE, 150
530 backing_store: mcp_ubuntu_1604_image
531 format: qcow2
532 - name: iso # Volume with name 'iso' will be used
533 # for store image with cloud-init metadata.
534 capacity: 1
535 format: raw
536 device: cdrom
537 bus: ide
538 cloudinit_meta_data: *cloudinit_meta_data
539 cloudinit_user_data: *cloudinit_user_data_1604
540
541 interfaces: *interfaces
542 network_config: *network_config
543
544 - name: {{ HOSTNAME_MTR02 }}
545 role: salt_minion
546 params:
547 vcpu: !os_env SLAVE_NODE_CPU, 2
548 memory: !os_env SLAVE_NODE_MEMORY, 4096
549 boot:
550 - hd
551 cloud_init_volume_name: iso
552 cloud_init_iface_up: ens3
553 volumes:
554 - name: system
555 capacity: !os_env NODE_VOLUME_SIZE, 150
556 backing_store: mcp_ubuntu_1604_image
557 format: qcow2
558 - name: iso # Volume with name 'iso' will be used
559 # for store image with cloud-init metadata.
560 capacity: 1
561 format: raw
562 device: cdrom
563 bus: ide
564 cloudinit_meta_data: *cloudinit_meta_data
565 cloudinit_user_data: *cloudinit_user_data_1604
566
567 interfaces: *interfaces
568 network_config: *network_config
569
570 - name: {{ HOSTNAME_MTR03 }}
571 role: salt_minion
572 params:
573 vcpu: !os_env SLAVE_NODE_CPU, 2
574 memory: !os_env SLAVE_NODE_MEMORY, 4096
575 boot:
576 - hd
577 cloud_init_volume_name: iso
578 cloud_init_iface_up: ens3
579 volumes:
580 - name: system
581 capacity: !os_env NODE_VOLUME_SIZE, 150
582 backing_store: mcp_ubuntu_1604_image
583 format: qcow2
584 - name: iso # Volume with name 'iso' will be used
585 # for store image with cloud-init metadata.
586 capacity: 1
587 format: raw
588 device: cdrom
589 bus: ide
590 cloudinit_meta_data: *cloudinit_meta_data
591 cloudinit_user_data: *cloudinit_user_data_1604
592
593 interfaces: *interfaces
594 network_config: *network_config
595
596 - name: {{ HOSTNAME_PRX01 }}
597 role: salt_minion
598 params:
599 vcpu: !os_env SLAVE_NODE_CPU, 1
600 memory: !os_env SLAVE_NODE_MEMORY, 2048
601 boot:
602 - hd
603 cloud_init_volume_name: iso
604 cloud_init_iface_up: ens3
605 volumes:
606 - name: system
607 capacity: !os_env NODE_VOLUME_SIZE, 150
608 backing_store: mcp_ubuntu_1604_image
609 format: qcow2
610 - name: cinder
611 capacity: 50
612 format: qcow2
613 - name: iso # Volume with name 'iso' will be used
614 # for store image with cloud-init metadata.
615 capacity: 1
616 format: raw
617 device: cdrom
618 bus: ide
619 cloudinit_meta_data: *cloudinit_meta_data
620 cloudinit_user_data: *cloudinit_user_data_1604
621
622 interfaces: *interfaces
623 network_config: *network_config
624
625
626 - name: {{ HOSTNAME_CMP01 }}
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
650 interfaces: &all_interfaces
651 - label: ens3
652 l2_network_device: admin
653 interface_model: *interface_model
654 - label: ens4
655 l2_network_device: private
656 interface_model: *interface_model
657 - label: ens5
658 l2_network_device: tenant
659 interface_model: *interface_model
660 - label: ens6
661 l2_network_device: external
662 interface_model: *interface_model
663 network_config: &all_network_config
664 ens3:
665 networks:
666 - admin
667 ens4:
668 networks:
669 - private
670 ens5:
671 networks:
672 - tenant
673 ens6:
674 networks:
675 - external
676
677 - name: {{ HOSTNAME_CMP02 }}
678 role: salt_minion
679 params:
680 vcpu: !os_env SLAVE_NODE_CPU, 3
681 memory: !os_env SLAVE_NODE_MEMORY, 4096
682 boot:
683 - hd
684 cloud_init_volume_name: iso
685 cloud_init_iface_up: ens3
686 volumes:
687 - name: system
688 capacity: !os_env NODE_VOLUME_SIZE, 150
689 backing_store: cloudimage1604
690 format: qcow2
691 - name: iso # Volume with name 'iso' will be used
692 # for store image with cloud-init metadata.
693 capacity: 1
694 format: raw
695 device: cdrom
696 bus: ide
697 cloudinit_meta_data: *cloudinit_meta_data
698 cloudinit_user_data: *cloudinit_user_data_1604
699
700 interfaces: *all_interfaces
701 network_config: *all_network_config
702
703 - name: {{ HOSTNAME_GTW01 }}
704 role: salt_minion
705 params:
706 vcpu: !os_env SLAVE_NODE_CPU, 4
707 memory: !os_env SLAVE_NODE_MEMORY, 4096
708 boot:
709 - hd
710 cloud_init_volume_name: iso
711 cloud_init_iface_up: ens3
712 volumes:
713 - name: system
714 capacity: !os_env NODE_VOLUME_SIZE, 150
715 backing_store: cloudimage1604
716 format: qcow2
717 - name: iso # Volume with name 'iso' will be used
718 # for store image with cloud-init metadata.
719 capacity: 1
720 format: raw
721 device: cdrom
722 bus: ide
723 cloudinit_meta_data: *cloudinit_meta_data
724 cloudinit_user_data: *cloudinit_user_data_1604
725
726 interfaces: *all_interfaces
Oleksii Butenkof57d1ff2018-09-28 17:59:45 +0300727 network_config: *all_network_config
728
729 - name: {{ HOSTNAME_SHARE01 }}
730 role: salt_minion
731 params:
732 vcpu: !os_env SLAVE_NODE_CPU, 2
733 memory: !os_env SLAVE_NODE_MEMORY, 4096
734 boot:
735 - hd
736 cloud_init_volume_name: iso
737 cloud_init_iface_up: ens3
738 volumes:
739 - name: system
740 capacity: !os_env NODE_VOLUME_SIZE, 150
741 backing_store: mcp_ubuntu_1604_image
742 format: qcow2
743 - name: iso # Volume with name 'iso' will be used
744 # for store image with cloud-init metadata.
745 capacity: 1
746 format: raw
747 device: cdrom
748 bus: ide
749 cloudinit_meta_data: *cloudinit_meta_data
750 cloudinit_user_data: *cloudinit_user_data_1604
751
752 interfaces: *all_interfaces
753 network_config: *all_network_config
Oleksii Butenko40772422018-10-01 16:52:49 +0300754
755 - name: {{ HOSTNAME_SHARE02 }}
756 role: salt_minion
757 params:
758 vcpu: !os_env SLAVE_NODE_CPU, 2
759 memory: !os_env SLAVE_NODE_MEMORY, 4096
760 boot:
761 - hd
762 cloud_init_volume_name: iso
763 cloud_init_iface_up: ens3
764 volumes:
765 - name: system
766 capacity: !os_env NODE_VOLUME_SIZE, 150
767 backing_store: mcp_ubuntu_1604_image
768 format: qcow2
769 - name: iso # Volume with name 'iso' will be used
770 # for store image with cloud-init metadata.
771 capacity: 1
772 format: raw
773 device: cdrom
774 bus: ide
775 cloudinit_meta_data: *cloudinit_meta_data
776 cloudinit_user_data: *cloudinit_user_data_1604
777
778 interfaces: *all_interfaces
779 network_config: *all_network_config
780
781 - name: {{ HOSTNAME_SHARE03 }}
782 role: salt_minion
783 params:
784 vcpu: !os_env SLAVE_NODE_CPU, 2
785 memory: !os_env SLAVE_NODE_MEMORY, 4096
786 boot:
787 - hd
788 cloud_init_volume_name: iso
789 cloud_init_iface_up: ens3
790 volumes:
791 - name: system
792 capacity: !os_env NODE_VOLUME_SIZE, 150
793 backing_store: mcp_ubuntu_1604_image
794 format: qcow2
795 - name: iso # Volume with name 'iso' will be used
796 # for store image with cloud-init metadata.
797 capacity: 1
798 format: raw
799 device: cdrom
800 bus: ide
801 cloudinit_meta_data: *cloudinit_meta_data
802 cloudinit_user_data: *cloudinit_user_data_1604
803
804 interfaces: *all_interfaces
805 network_config: *all_network_config
Oleksii Butenkobfd096e2018-10-11 16:37:07 +0300806
807 - name: {{ HOSTNAME_DNS01 }}
808 role: salt_minion
809 params:
810 vcpu: !os_env SLAVE_NODE_CPU, 1
811 memory: !os_env SLAVE_NODE_MEMORY, 2048
812 boot:
813 - hd
814 cloud_init_volume_name: iso
815 cloud_init_iface_up: ens3
816 volumes:
817 - name: system
818 capacity: !os_env NODE_VOLUME_SIZE, 150
819 backing_store: mcp_ubuntu_1604_image
820 format: qcow2
821 - name: iso # Volume with name 'iso' will be used
822 # for store image with cloud-init metadata.
823 capacity: 1
824 format: raw
825 device: cdrom
826 bus: ide
827 cloudinit_meta_data: *cloudinit_meta_data
828 cloudinit_user_data: *cloudinit_user_data_1604
829
830 interfaces: *all_interfaces
831 network_config: *all_network_config
832
833 - name: {{ HOSTNAME_DNS02 }}
834 role: salt_minion
835 params:
836 vcpu: !os_env SLAVE_NODE_CPU, 1
837 memory: !os_env SLAVE_NODE_MEMORY, 2048
838 boot:
839 - hd
840 cloud_init_volume_name: iso
841 cloud_init_iface_up: ens3
842 volumes:
843 - name: system
844 capacity: !os_env NODE_VOLUME_SIZE, 150
845 backing_store: mcp_ubuntu_1604_image
846 format: qcow2
847 - name: iso # Volume with name 'iso' will be used
848 # for store image with cloud-init metadata.
849 capacity: 1
850 format: raw
851 device: cdrom
852 bus: ide
853 cloudinit_meta_data: *cloudinit_meta_data
854 cloudinit_user_data: *cloudinit_user_data_1604
855
856 interfaces: *all_interfaces
857 network_config: *all_network_config