blob: 95ffa3354233be519e8d9d18699e4342a86e1375 [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) %}
37{% set HOSTNAME_SHARE02 = os_env('HOSTNAME_SHARE01', 'share02.' + DOMAIN_NAME) %}
38{% set HOSTNAME_SHARE03 = os_env('HOSTNAME_SHARE01', '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
103 default_{{ HOSTNAME_SHARE03 }}: +711
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
277 - name: cinder
278 capacity: 50
279 format: qcow2
280 - name: iso # Volume with name 'iso' will be used
281 # for store image with cloud-init metadata.
282 capacity: 1
283 format: raw
284 device: cdrom
285 bus: ide
286 cloudinit_meta_data: *cloudinit_meta_data
287 cloudinit_user_data: *cloudinit_user_data_1604
288
289 interfaces: &interfaces
290 - label: ens3
291 l2_network_device: admin
292 interface_model: *interface_model
293 - label: ens4
294 l2_network_device: private
295 interface_model: *interface_model
296 network_config: &network_config
297 ens3:
298 networks:
299 - admin
300 ens4:
301 networks:
302 - private
303
304 - name: {{ HOSTNAME_CTL02 }}
305 role: salt_minion
306 params:
307 vcpu: !os_env SLAVE_NODE_CPU, 2
308 memory: !os_env SLAVE_NODE_MEMORY, 16384
309 boot:
310 - hd
311 cloud_init_volume_name: iso
312 cloud_init_iface_up: ens3
313 volumes:
314 - name: system
315 capacity: !os_env NODE_VOLUME_SIZE, 150
316 backing_store: mcp_ubuntu_1604_image
317 format: qcow2
318 - name: cinder
319 capacity: 50
320 format: qcow2
321 - name: iso # Volume with name 'iso' will be used
322 # for store image with cloud-init metadata.
323 capacity: 1
324 format: raw
325 device: cdrom
326 bus: ide
327 cloudinit_meta_data: *cloudinit_meta_data
328 cloudinit_user_data: *cloudinit_user_data_1604
329
330 interfaces: *interfaces
331 network_config: *network_config
332
333 - name: {{ HOSTNAME_CTL03 }}
334 role: salt_minion
335 params:
336 vcpu: !os_env SLAVE_NODE_CPU, 2
337 memory: !os_env SLAVE_NODE_MEMORY, 16384
338 boot:
339 - hd
340 cloud_init_volume_name: iso
341 cloud_init_iface_up: ens3
342 volumes:
343 - name: system
344 capacity: !os_env NODE_VOLUME_SIZE, 150
345 backing_store: mcp_ubuntu_1604_image
346 format: qcow2
347 - name: cinder
348 capacity: 50
349 format: qcow2
350 - name: iso # Volume with name 'iso' will be used
351 # for store image with cloud-init metadata.
352 capacity: 1
353 format: raw
354 device: cdrom
355 bus: ide
356 cloudinit_meta_data: *cloudinit_meta_data
357 cloudinit_user_data: *cloudinit_user_data_1604
358
359 interfaces: *interfaces
360 network_config: *network_config
361
362 - name: {{ HOSTNAME_MON01 }}
363 role: salt_minion
364 params:
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200365 vcpu: !os_env SLAVE_NODE_CPU, 2
366 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200367 boot:
368 - hd
369 cloud_init_volume_name: iso
370 cloud_init_iface_up: ens3
371 volumes:
372 - name: system
373 capacity: !os_env NODE_VOLUME_SIZE, 150
374 backing_store: mcp_ubuntu_1604_image
375 format: qcow2
376 - name: iso # Volume with name 'iso' will be used
377 # for store image with cloud-init metadata.
378 capacity: 1
379 format: raw
380 device: cdrom
381 bus: ide
382 cloudinit_meta_data: *cloudinit_meta_data
383 cloudinit_user_data: *cloudinit_user_data_1604
384
385 interfaces: *interfaces
386 network_config: *network_config
387
388 - name: {{ HOSTNAME_MON02 }}
389 role: salt_minion
390 params:
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200391 vcpu: !os_env SLAVE_NODE_CPU, 2
392 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200393 boot:
394 - hd
395 cloud_init_volume_name: iso
396 cloud_init_iface_up: ens3
397 volumes:
398 - name: system
399 capacity: !os_env NODE_VOLUME_SIZE, 150
400 backing_store: mcp_ubuntu_1604_image
401 format: qcow2
402 - name: iso # Volume with name 'iso' will be used
403 # for store image with cloud-init metadata.
404 capacity: 1
405 format: raw
406 device: cdrom
407 bus: ide
408 cloudinit_meta_data: *cloudinit_meta_data
409 cloudinit_user_data: *cloudinit_user_data_1604
410
411 interfaces: *interfaces
412 network_config: *network_config
413
414 - name: {{ HOSTNAME_MON03 }}
415 role: salt_minion
416 params:
Dennis Dmitriev90877b12018-03-21 21:52:51 +0200417 vcpu: !os_env SLAVE_NODE_CPU, 2
418 memory: !os_env SLAVE_NODE_MEMORY, 4096
419 boot:
420 - hd
421 cloud_init_volume_name: iso
422 cloud_init_iface_up: ens3
423 volumes:
424 - name: system
425 capacity: !os_env NODE_VOLUME_SIZE, 150
426 backing_store: mcp_ubuntu_1604_image
427 format: qcow2
428 - name: iso # Volume with name 'iso' will be used
429 # for store image with cloud-init metadata.
430 capacity: 1
431 format: raw
432 device: cdrom
433 bus: ide
434 cloudinit_meta_data: *cloudinit_meta_data
435 cloudinit_user_data: *cloudinit_user_data_1604
436
437 interfaces: *interfaces
438 network_config: *network_config
439
440 - name: {{ HOSTNAME_LOG01 }}
441 role: salt_minion
442 params:
443 vcpu: !os_env SLAVE_NODE_CPU, 2
444 memory: !os_env SLAVE_NODE_MEMORY, 4096
445 boot:
446 - hd
447 cloud_init_volume_name: iso
448 cloud_init_iface_up: ens3
449 volumes:
450 - name: system
451 capacity: !os_env NODE_VOLUME_SIZE, 150
452 backing_store: mcp_ubuntu_1604_image
453 format: qcow2
454 - name: iso # Volume with name 'iso' will be used
455 # for store image with cloud-init metadata.
456 capacity: 1
457 format: raw
458 device: cdrom
459 bus: ide
460 cloudinit_meta_data: *cloudinit_meta_data
461 cloudinit_user_data: *cloudinit_user_data_1604
462
463 interfaces: *interfaces
464 network_config: *network_config
465
466 - name: {{ HOSTNAME_LOG02 }}
467 role: salt_minion
468 params:
469 vcpu: !os_env SLAVE_NODE_CPU, 2
470 memory: !os_env SLAVE_NODE_MEMORY, 4096
471 boot:
472 - hd
473 cloud_init_volume_name: iso
474 cloud_init_iface_up: ens3
475 volumes:
476 - name: system
477 capacity: !os_env NODE_VOLUME_SIZE, 150
478 backing_store: mcp_ubuntu_1604_image
479 format: qcow2
480 - name: iso # Volume with name 'iso' will be used
481 # for store image with cloud-init metadata.
482 capacity: 1
483 format: raw
484 device: cdrom
485 bus: ide
486 cloudinit_meta_data: *cloudinit_meta_data
487 cloudinit_user_data: *cloudinit_user_data_1604
488
489 interfaces: *interfaces
490 network_config: *network_config
491
492 - name: {{ HOSTNAME_LOG03 }}
493 role: salt_minion
494 params:
495 vcpu: !os_env SLAVE_NODE_CPU, 2
496 memory: !os_env SLAVE_NODE_MEMORY, 4096
497 boot:
498 - hd
499 cloud_init_volume_name: iso
500 cloud_init_iface_up: ens3
501 volumes:
502 - name: system
503 capacity: !os_env NODE_VOLUME_SIZE, 150
504 backing_store: mcp_ubuntu_1604_image
505 format: qcow2
506 - name: iso # Volume with name 'iso' will be used
507 # for store image with cloud-init metadata.
508 capacity: 1
509 format: raw
510 device: cdrom
511 bus: ide
512 cloudinit_meta_data: *cloudinit_meta_data
513 cloudinit_user_data: *cloudinit_user_data_1604
514
515 interfaces: *interfaces
516 network_config: *network_config
517
518 - name: {{ HOSTNAME_MTR01 }}
519 role: salt_minion
520 params:
521 vcpu: !os_env SLAVE_NODE_CPU, 2
522 memory: !os_env SLAVE_NODE_MEMORY, 4096
523 boot:
524 - hd
525 cloud_init_volume_name: iso
526 cloud_init_iface_up: ens3
527 volumes:
528 - name: system
529 capacity: !os_env NODE_VOLUME_SIZE, 150
530 backing_store: mcp_ubuntu_1604_image
531 format: qcow2
532 - name: iso # Volume with name 'iso' will be used
533 # for store image with cloud-init metadata.
534 capacity: 1
535 format: raw
536 device: cdrom
537 bus: ide
538 cloudinit_meta_data: *cloudinit_meta_data
539 cloudinit_user_data: *cloudinit_user_data_1604
540
541 interfaces: *interfaces
542 network_config: *network_config
543
544 - name: {{ HOSTNAME_MTR02 }}
545 role: salt_minion
546 params:
547 vcpu: !os_env SLAVE_NODE_CPU, 2
548 memory: !os_env SLAVE_NODE_MEMORY, 4096
549 boot:
550 - hd
551 cloud_init_volume_name: iso
552 cloud_init_iface_up: ens3
553 volumes:
554 - name: system
555 capacity: !os_env NODE_VOLUME_SIZE, 150
556 backing_store: mcp_ubuntu_1604_image
557 format: qcow2
558 - name: iso # Volume with name 'iso' will be used
559 # for store image with cloud-init metadata.
560 capacity: 1
561 format: raw
562 device: cdrom
563 bus: ide
564 cloudinit_meta_data: *cloudinit_meta_data
565 cloudinit_user_data: *cloudinit_user_data_1604
566
567 interfaces: *interfaces
568 network_config: *network_config
569
570 - name: {{ HOSTNAME_MTR03 }}
571 role: salt_minion
572 params:
573 vcpu: !os_env SLAVE_NODE_CPU, 2
574 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev67aea4a2018-03-14 14:20:20 +0200575 boot:
576 - hd
577 cloud_init_volume_name: iso
578 cloud_init_iface_up: ens3
579 volumes:
580 - name: system
581 capacity: !os_env NODE_VOLUME_SIZE, 150
582 backing_store: mcp_ubuntu_1604_image
583 format: qcow2
584 - name: iso # Volume with name 'iso' will be used
585 # for store image with cloud-init metadata.
586 capacity: 1
587 format: raw
588 device: cdrom
589 bus: ide
590 cloudinit_meta_data: *cloudinit_meta_data
591 cloudinit_user_data: *cloudinit_user_data_1604
592
593 interfaces: *interfaces
594 network_config: *network_config
595
596 - name: {{ HOSTNAME_PRX01 }}
597 role: salt_minion
598 params:
599 vcpu: !os_env SLAVE_NODE_CPU, 1
600 memory: !os_env SLAVE_NODE_MEMORY, 2048
601 boot:
602 - hd
603 cloud_init_volume_name: iso
604 cloud_init_iface_up: ens3
605 volumes:
606 - name: system
607 capacity: !os_env NODE_VOLUME_SIZE, 150
608 backing_store: mcp_ubuntu_1604_image
609 format: qcow2
610 - name: cinder
611 capacity: 50
612 format: qcow2
613 - name: iso # Volume with name 'iso' will be used
614 # for store image with cloud-init metadata.
615 capacity: 1
616 format: raw
617 device: cdrom
618 bus: ide
619 cloudinit_meta_data: *cloudinit_meta_data
620 cloudinit_user_data: *cloudinit_user_data_1604
621
622 interfaces: *interfaces
623 network_config: *network_config
624
625 - name: {{ HOSTNAME_CMP01 }}
626 role: salt_minion
627 params:
628 vcpu: !os_env SLAVE_NODE_CPU, 3
629 memory: !os_env SLAVE_NODE_MEMORY, 4096
630 boot:
631 - hd
632 cloud_init_volume_name: iso
633 cloud_init_iface_up: ens3
634 volumes:
635 - name: system
636 capacity: !os_env NODE_VOLUME_SIZE, 150
637 backing_store: cloudimage1604
638 format: qcow2
639 - name: iso # Volume with name 'iso' will be used
640 # for store image with cloud-init metadata.
641 capacity: 1
642 format: raw
643 device: cdrom
644 bus: ide
645 cloudinit_meta_data: *cloudinit_meta_data
646 cloudinit_user_data: *cloudinit_user_data_1604
647
648
649 interfaces: &all_interfaces
650 - label: ens3
651 l2_network_device: admin
652 interface_model: *interface_model
653 - label: ens4
654 l2_network_device: private
655 interface_model: *interface_model
656 - label: ens5
657 l2_network_device: tenant
658 interface_model: *interface_model
659 - label: ens6
660 l2_network_device: external
661 interface_model: *interface_model
662 network_config: &all_network_config
663 ens3:
664 networks:
665 - admin
666 ens4:
667 networks:
668 - private
669 ens5:
670 networks:
671 - tenant
672 ens6:
673 networks:
674 - external
675
676 - name: {{ HOSTNAME_CMP02 }}
677 role: salt_minion
678 params:
679 vcpu: !os_env SLAVE_NODE_CPU, 3
680 memory: !os_env SLAVE_NODE_MEMORY, 4096
681 boot:
682 - hd
683 cloud_init_volume_name: iso
684 cloud_init_iface_up: ens3
685 volumes:
686 - name: system
687 capacity: !os_env NODE_VOLUME_SIZE, 150
688 backing_store: cloudimage1604
689 format: qcow2
690 - 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
856 network_config: *all_network_config