blob: 40bebc11392fd9231974273eba598e326e2f8064 [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) %}
sgudz5baf84b2018-10-22 12:17:59 +030037{% set HOSTNAME_SHARE02 = os_env('HOSTNAME_SHARE02', 'share02.' + DOMAIN_NAME) %}
38{% set HOSTNAME_SHARE03 = os_env('HOSTNAME_SHARE03', '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
sgudz9ebd0182018-10-22 16:17:46 +030069 default_{{ HOSTNAME_SHARE01 }}: +204
70 default_{{ HOSTNAME_SHARE02 }}: +205
71 default_{{ HOSTNAME_SHARE03 }}: +206
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
sgudz9ebd0182018-10-22 16:17:46 +0300100 default_{{ HOSTNAME_SHARE01 }}: +204
101 default_{{ HOSTNAME_SHARE02 }}: +205
102 default_{{ HOSTNAME_SHARE03 }}: +206
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
sgudz9ebd0182018-10-22 16:17:46 +0300131 default_{{ HOSTNAME_SHARE01 }}: +204
132 default_{{ HOSTNAME_SHARE02 }}: +205
133 default_{{ HOSTNAME_SHARE03 }}: +206
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
sgudz9ebd0182018-10-22 16:17:46 +0300162 default_{{ HOSTNAME_SHARE01 }}: +204
163 default_{{ HOSTNAME_SHARE02 }}: +205
164 default_{{ HOSTNAME_SHARE03 }}: +206
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
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300276 - name: iso # Volume with name 'iso' will be used
277 # for store image with cloud-init metadata.
278 capacity: 1
279 format: raw
280 device: cdrom
281 bus: ide
282 cloudinit_meta_data: *cloudinit_meta_data
283 cloudinit_user_data: *cloudinit_user_data_1604
284
285 interfaces: &interfaces
286 - label: ens3
287 l2_network_device: admin
288 interface_model: *interface_model
289 - label: ens4
290 l2_network_device: private
291 interface_model: *interface_model
292 network_config: &network_config
293 ens3:
294 networks:
295 - admin
296 ens4:
297 networks:
298 - private
299
300 - name: {{ HOSTNAME_CTL02 }}
301 role: salt_minion
302 params:
303 vcpu: !os_env SLAVE_NODE_CPU, 2
304 memory: !os_env SLAVE_NODE_MEMORY, 16384
305 boot:
306 - hd
307 cloud_init_volume_name: iso
308 cloud_init_iface_up: ens3
309 volumes:
310 - name: system
311 capacity: !os_env NODE_VOLUME_SIZE, 150
312 backing_store: mcp_ubuntu_1604_image
313 format: qcow2
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300314 - name: iso # Volume with name 'iso' will be used
315 # for store image with cloud-init metadata.
316 capacity: 1
317 format: raw
318 device: cdrom
319 bus: ide
320 cloudinit_meta_data: *cloudinit_meta_data
321 cloudinit_user_data: *cloudinit_user_data_1604
322
323 interfaces: *interfaces
324 network_config: *network_config
325
326 - name: {{ HOSTNAME_CTL03 }}
327 role: salt_minion
328 params:
329 vcpu: !os_env SLAVE_NODE_CPU, 2
330 memory: !os_env SLAVE_NODE_MEMORY, 16384
331 boot:
332 - hd
333 cloud_init_volume_name: iso
334 cloud_init_iface_up: ens3
335 volumes:
336 - name: system
337 capacity: !os_env NODE_VOLUME_SIZE, 150
338 backing_store: mcp_ubuntu_1604_image
339 format: qcow2
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300340 - 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
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, 4096
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
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, 4096
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
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, 4096
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
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
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
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
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, 4096
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
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, 4096
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
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, 4096
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
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
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300600 - name: iso # Volume with name 'iso' will be used
601 # for store image with cloud-init metadata.
602 capacity: 1
603 format: raw
604 device: cdrom
605 bus: ide
606 cloudinit_meta_data: *cloudinit_meta_data
607 cloudinit_user_data: *cloudinit_user_data_1604
608
609 interfaces: *interfaces
610 network_config: *network_config
611
612 - name: {{ HOSTNAME_CMP01 }}
613 role: salt_minion
614 params:
615 vcpu: !os_env SLAVE_NODE_CPU, 3
616 memory: !os_env SLAVE_NODE_MEMORY, 4096
617 boot:
618 - hd
619 cloud_init_volume_name: iso
620 cloud_init_iface_up: ens3
621 volumes:
622 - name: system
623 capacity: !os_env NODE_VOLUME_SIZE, 150
624 backing_store: cloudimage1604
625 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300626 - name: cinder
627 capacity: 50
628 format: qcow2
Oleksii Butenko0540d9a2018-10-23 11:59:27 +0300629 - name: manila
630 capacity: 20
631 format: qcow2
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300632 - name: iso # Volume with name 'iso' will be used
633 # for store image with cloud-init metadata.
634 capacity: 1
635 format: raw
636 device: cdrom
637 bus: ide
638 cloudinit_meta_data: *cloudinit_meta_data
639 cloudinit_user_data: *cloudinit_user_data_1604
640
641
642 interfaces: &all_interfaces
643 - label: ens3
644 l2_network_device: admin
645 interface_model: *interface_model
646 - label: ens4
647 l2_network_device: private
648 interface_model: *interface_model
649 - label: ens5
650 l2_network_device: tenant
651 interface_model: *interface_model
652 - label: ens6
653 l2_network_device: external
654 interface_model: *interface_model
655 network_config: &all_network_config
656 ens3:
657 networks:
658 - admin
659 ens4:
660 networks:
661 - private
662 ens5:
663 networks:
664 - tenant
665 ens6:
666 networks:
667 - external
668
669 - name: {{ HOSTNAME_CMP02 }}
670 role: salt_minion
671 params:
672 vcpu: !os_env SLAVE_NODE_CPU, 3
673 memory: !os_env SLAVE_NODE_MEMORY, 4096
674 boot:
675 - hd
676 cloud_init_volume_name: iso
677 cloud_init_iface_up: ens3
678 volumes:
679 - name: system
680 capacity: !os_env NODE_VOLUME_SIZE, 150
681 backing_store: cloudimage1604
682 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300683 - name: cinder
684 capacity: 50
685 format: qcow2
Oleksii Butenko0540d9a2018-10-23 11:59:27 +0300686 - name: manila
687 capacity: 20
688 format: qcow2
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300689 - 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