blob: 6bbce0dbb63cd68b9d040909f868bf5b0570d58b [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
Dennis Dmitriev112ffd02018-10-23 12:50:41 +030067 default_{{ HOSTNAME_DNS01 }}: +113
68 default_{{ HOSTNAME_DNS02 }}: +114
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +020069 default_{{ HOSTNAME_PRX01 }}: +121
sgudz9ebd0182018-10-22 16:17:46 +030070 default_{{ HOSTNAME_SHARE01 }}: +204
71 default_{{ HOSTNAME_SHARE02 }}: +205
72 default_{{ HOSTNAME_SHARE03 }}: +206
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
Dennis Dmitriev112ffd02018-10-23 12:50:41 +030098 default_{{ HOSTNAME_DNS01 }}: +113
99 default_{{ HOSTNAME_DNS02 }}: +114
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200100 default_{{ HOSTNAME_PRX01 }}: +121
sgudz9ebd0182018-10-22 16:17:46 +0300101 default_{{ HOSTNAME_SHARE01 }}: +204
102 default_{{ HOSTNAME_SHARE02 }}: +205
103 default_{{ HOSTNAME_SHARE03 }}: +206
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
Dennis Dmitriev112ffd02018-10-23 12:50:41 +0300129 default_{{ HOSTNAME_DNS01 }}: +113
130 default_{{ HOSTNAME_DNS02 }}: +114
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200131 default_{{ HOSTNAME_PRX01 }}: +121
sgudz9ebd0182018-10-22 16:17:46 +0300132 default_{{ HOSTNAME_SHARE01 }}: +204
133 default_{{ HOSTNAME_SHARE02 }}: +205
134 default_{{ HOSTNAME_SHARE03 }}: +206
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
Dennis Dmitriev112ffd02018-10-23 12:50:41 +0300160 default_{{ HOSTNAME_DNS01 }}: +113
161 default_{{ HOSTNAME_DNS02 }}: +114
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200162 default_{{ HOSTNAME_PRX01 }}: +121
sgudz9ebd0182018-10-22 16:17:46 +0300163 default_{{ HOSTNAME_SHARE01 }}: +204
164 default_{{ HOSTNAME_SHARE02 }}: +205
165 default_{{ HOSTNAME_SHARE03 }}: +206
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
Oleksii Butenko0540d9a2018-10-23 11:59:27 +0300630 - name: manila
631 capacity: 20
632 format: qcow2
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200633 - name: iso # Volume with name 'iso' will be used
634 # for store image with cloud-init metadata.
635 capacity: 1
636 format: raw
637 device: cdrom
638 bus: ide
639 cloudinit_meta_data: *cloudinit_meta_data
640 cloudinit_user_data: *cloudinit_user_data_1604
641
642
643 interfaces: &all_interfaces
644 - label: ens3
645 l2_network_device: admin
646 interface_model: *interface_model
647 - label: ens4
648 l2_network_device: private
649 interface_model: *interface_model
650 - label: ens5
651 l2_network_device: tenant
652 interface_model: *interface_model
653 - label: ens6
654 l2_network_device: external
655 interface_model: *interface_model
656 network_config: &all_network_config
657 ens3:
658 networks:
659 - admin
660 ens4:
661 networks:
662 - private
663 ens5:
664 networks:
665 - tenant
666 ens6:
667 networks:
668 - external
669
670 - name: {{ HOSTNAME_CMP02 }}
671 role: salt_minion
672 params:
673 vcpu: !os_env SLAVE_NODE_CPU, 3
674 memory: !os_env SLAVE_NODE_MEMORY, 4096
675 boot:
676 - hd
677 cloud_init_volume_name: iso
678 cloud_init_iface_up: ens3
679 volumes:
680 - name: system
681 capacity: !os_env NODE_VOLUME_SIZE, 150
682 backing_store: cloudimage1604
683 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300684 - name: cinder
685 capacity: 50
686 format: qcow2
Oleksii Butenko0540d9a2018-10-23 11:59:27 +0300687 - name: manila
688 capacity: 20
689 format: qcow2
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200690 - name: iso # Volume with name 'iso' will be used
691 # for store image with cloud-init metadata.
692 capacity: 1
693 format: raw
694 device: cdrom
695 bus: ide
696 cloudinit_meta_data: *cloudinit_meta_data
697 cloudinit_user_data: *cloudinit_user_data_1604
698
699 interfaces: *all_interfaces
700 network_config: *all_network_config
701
702 - name: {{ HOSTNAME_GTW01 }}
703 role: salt_minion
704 params:
705 vcpu: !os_env SLAVE_NODE_CPU, 4
706 memory: !os_env SLAVE_NODE_MEMORY, 4096
707 boot:
708 - hd
709 cloud_init_volume_name: iso
710 cloud_init_iface_up: ens3
711 volumes:
712 - name: system
713 capacity: !os_env NODE_VOLUME_SIZE, 150
714 backing_store: cloudimage1604
715 format: qcow2
716 - name: iso # Volume with name 'iso' will be used
717 # for store image with cloud-init metadata.
718 capacity: 1
719 format: raw
720 device: cdrom
721 bus: ide
722 cloudinit_meta_data: *cloudinit_meta_data
723 cloudinit_user_data: *cloudinit_user_data_1604
724
725 interfaces: *all_interfaces
726 network_config: *all_network_config
Oleksii Butenko7b0f3672018-10-17 09:38:33 +0300727
728 - name: {{ HOSTNAME_DNS01 }}
729 role: salt_minion
730 params:
731 vcpu: !os_env SLAVE_NODE_CPU, 1
732 memory: !os_env SLAVE_NODE_MEMORY, 2048
733 boot:
734 - hd
735 cloud_init_volume_name: iso
736 cloud_init_iface_up: ens3
737 volumes:
738 - name: system
739 capacity: !os_env NODE_VOLUME_SIZE, 150
740 backing_store: mcp_ubuntu_1604_image
741 format: qcow2
742 - name: iso # Volume with name 'iso' will be used
743 # for store image with cloud-init metadata.
744 capacity: 1
745 format: raw
746 device: cdrom
747 bus: ide
748 cloudinit_meta_data: *cloudinit_meta_data
749 cloudinit_user_data: *cloudinit_user_data_1604
750
751 interfaces: *all_interfaces
752 network_config: *all_network_config
753
754 - name: {{ HOSTNAME_DNS02 }}
755 role: salt_minion
756 params:
757 vcpu: !os_env SLAVE_NODE_CPU, 1
758 memory: !os_env SLAVE_NODE_MEMORY, 2048
759 boot:
760 - hd
761 cloud_init_volume_name: iso
762 cloud_init_iface_up: ens3
763 volumes:
764 - name: system
765 capacity: !os_env NODE_VOLUME_SIZE, 150
766 backing_store: mcp_ubuntu_1604_image
767 format: qcow2
768 - name: iso # Volume with name 'iso' will be used
769 # for store image with cloud-init metadata.
770 capacity: 1
771 format: raw
772 device: cdrom
773 bus: ide
774 cloudinit_meta_data: *cloudinit_meta_data
775 cloudinit_user_data: *cloudinit_user_data_1604
776
777 interfaces: *all_interfaces
778 network_config: *all_network_config
779
780 - name: {{ HOSTNAME_SHARE01 }}
781 role: salt_minion
782 params:
783 vcpu: !os_env SLAVE_NODE_CPU, 2
784 memory: !os_env SLAVE_NODE_MEMORY, 4096
785 boot:
786 - hd
787 cloud_init_volume_name: iso
788 cloud_init_iface_up: ens3
789 volumes:
790 - name: system
791 capacity: !os_env NODE_VOLUME_SIZE, 150
792 backing_store: mcp_ubuntu_1604_image
793 format: qcow2
794 - name: iso # Volume with name 'iso' will be used
795 # for store image with cloud-init metadata.
796 capacity: 1
797 format: raw
798 device: cdrom
799 bus: ide
800 cloudinit_meta_data: *cloudinit_meta_data
801 cloudinit_user_data: *cloudinit_user_data_1604
802
803 interfaces: *all_interfaces
804 network_config: *all_network_config
805
806 - name: {{ HOSTNAME_SHARE02 }}
807 role: salt_minion
808 params:
809 vcpu: !os_env SLAVE_NODE_CPU, 2
810 memory: !os_env SLAVE_NODE_MEMORY, 4096
811 boot:
812 - hd
813 cloud_init_volume_name: iso
814 cloud_init_iface_up: ens3
815 volumes:
816 - name: system
817 capacity: !os_env NODE_VOLUME_SIZE, 150
818 backing_store: mcp_ubuntu_1604_image
819 format: qcow2
820 - name: iso # Volume with name 'iso' will be used
821 # for store image with cloud-init metadata.
822 capacity: 1
823 format: raw
824 device: cdrom
825 bus: ide
826 cloudinit_meta_data: *cloudinit_meta_data
827 cloudinit_user_data: *cloudinit_user_data_1604
828
829 interfaces: *all_interfaces
830 network_config: *all_network_config
831
832 - name: {{ HOSTNAME_SHARE03 }}
833 role: salt_minion
834 params:
835 vcpu: !os_env SLAVE_NODE_CPU, 2
836 memory: !os_env SLAVE_NODE_MEMORY, 4096
837 boot:
838 - hd
839 cloud_init_volume_name: iso
840 cloud_init_iface_up: ens3
841 volumes:
842 - name: system
843 capacity: !os_env NODE_VOLUME_SIZE, 150
844 backing_store: mcp_ubuntu_1604_image
845 format: qcow2
846 - name: iso # Volume with name 'iso' will be used
847 # for store image with cloud-init metadata.
848 capacity: 1
849 format: raw
850 device: cdrom
851 bus: ide
852 cloudinit_meta_data: *cloudinit_meta_data
853 cloudinit_user_data: *cloudinit_user_data_1604
854
855 interfaces: *all_interfaces
sgudz5baf84b2018-10-22 12:17:59 +0300856 network_config: *all_network_config