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