blob: 8feb2666910c21bc3ffd9424f076d10b4e512020 [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-ovs/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
5{% import 'cookied-mcp-pike-ovs/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
6{% import 'cookied-mcp-pike-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-pike-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) %}
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) %}
Oleksii Butenko7b0f3672018-10-17 09:38:33 +030033{% set HOSTNAME_DNS01 = os_env('HOSTNAME_DNS01', 'dns01.' + DOMAIN_NAME) %}
34{% set HOSTNAME_DNS02 = os_env('HOSTNAME_DNS02', 'dns02.' + DOMAIN_NAME) %}
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +020035{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
Oleksii Butenko7b0f3672018-10-17 09:38:33 +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) %}
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +020039
40template:
41 devops_settings:
42 env_name: {{ os_env('ENV_NAME', 'cookied-mcp-pike-ovs_' + 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
Dennis Dmitriev90877b12018-03-21 21:52:51 +020057 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
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +020066 default_{{ HOSTNAME_GTW01 }}: +110
Oleksii Butenko7b0f3672018-10-17 09:38:33 +030067 default_{{ HOSTNAME_DNS01 }}: +111
68 default_{{ HOSTNAME_DNS02 }}: +112
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +020069 default_{{ HOSTNAME_PRX01 }}: +121
Oleksii Butenko7b0f3672018-10-17 09:38:33 +030070 default_{{ HOSTNAME_SHARE01 }}: +69
71 default_{{ HOSTNAME_SHARE02 }}: +70
72 default_{{ HOSTNAME_SHARE03 }}: +71
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +020073 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
Dennis Dmitriev90877b12018-03-21 21:52:51 +020088 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
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +020097 default_{{ HOSTNAME_GTW01 }}: +110
Oleksii Butenko7b0f3672018-10-17 09:38:33 +030098 default_{{ HOSTNAME_DNS01 }}: +111
99 default_{{ HOSTNAME_DNS02 }}: +112
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200100 default_{{ HOSTNAME_PRX01 }}: +121
Oleksii Butenko7b0f3672018-10-17 09:38:33 +0300101 default_{{ HOSTNAME_SHARE01 }}: +69
102 default_{{ HOSTNAME_SHARE02 }}: +70
Oleksii Butenko595d56c2018-10-19 16:53:13 +0300103 default_{{ HOSTNAME_SHARE03 }}: +71
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200104 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
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200119 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
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200128 default_{{ HOSTNAME_GTW01 }}: +110
Oleksii Butenko7b0f3672018-10-17 09:38:33 +0300129 default_{{ HOSTNAME_DNS01 }}: +111
130 default_{{ HOSTNAME_DNS02 }}: +112
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200131 default_{{ HOSTNAME_PRX01 }}: +121
Oleksii Butenko7b0f3672018-10-17 09:38:33 +0300132 default_{{ HOSTNAME_SHARE01 }}: +69
133 default_{{ HOSTNAME_SHARE02 }}: +70
134 default_{{ HOSTNAME_SHARE03 }}: +71
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200135 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
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200150 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
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200159 default_{{ HOSTNAME_GTW01 }}: +110
Oleksii Butenko7b0f3672018-10-17 09:38:33 +0300160 default_{{ HOSTNAME_DNS01 }}: +111
161 default_{{ HOSTNAME_DNS02 }}: +112
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200162 default_{{ HOSTNAME_PRX01 }}: +121
Oleksii Butenko7b0f3672018-10-17 09:38:33 +0300163 default_{{ HOSTNAME_SHARE01 }}: +69
164 default_{{ HOSTNAME_SHARE02 }}: +70
165 default_{{ HOSTNAME_SHARE03 }}: +71
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200166 ip_ranges:
167 dhcp: [+10, -10]
168
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
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200192 dhcp: false
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200193 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
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200204 dhcp: false
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200205
206 external:
207 address_pool: external-pool01
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200208 dhcp: false
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200209 forward:
Dennis Dmitriev2cb23932018-05-01 01:47:34 +0300210 mode: route
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200211
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
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200277 - name: iso # Volume with name 'iso' will be used
278 # for store image with cloud-init metadata.
279 capacity: 1
280 format: raw
281 device: cdrom
282 bus: ide
283 cloudinit_meta_data: *cloudinit_meta_data
284 cloudinit_user_data: *cloudinit_user_data_1604
285
286 interfaces: &interfaces
287 - label: ens3
288 l2_network_device: admin
289 interface_model: *interface_model
290 - label: ens4
291 l2_network_device: private
292 interface_model: *interface_model
293 network_config: &network_config
294 ens3:
295 networks:
296 - admin
297 ens4:
298 networks:
299 - private
300
301 - name: {{ HOSTNAME_CTL02 }}
302 role: salt_minion
303 params:
304 vcpu: !os_env SLAVE_NODE_CPU, 2
305 memory: !os_env SLAVE_NODE_MEMORY, 16384
306 boot:
307 - hd
308 cloud_init_volume_name: iso
309 cloud_init_iface_up: ens3
310 volumes:
311 - name: system
312 capacity: !os_env NODE_VOLUME_SIZE, 150
313 backing_store: mcp_ubuntu_1604_image
314 format: qcow2
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200315 - name: iso # Volume with name 'iso' will be used
316 # for store image with cloud-init metadata.
317 capacity: 1
318 format: raw
319 device: cdrom
320 bus: ide
321 cloudinit_meta_data: *cloudinit_meta_data
322 cloudinit_user_data: *cloudinit_user_data_1604
323
324 interfaces: *interfaces
325 network_config: *network_config
326
327 - name: {{ HOSTNAME_CTL03 }}
328 role: salt_minion
329 params:
330 vcpu: !os_env SLAVE_NODE_CPU, 2
331 memory: !os_env SLAVE_NODE_MEMORY, 16384
332 boot:
333 - hd
334 cloud_init_volume_name: iso
335 cloud_init_iface_up: ens3
336 volumes:
337 - name: system
338 capacity: !os_env NODE_VOLUME_SIZE, 150
339 backing_store: mcp_ubuntu_1604_image
340 format: qcow2
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200341 - name: iso # Volume with name 'iso' will be used
342 # for store image with cloud-init metadata.
343 capacity: 1
344 format: raw
345 device: cdrom
346 bus: ide
347 cloudinit_meta_data: *cloudinit_meta_data
348 cloudinit_user_data: *cloudinit_user_data_1604
349
350 interfaces: *interfaces
351 network_config: *network_config
352
353 - name: {{ HOSTNAME_MON01 }}
354 role: salt_minion
355 params:
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200356 vcpu: !os_env SLAVE_NODE_CPU, 2
357 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200358 boot:
359 - hd
360 cloud_init_volume_name: iso
361 cloud_init_iface_up: ens3
362 volumes:
363 - name: system
364 capacity: !os_env NODE_VOLUME_SIZE, 150
365 backing_store: mcp_ubuntu_1604_image
366 format: qcow2
367 - name: iso # Volume with name 'iso' will be used
368 # for store image with cloud-init metadata.
369 capacity: 1
370 format: raw
371 device: cdrom
372 bus: ide
373 cloudinit_meta_data: *cloudinit_meta_data
374 cloudinit_user_data: *cloudinit_user_data_1604
375
376 interfaces: *interfaces
377 network_config: *network_config
378
379 - name: {{ HOSTNAME_MON02 }}
380 role: salt_minion
381 params:
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200382 vcpu: !os_env SLAVE_NODE_CPU, 2
383 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200384 boot:
385 - hd
386 cloud_init_volume_name: iso
387 cloud_init_iface_up: ens3
388 volumes:
389 - name: system
390 capacity: !os_env NODE_VOLUME_SIZE, 150
391 backing_store: mcp_ubuntu_1604_image
392 format: qcow2
393 - name: iso # Volume with name 'iso' will be used
394 # for store image with cloud-init metadata.
395 capacity: 1
396 format: raw
397 device: cdrom
398 bus: ide
399 cloudinit_meta_data: *cloudinit_meta_data
400 cloudinit_user_data: *cloudinit_user_data_1604
401
402 interfaces: *interfaces
403 network_config: *network_config
404
405 - name: {{ HOSTNAME_MON03 }}
406 role: salt_minion
407 params:
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200408 vcpu: !os_env SLAVE_NODE_CPU, 2
409 memory: !os_env SLAVE_NODE_MEMORY, 4096
410 boot:
411 - hd
412 cloud_init_volume_name: iso
413 cloud_init_iface_up: ens3
414 volumes:
415 - name: system
416 capacity: !os_env NODE_VOLUME_SIZE, 150
417 backing_store: mcp_ubuntu_1604_image
418 format: qcow2
419 - name: iso # Volume with name 'iso' will be used
420 # for store image with cloud-init metadata.
421 capacity: 1
422 format: raw
423 device: cdrom
424 bus: ide
425 cloudinit_meta_data: *cloudinit_meta_data
426 cloudinit_user_data: *cloudinit_user_data_1604
427
428 interfaces: *interfaces
429 network_config: *network_config
430
431 - name: {{ HOSTNAME_LOG01 }}
432 role: salt_minion
433 params:
434 vcpu: !os_env SLAVE_NODE_CPU, 2
435 memory: !os_env SLAVE_NODE_MEMORY, 4096
436 boot:
437 - hd
438 cloud_init_volume_name: iso
439 cloud_init_iface_up: ens3
440 volumes:
441 - name: system
442 capacity: !os_env NODE_VOLUME_SIZE, 150
443 backing_store: mcp_ubuntu_1604_image
444 format: qcow2
445 - name: iso # Volume with name 'iso' will be used
446 # for store image with cloud-init metadata.
447 capacity: 1
448 format: raw
449 device: cdrom
450 bus: ide
451 cloudinit_meta_data: *cloudinit_meta_data
452 cloudinit_user_data: *cloudinit_user_data_1604
453
454 interfaces: *interfaces
455 network_config: *network_config
456
457 - name: {{ HOSTNAME_LOG02 }}
458 role: salt_minion
459 params:
460 vcpu: !os_env SLAVE_NODE_CPU, 2
461 memory: !os_env SLAVE_NODE_MEMORY, 4096
462 boot:
463 - hd
464 cloud_init_volume_name: iso
465 cloud_init_iface_up: ens3
466 volumes:
467 - name: system
468 capacity: !os_env NODE_VOLUME_SIZE, 150
469 backing_store: mcp_ubuntu_1604_image
470 format: qcow2
471 - name: iso # Volume with name 'iso' will be used
472 # for store image with cloud-init metadata.
473 capacity: 1
474 format: raw
475 device: cdrom
476 bus: ide
477 cloudinit_meta_data: *cloudinit_meta_data
478 cloudinit_user_data: *cloudinit_user_data_1604
479
480 interfaces: *interfaces
481 network_config: *network_config
482
483 - name: {{ HOSTNAME_LOG03 }}
484 role: salt_minion
485 params:
486 vcpu: !os_env SLAVE_NODE_CPU, 2
487 memory: !os_env SLAVE_NODE_MEMORY, 4096
488 boot:
489 - hd
490 cloud_init_volume_name: iso
491 cloud_init_iface_up: ens3
492 volumes:
493 - name: system
494 capacity: !os_env NODE_VOLUME_SIZE, 150
495 backing_store: mcp_ubuntu_1604_image
496 format: qcow2
497 - name: iso # Volume with name 'iso' will be used
498 # for store image with cloud-init metadata.
499 capacity: 1
500 format: raw
501 device: cdrom
502 bus: ide
503 cloudinit_meta_data: *cloudinit_meta_data
504 cloudinit_user_data: *cloudinit_user_data_1604
505
506 interfaces: *interfaces
507 network_config: *network_config
508
509 - name: {{ HOSTNAME_MTR01 }}
510 role: salt_minion
511 params:
512 vcpu: !os_env SLAVE_NODE_CPU, 2
513 memory: !os_env SLAVE_NODE_MEMORY, 4096
514 boot:
515 - hd
516 cloud_init_volume_name: iso
517 cloud_init_iface_up: ens3
518 volumes:
519 - name: system
520 capacity: !os_env NODE_VOLUME_SIZE, 150
521 backing_store: mcp_ubuntu_1604_image
522 format: qcow2
523 - name: iso # Volume with name 'iso' will be used
524 # for store image with cloud-init metadata.
525 capacity: 1
526 format: raw
527 device: cdrom
528 bus: ide
529 cloudinit_meta_data: *cloudinit_meta_data
530 cloudinit_user_data: *cloudinit_user_data_1604
531
532 interfaces: *interfaces
533 network_config: *network_config
534
535 - name: {{ HOSTNAME_MTR02 }}
536 role: salt_minion
537 params:
538 vcpu: !os_env SLAVE_NODE_CPU, 2
539 memory: !os_env SLAVE_NODE_MEMORY, 4096
540 boot:
541 - hd
542 cloud_init_volume_name: iso
543 cloud_init_iface_up: ens3
544 volumes:
545 - name: system
546 capacity: !os_env NODE_VOLUME_SIZE, 150
547 backing_store: mcp_ubuntu_1604_image
548 format: qcow2
549 - name: iso # Volume with name 'iso' will be used
550 # for store image with cloud-init metadata.
551 capacity: 1
552 format: raw
553 device: cdrom
554 bus: ide
555 cloudinit_meta_data: *cloudinit_meta_data
556 cloudinit_user_data: *cloudinit_user_data_1604
557
558 interfaces: *interfaces
559 network_config: *network_config
560
561 - name: {{ HOSTNAME_MTR03 }}
562 role: salt_minion
563 params:
564 vcpu: !os_env SLAVE_NODE_CPU, 2
565 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200566 boot:
567 - hd
568 cloud_init_volume_name: iso
569 cloud_init_iface_up: ens3
570 volumes:
571 - name: system
572 capacity: !os_env NODE_VOLUME_SIZE, 150
573 backing_store: mcp_ubuntu_1604_image
574 format: qcow2
575 - name: iso # Volume with name 'iso' will be used
576 # for store image with cloud-init metadata.
577 capacity: 1
578 format: raw
579 device: cdrom
580 bus: ide
581 cloudinit_meta_data: *cloudinit_meta_data
582 cloudinit_user_data: *cloudinit_user_data_1604
583
584 interfaces: *interfaces
585 network_config: *network_config
586
587 - name: {{ HOSTNAME_PRX01 }}
588 role: salt_minion
589 params:
590 vcpu: !os_env SLAVE_NODE_CPU, 1
591 memory: !os_env SLAVE_NODE_MEMORY, 2048
592 boot:
593 - hd
594 cloud_init_volume_name: iso
595 cloud_init_iface_up: ens3
596 volumes:
597 - name: system
598 capacity: !os_env NODE_VOLUME_SIZE, 150
599 backing_store: mcp_ubuntu_1604_image
600 format: qcow2
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200601 - name: iso # Volume with name 'iso' will be used
602 # for store image with cloud-init metadata.
603 capacity: 1
604 format: raw
605 device: cdrom
606 bus: ide
607 cloudinit_meta_data: *cloudinit_meta_data
608 cloudinit_user_data: *cloudinit_user_data_1604
609
610 interfaces: *interfaces
611 network_config: *network_config
612
613 - name: {{ HOSTNAME_CMP01 }}
614 role: salt_minion
615 params:
616 vcpu: !os_env SLAVE_NODE_CPU, 3
617 memory: !os_env SLAVE_NODE_MEMORY, 4096
618 boot:
619 - hd
620 cloud_init_volume_name: iso
621 cloud_init_iface_up: ens3
622 volumes:
623 - name: system
624 capacity: !os_env NODE_VOLUME_SIZE, 150
625 backing_store: cloudimage1604
626 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300627 - name: cinder
628 capacity: 50
629 format: qcow2
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200630 - name: iso # Volume with name 'iso' will be used
631 # for store image with cloud-init metadata.
632 capacity: 1
633 format: raw
634 device: cdrom
635 bus: ide
636 cloudinit_meta_data: *cloudinit_meta_data
637 cloudinit_user_data: *cloudinit_user_data_1604
638
639
640 interfaces: &all_interfaces
641 - label: ens3
642 l2_network_device: admin
643 interface_model: *interface_model
644 - label: ens4
645 l2_network_device: private
646 interface_model: *interface_model
647 - label: ens5
648 l2_network_device: tenant
649 interface_model: *interface_model
650 - label: ens6
651 l2_network_device: external
652 interface_model: *interface_model
653 network_config: &all_network_config
654 ens3:
655 networks:
656 - admin
657 ens4:
658 networks:
659 - private
660 ens5:
661 networks:
662 - tenant
663 ens6:
664 networks:
665 - external
666
667 - name: {{ HOSTNAME_CMP02 }}
668 role: salt_minion
669 params:
670 vcpu: !os_env SLAVE_NODE_CPU, 3
671 memory: !os_env SLAVE_NODE_MEMORY, 4096
672 boot:
673 - hd
674 cloud_init_volume_name: iso
675 cloud_init_iface_up: ens3
676 volumes:
677 - name: system
678 capacity: !os_env NODE_VOLUME_SIZE, 150
679 backing_store: cloudimage1604
680 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300681 - name: cinder
682 capacity: 50
683 format: qcow2
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200684 - name: iso # Volume with name 'iso' will be used
685 # for store image with cloud-init metadata.
686 capacity: 1
687 format: raw
688 device: cdrom
689 bus: ide
690 cloudinit_meta_data: *cloudinit_meta_data
691 cloudinit_user_data: *cloudinit_user_data_1604
692
693 interfaces: *all_interfaces
694 network_config: *all_network_config
695
696 - name: {{ HOSTNAME_GTW01 }}
697 role: salt_minion
698 params:
699 vcpu: !os_env SLAVE_NODE_CPU, 4
700 memory: !os_env SLAVE_NODE_MEMORY, 4096
701 boot:
702 - hd
703 cloud_init_volume_name: iso
704 cloud_init_iface_up: ens3
705 volumes:
706 - name: system
707 capacity: !os_env NODE_VOLUME_SIZE, 150
708 backing_store: cloudimage1604
709 format: qcow2
710 - name: iso # Volume with name 'iso' will be used
711 # for store image with cloud-init metadata.
712 capacity: 1
713 format: raw
714 device: cdrom
715 bus: ide
716 cloudinit_meta_data: *cloudinit_meta_data
717 cloudinit_user_data: *cloudinit_user_data_1604
718
719 interfaces: *all_interfaces
720 network_config: *all_network_config
Oleksii Butenko7b0f3672018-10-17 09:38:33 +0300721
722 - name: {{ HOSTNAME_DNS01 }}
723 role: salt_minion
724 params:
725 vcpu: !os_env SLAVE_NODE_CPU, 1
726 memory: !os_env SLAVE_NODE_MEMORY, 2048
727 boot:
728 - hd
729 cloud_init_volume_name: iso
730 cloud_init_iface_up: ens3
731 volumes:
732 - name: system
733 capacity: !os_env NODE_VOLUME_SIZE, 150
734 backing_store: mcp_ubuntu_1604_image
735 format: qcow2
736 - name: iso # Volume with name 'iso' will be used
737 # for store image with cloud-init metadata.
738 capacity: 1
739 format: raw
740 device: cdrom
741 bus: ide
742 cloudinit_meta_data: *cloudinit_meta_data
743 cloudinit_user_data: *cloudinit_user_data_1604
744
745 interfaces: *all_interfaces
746 network_config: *all_network_config
747
748 - name: {{ HOSTNAME_DNS02 }}
749 role: salt_minion
750 params:
751 vcpu: !os_env SLAVE_NODE_CPU, 1
752 memory: !os_env SLAVE_NODE_MEMORY, 2048
753 boot:
754 - hd
755 cloud_init_volume_name: iso
756 cloud_init_iface_up: ens3
757 volumes:
758 - name: system
759 capacity: !os_env NODE_VOLUME_SIZE, 150
760 backing_store: mcp_ubuntu_1604_image
761 format: qcow2
762 - name: iso # Volume with name 'iso' will be used
763 # for store image with cloud-init metadata.
764 capacity: 1
765 format: raw
766 device: cdrom
767 bus: ide
768 cloudinit_meta_data: *cloudinit_meta_data
769 cloudinit_user_data: *cloudinit_user_data_1604
770
771 interfaces: *all_interfaces
772 network_config: *all_network_config
773
774 - name: {{ HOSTNAME_SHARE01 }}
775 role: salt_minion
776 params:
777 vcpu: !os_env SLAVE_NODE_CPU, 2
778 memory: !os_env SLAVE_NODE_MEMORY, 4096
779 boot:
780 - hd
781 cloud_init_volume_name: iso
782 cloud_init_iface_up: ens3
783 volumes:
784 - name: system
785 capacity: !os_env NODE_VOLUME_SIZE, 150
786 backing_store: mcp_ubuntu_1604_image
787 format: qcow2
788 - name: iso # Volume with name 'iso' will be used
789 # for store image with cloud-init metadata.
790 capacity: 1
791 format: raw
792 device: cdrom
793 bus: ide
794 cloudinit_meta_data: *cloudinit_meta_data
795 cloudinit_user_data: *cloudinit_user_data_1604
796
797 interfaces: *all_interfaces
798 network_config: *all_network_config
799
800 - name: {{ HOSTNAME_SHARE02 }}
801 role: salt_minion
802 params:
803 vcpu: !os_env SLAVE_NODE_CPU, 2
804 memory: !os_env SLAVE_NODE_MEMORY, 4096
805 boot:
806 - hd
807 cloud_init_volume_name: iso
808 cloud_init_iface_up: ens3
809 volumes:
810 - name: system
811 capacity: !os_env NODE_VOLUME_SIZE, 150
812 backing_store: mcp_ubuntu_1604_image
813 format: qcow2
814 - name: iso # Volume with name 'iso' will be used
815 # for store image with cloud-init metadata.
816 capacity: 1
817 format: raw
818 device: cdrom
819 bus: ide
820 cloudinit_meta_data: *cloudinit_meta_data
821 cloudinit_user_data: *cloudinit_user_data_1604
822
823 interfaces: *all_interfaces
824 network_config: *all_network_config
825
826 - name: {{ HOSTNAME_SHARE03 }}
827 role: salt_minion
828 params:
829 vcpu: !os_env SLAVE_NODE_CPU, 2
830 memory: !os_env SLAVE_NODE_MEMORY, 4096
831 boot:
832 - hd
833 cloud_init_volume_name: iso
834 cloud_init_iface_up: ens3
835 volumes:
836 - name: system
837 capacity: !os_env NODE_VOLUME_SIZE, 150
838 backing_store: mcp_ubuntu_1604_image
839 format: qcow2
840 - name: iso # Volume with name 'iso' will be used
841 # for store image with cloud-init metadata.
842 capacity: 1
843 format: raw
844 device: cdrom
845 bus: ide
846 cloudinit_meta_data: *cloudinit_meta_data
847 cloudinit_user_data: *cloudinit_user_data_1604
848
849 interfaces: *all_interfaces
sgudz5baf84b2018-10-22 12:17:59 +0300850 network_config: *all_network_config