blob: 6a10480ce0309484acc8019c9e9697361e5f5107 [file] [log] [blame]
Dennis Dmitrievb4b5c102017-05-10 17:09:06 +03001# Set the repository suite, one of the: 'nightly', 'testing', 'stable', or any other required
Dennis Dmitriev492813e2017-08-09 15:08:58 +03002{% set REPOSITORY_SUITE = os_env('REPOSITORY_SUITE', 'testing') %}
Dennis Dmitrievb4b5c102017-05-10 17:09:06 +03003
Dennis Dmitrievab83ea42017-05-12 16:52:45 +03004{% import 'virtual-mcp-ocata-dvr/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
5{% import 'virtual-mcp-ocata-dvr/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
6{% import 'virtual-mcp-ocata-dvr/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +03007
Tatyana Leontovich38be41b2017-04-12 14:45:23 +03008---
9aliases:
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +030010 - &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 }}
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030014
Dennis Dmitriev5ec4d572017-09-27 00:47:54 +030015{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'virtual-mcp-ocata-dvr') %}
16{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME) + '.local' %}
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030017{% 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) %}
Tatyana Leontovichd85357d2017-08-02 15:28:37 +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) %}
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030026{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
Dennis Dmitrieva956fe92017-11-17 15:37:52 +020027{% set HOSTNAME_DNS01 = os_env('HOSTNAME_DNS01', 'dns01.' + DOMAIN_NAME) %}
28{% set HOSTNAME_DNS02 = os_env('HOSTNAME_DNS02', 'dns02.' + DOMAIN_NAME) %}
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030029{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
30
31template:
32 devops_settings:
Dennis Dmitrievab83ea42017-05-12 16:52:45 +030033 env_name: {{ os_env('ENV_NAME', 'virtual-mcp-ocata-dvr_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030034
35 address_pools:
36 private-pool01:
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +030037 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030038 params:
39 ip_reserved:
40 gateway: +1
41 l2_network_device: +1
42 default_{{ HOSTNAME_CFG01 }}: +100
43 default_{{ HOSTNAME_CTL01 }}: +101
44 default_{{ HOSTNAME_CTL02 }}: +102
45 default_{{ HOSTNAME_CTL03 }}: +103
46 default_{{ HOSTNAME_CMP01 }}: +105
47 default_{{ HOSTNAME_CMP02 }}: +106
Tatyana Leontovichd85357d2017-08-02 15:28:37 +030048 default_{{ HOSTNAME_MON01 }}: +107
49 default_{{ HOSTNAME_MON02 }}: +108
50 default_{{ HOSTNAME_MON03 }}: +109
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030051 default_{{ HOSTNAME_GTW01 }}: +110
Dennis Dmitrieva956fe92017-11-17 15:37:52 +020052 default_{{ HOSTNAME_DNS01 }}: +111
53 default_{{ HOSTNAME_DNS02 }}: +112
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030054 default_{{ HOSTNAME_PRX01 }}: +121
55 ip_ranges:
56 dhcp: [+90, -10]
57
58 admin-pool01:
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +030059 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030060 params:
61 ip_reserved:
62 gateway: +1
63 l2_network_device: +1
Tatyana Leontoviche0286ed2017-09-12 11:55:06 +030064 default_{{ HOSTNAME_CFG01 }}: +90
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030065 default_{{ HOSTNAME_CTL01 }}: +101
66 default_{{ HOSTNAME_CTL02 }}: +102
67 default_{{ HOSTNAME_CTL03 }}: +103
68 default_{{ HOSTNAME_CMP01 }}: +105
69 default_{{ HOSTNAME_CMP02 }}: +106
Tatyana Leontovichd85357d2017-08-02 15:28:37 +030070 default_{{ HOSTNAME_MON01 }}: +107
71 default_{{ HOSTNAME_MON02 }}: +108
72 default_{{ HOSTNAME_MON03 }}: +109
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030073 default_{{ HOSTNAME_GTW01 }}: +110
Dennis Dmitrieva956fe92017-11-17 15:37:52 +020074 default_{{ HOSTNAME_DNS01 }}: +111
75 default_{{ HOSTNAME_DNS02 }}: +112
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030076 default_{{ HOSTNAME_PRX01 }}: +121
77 ip_ranges:
78 dhcp: [+90, -10]
79
80 tenant-pool01:
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +030081 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030082 params:
83 ip_reserved:
84 gateway: +1
85 l2_network_device: +1
86 default_{{ HOSTNAME_CFG01 }}: +100
87 default_{{ HOSTNAME_CTL01 }}: +101
88 default_{{ HOSTNAME_CTL02 }}: +102
89 default_{{ HOSTNAME_CTL03 }}: +103
90 default_{{ HOSTNAME_CMP01 }}: +105
91 default_{{ HOSTNAME_CMP02 }}: +106
Tatyana Leontovichd85357d2017-08-02 15:28:37 +030092 default_{{ HOSTNAME_MON01 }}: +107
93 default_{{ HOSTNAME_MON02 }}: +108
94 default_{{ HOSTNAME_MON03 }}: +109
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030095 default_{{ HOSTNAME_GTW01 }}: +110
Dennis Dmitrieva956fe92017-11-17 15:37:52 +020096 default_{{ HOSTNAME_DNS01 }}: +111
97 default_{{ HOSTNAME_DNS02 }}: +112
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030098 default_{{ HOSTNAME_PRX01 }}: +121
99 ip_ranges:
100 dhcp: [+10, -10]
101
102 external-pool01:
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300103 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300104 params:
105 ip_reserved:
106 gateway: +1
107 l2_network_device: +1
108 default_{{ HOSTNAME_CFG01 }}: +100
109 default_{{ HOSTNAME_CTL01 }}: +101
110 default_{{ HOSTNAME_CTL02 }}: +102
111 default_{{ HOSTNAME_CTL03 }}: +103
112 default_{{ HOSTNAME_CMP01 }}: +105
113 default_{{ HOSTNAME_CMP02 }}: +106
Tatyana Leontovichd85357d2017-08-02 15:28:37 +0300114 default_{{ HOSTNAME_MON01 }}: +107
115 default_{{ HOSTNAME_MON02 }}: +108
116 default_{{ HOSTNAME_MON03 }}: +109
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300117 default_{{ HOSTNAME_GTW01 }}: +110
Dennis Dmitrieva956fe92017-11-17 15:37:52 +0200118 default_{{ HOSTNAME_DNS01 }}: +111
119 default_{{ HOSTNAME_DNS02 }}: +112
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300120 default_{{ HOSTNAME_PRX01 }}: +121
121 ip_ranges:
122 dhcp: [+10, -10]
123
124
125 groups:
126 - name: default
127 driver:
128 name: devops.driver.libvirt
129 params:
130 connection_string: !os_env CONNECTION_STRING, qemu:///system
131 storage_pool_name: !os_env STORAGE_POOL_NAME, default
132 stp: False
133 hpet: False
134 enable_acpi: true
135 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
Dennis Dmitrievb3fc4242017-07-14 16:01:51 +0300136 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300137
138 network_pools:
139 admin: admin-pool01
140 private: private-pool01
141 tenant: tenant-pool01
142 external: external-pool01
143
144 l2_network_devices:
145 private:
146 address_pool: private-pool01
147 dhcp: true
148
149 admin:
150 address_pool: admin-pool01
151 dhcp: true
152 forward:
153 mode: nat
154
155 tenant:
156 address_pool: tenant-pool01
157 dhcp: true
158
159 external:
160 address_pool: external-pool01
161 dhcp: true
162 forward:
163 mode: nat
164
165
166 group_volumes:
167 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
168 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img or
169 # http://apt.tcpcloud.eu/images/ubuntu-16-04-x64-201608231004.qcow2
170 format: qcow2
171
172 nodes:
173 - name: {{ HOSTNAME_CFG01 }}
174 role: salt_master
175 params:
Dennis Dmitriev5b0e5f32017-07-22 11:30:26 +0300176 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrievb1822792017-10-24 18:22:23 +0300177 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300178 boot:
179 - hd
180 cloud_init_volume_name: iso
181 cloud_init_iface_up: ens3
182 volumes:
183 - name: system
184 capacity: !os_env NODE_VOLUME_SIZE, 150
185 backing_store: cloudimage1604
186 format: qcow2
187 - name: iso # Volume with name 'iso' will be used
188 # for store image with cloud-init metadata.
189 capacity: 1
190 format: raw
191 device: cdrom
192 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300193 cloudinit_meta_data: *cloudinit_meta_data
194 cloudinit_user_data: *cloudinit_user_data_cfg01
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300195
196 interfaces:
197 - label: ens3
198 l2_network_device: admin
199 interface_model: *interface_model
200 - label: ens4
201 l2_network_device: private
202 interface_model: *interface_model
203 network_config:
204 ens3:
205 networks:
206 - admin
207 ens4:
208 networks:
209 - private
210
211 - name: {{ HOSTNAME_CTL01 }}
212 role: salt_minion
213 params:
Dennis Dmitriev5b0e5f32017-07-22 11:30:26 +0300214 vcpu: !os_env SLAVE_NODE_CPU, 2
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300215 memory: !os_env SLAVE_NODE_MEMORY, 8192
216 boot:
217 - hd
218 cloud_init_volume_name: iso
219 cloud_init_iface_up: ens3
220 volumes:
221 - name: system
222 capacity: !os_env NODE_VOLUME_SIZE, 150
223 backing_store: cloudimage1604
224 format: qcow2
225 - name: cinder
226 capacity: 50
227 format: qcow2
228 - name: iso # Volume with name 'iso' will be used
229 # for store image with cloud-init metadata.
230 capacity: 1
231 format: raw
232 device: cdrom
233 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300234 cloudinit_meta_data: *cloudinit_meta_data
235 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300236
237 interfaces: &interfaces
238 - label: ens3
239 l2_network_device: admin
240 interface_model: *interface_model
241 - label: ens4
242 l2_network_device: private
243 interface_model: *interface_model
244 network_config: &network_config
245 ens3:
246 networks:
247 - admin
248 ens4:
249 networks:
250 - private
251
252 - name: {{ HOSTNAME_CTL02 }}
253 role: salt_minion
254 params:
Dennis Dmitriev5b0e5f32017-07-22 11:30:26 +0300255 vcpu: !os_env SLAVE_NODE_CPU, 2
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300256 memory: !os_env SLAVE_NODE_MEMORY, 8192
257 boot:
258 - hd
259 cloud_init_volume_name: iso
260 cloud_init_iface_up: ens3
261 volumes:
262 - name: system
263 capacity: !os_env NODE_VOLUME_SIZE, 150
264 backing_store: cloudimage1604
265 format: qcow2
266 - name: cinder
267 capacity: 50
268 format: qcow2
269 - name: iso # Volume with name 'iso' will be used
270 # for store image with cloud-init metadata.
271 capacity: 1
272 format: raw
273 device: cdrom
274 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300275 cloudinit_meta_data: *cloudinit_meta_data
276 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300277
278 interfaces: *interfaces
279 network_config: *network_config
280
281 - name: {{ HOSTNAME_CTL03 }}
282 role: salt_minion
283 params:
Dennis Dmitriev5b0e5f32017-07-22 11:30:26 +0300284 vcpu: !os_env SLAVE_NODE_CPU, 2
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300285 memory: !os_env SLAVE_NODE_MEMORY, 8192
286 boot:
287 - hd
288 cloud_init_volume_name: iso
289 cloud_init_iface_up: ens3
290 volumes:
291 - name: system
292 capacity: !os_env NODE_VOLUME_SIZE, 150
293 backing_store: cloudimage1604
294 format: qcow2
295 - name: cinder
296 capacity: 50
297 format: qcow2
298 - name: iso # Volume with name 'iso' will be used
299 # for store image with cloud-init metadata.
300 capacity: 1
301 format: raw
302 device: cdrom
303 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300304 cloudinit_meta_data: *cloudinit_meta_data
305 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300306
307 interfaces: *interfaces
308 network_config: *network_config
309
Tatyana Leontovichd85357d2017-08-02 15:28:37 +0300310 - name: {{ HOSTNAME_MON01 }}
311 role: salt_minion
312 params:
313 vcpu: !os_env SLAVE_NODE_CPU, 3
314 memory: !os_env SLAVE_NODE_MEMORY, 2048
315 boot:
316 - hd
317 cloud_init_volume_name: iso
318 cloud_init_iface_up: ens3
319 volumes:
320 - name: system
321 capacity: !os_env NODE_VOLUME_SIZE, 150
322 backing_store: cloudimage1604
323 format: qcow2
324 - name: iso # Volume with name 'iso' will be used
325 # for store image with cloud-init metadata.
326 capacity: 1
327 format: raw
328 device: cdrom
329 bus: ide
Dennis Dmitrieva5f69402017-10-01 11:14:35 +0300330 cloudinit_meta_data: *cloudinit_meta_data
331 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovichd85357d2017-08-02 15:28:37 +0300332
333 interfaces: *interfaces
334 network_config: *network_config
335
336 - name: {{ HOSTNAME_MON02 }}
337 role: salt_minion
338 params:
339 vcpu: !os_env SLAVE_NODE_CPU, 3
340 memory: !os_env SLAVE_NODE_MEMORY, 2048
341 boot:
342 - hd
343 cloud_init_volume_name: iso
344 cloud_init_iface_up: ens3
345 volumes:
346 - name: system
347 capacity: !os_env NODE_VOLUME_SIZE, 150
348 backing_store: cloudimage1604
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
Dennis Dmitrieva5f69402017-10-01 11:14:35 +0300356 cloudinit_meta_data: *cloudinit_meta_data
357 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovichd85357d2017-08-02 15:28:37 +0300358
359 interfaces: *interfaces
360 network_config: *network_config
361
362 - name: {{ HOSTNAME_MON03 }}
363 role: salt_minion
364 params:
365 vcpu: !os_env SLAVE_NODE_CPU, 3
366 memory: !os_env SLAVE_NODE_MEMORY, 2048
367 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: cloudimage1604
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
Dennis Dmitrieva5f69402017-10-01 11:14:35 +0300382 cloudinit_meta_data: *cloudinit_meta_data
383 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovichd85357d2017-08-02 15:28:37 +0300384
385 interfaces: *interfaces
386 network_config: *network_config
387
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300388 - name: {{ HOSTNAME_PRX01 }}
389 role: salt_minion
390 params:
Dennis Dmitriev5b0e5f32017-07-22 11:30:26 +0300391 vcpu: !os_env SLAVE_NODE_CPU, 1
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300392 memory: !os_env SLAVE_NODE_MEMORY, 8192
393 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: cloudimage1604
401 format: qcow2
402 - name: cinder
403 capacity: 50
404 format: qcow2
405 - name: iso # Volume with name 'iso' will be used
406 # for store image with cloud-init metadata.
407 capacity: 1
408 format: raw
409 device: cdrom
410 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300411 cloudinit_meta_data: *cloudinit_meta_data
412 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300413
414 interfaces: *interfaces
415 network_config: *network_config
416
417
418 - name: {{ HOSTNAME_CMP01 }}
419 role: salt_minion
420 params:
Dennis Dmitriev5b0e5f32017-07-22 11:30:26 +0300421 vcpu: !os_env SLAVE_NODE_CPU, 3
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300422 memory: !os_env SLAVE_NODE_MEMORY, 4096
423 boot:
424 - hd
425 cloud_init_volume_name: iso
426 cloud_init_iface_up: ens3
427 volumes:
428 - name: system
429 capacity: !os_env NODE_VOLUME_SIZE, 150
430 backing_store: cloudimage1604
431 format: qcow2
432 - name: iso # Volume with name 'iso' will be used
433 # for store image with cloud-init metadata.
434 capacity: 1
435 format: raw
436 device: cdrom
437 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300438 cloudinit_meta_data: *cloudinit_meta_data
439 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300440
441
442 interfaces: &all_interfaces
443 - label: ens3
444 l2_network_device: admin
445 interface_model: *interface_model
446 - label: ens4
447 l2_network_device: private
448 interface_model: *interface_model
449 - label: ens5
450 l2_network_device: tenant
451 interface_model: *interface_model
452 - label: ens6
453 l2_network_device: external
454 interface_model: *interface_model
455 network_config: &all_network_config
456 ens3:
457 networks:
458 - admin
459 ens4:
460 networks:
461 - private
462 ens5:
463 networks:
464 - tenant
465 ens6:
466 networks:
467 - external
468
469 - name: {{ HOSTNAME_CMP02 }}
470 role: salt_minion
471 params:
Dennis Dmitriev5b0e5f32017-07-22 11:30:26 +0300472 vcpu: !os_env SLAVE_NODE_CPU, 3
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300473 memory: !os_env SLAVE_NODE_MEMORY, 4096
474 boot:
475 - hd
476 cloud_init_volume_name: iso
477 cloud_init_iface_up: ens3
478 volumes:
479 - name: system
480 capacity: !os_env NODE_VOLUME_SIZE, 150
481 backing_store: cloudimage1604
482 format: qcow2
483 - name: iso # Volume with name 'iso' will be used
484 # for store image with cloud-init metadata.
485 capacity: 1
486 format: raw
487 device: cdrom
488 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300489 cloudinit_meta_data: *cloudinit_meta_data
490 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300491
492 interfaces: *all_interfaces
493 network_config: *all_network_config
494
495 - name: {{ HOSTNAME_GTW01 }}
496 role: salt_minion
497 params:
498 vcpu: !os_env SLAVE_NODE_CPU, 1
499 memory: !os_env SLAVE_NODE_MEMORY, 2048
500 boot:
501 - hd
502 cloud_init_volume_name: iso
503 cloud_init_iface_up: ens3
504 volumes:
505 - name: system
506 capacity: !os_env NODE_VOLUME_SIZE, 150
507 backing_store: cloudimage1604
508 format: qcow2
509 - name: iso # Volume with name 'iso' will be used
510 # for store image with cloud-init metadata.
511 capacity: 1
512 format: raw
513 device: cdrom
514 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300515 cloudinit_meta_data: *cloudinit_meta_data
516 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300517
518 interfaces: *all_interfaces
519 network_config: *all_network_config
Dennis Dmitrieva956fe92017-11-17 15:37:52 +0200520
521 - name: {{ HOSTNAME_DNS01 }}
522 role: salt_minion
523 params:
524 vcpu: !os_env SLAVE_NODE_CPU, 1
525 memory: !os_env SLAVE_NODE_MEMORY, 2048
526 boot:
527 - hd
528 cloud_init_volume_name: iso
529 cloud_init_iface_up: ens3
530 volumes:
531 - name: system
532 capacity: !os_env NODE_VOLUME_SIZE, 150
533 backing_store: cloudimage1604
534 format: qcow2
535 - name: iso # Volume with name 'iso' will be used
536 # for store image with cloud-init metadata.
537 capacity: 1
538 format: raw
539 device: cdrom
540 bus: ide
541 cloudinit_meta_data: *cloudinit_meta_data
542 cloudinit_user_data: *cloudinit_user_data_1604
543
544 interfaces: *all_interfaces
545 network_config: *all_network_config
546
547 - name: {{ HOSTNAME_DNS02 }}
548 role: salt_minion
549 params:
550 vcpu: !os_env SLAVE_NODE_CPU, 1
551 memory: !os_env SLAVE_NODE_MEMORY, 2048
552 boot:
553 - hd
554 cloud_init_volume_name: iso
555 cloud_init_iface_up: ens3
556 volumes:
557 - name: system
558 capacity: !os_env NODE_VOLUME_SIZE, 150
559 backing_store: cloudimage1604
560 format: qcow2
561 - name: iso # Volume with name 'iso' will be used
562 # for store image with cloud-init metadata.
563 capacity: 1
564 format: raw
565 device: cdrom
566 bus: ide
567 cloudinit_meta_data: *cloudinit_meta_data
568 cloudinit_user_data: *cloudinit_user_data_1604
569
570 interfaces: *all_interfaces
571 network_config: *all_network_config