blob: 0b22a7593070b3094b3fae20d39645d8b3c3ea99 [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.
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200168 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
169 format: qcow2
170 - name: cfg01_day01_image # Pre-configured day01 image
171 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300172 format: qcow2
173
174 nodes:
175 - name: {{ HOSTNAME_CFG01 }}
176 role: salt_master
177 params:
Dennis Dmitriev5b0e5f32017-07-22 11:30:26 +0300178 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrievb1822792017-10-24 18:22:23 +0300179 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300180 boot:
181 - hd
182 cloud_init_volume_name: iso
183 cloud_init_iface_up: ens3
184 volumes:
185 - name: system
186 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200187 backing_store: cfg01_day01_image
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300188 format: qcow2
189 - name: iso # Volume with name 'iso' will be used
190 # for store image with cloud-init metadata.
191 capacity: 1
192 format: raw
193 device: cdrom
194 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300195 cloudinit_meta_data: *cloudinit_meta_data
196 cloudinit_user_data: *cloudinit_user_data_cfg01
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300197
198 interfaces:
199 - label: ens3
200 l2_network_device: admin
201 interface_model: *interface_model
202 - label: ens4
203 l2_network_device: private
204 interface_model: *interface_model
205 network_config:
206 ens3:
207 networks:
208 - admin
209 ens4:
210 networks:
211 - private
212
213 - name: {{ HOSTNAME_CTL01 }}
214 role: salt_minion
215 params:
Dennis Dmitriev5b0e5f32017-07-22 11:30:26 +0300216 vcpu: !os_env SLAVE_NODE_CPU, 2
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300217 memory: !os_env SLAVE_NODE_MEMORY, 8192
218 boot:
219 - hd
220 cloud_init_volume_name: iso
221 cloud_init_iface_up: ens3
222 volumes:
223 - name: system
224 capacity: !os_env NODE_VOLUME_SIZE, 150
225 backing_store: cloudimage1604
226 format: qcow2
227 - name: cinder
228 capacity: 50
229 format: qcow2
230 - name: iso # Volume with name 'iso' will be used
231 # for store image with cloud-init metadata.
232 capacity: 1
233 format: raw
234 device: cdrom
235 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300236 cloudinit_meta_data: *cloudinit_meta_data
237 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300238
239 interfaces: &interfaces
240 - label: ens3
241 l2_network_device: admin
242 interface_model: *interface_model
243 - label: ens4
244 l2_network_device: private
245 interface_model: *interface_model
246 network_config: &network_config
247 ens3:
248 networks:
249 - admin
250 ens4:
251 networks:
252 - private
253
254 - name: {{ HOSTNAME_CTL02 }}
255 role: salt_minion
256 params:
Dennis Dmitriev5b0e5f32017-07-22 11:30:26 +0300257 vcpu: !os_env SLAVE_NODE_CPU, 2
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300258 memory: !os_env SLAVE_NODE_MEMORY, 8192
259 boot:
260 - hd
261 cloud_init_volume_name: iso
262 cloud_init_iface_up: ens3
263 volumes:
264 - name: system
265 capacity: !os_env NODE_VOLUME_SIZE, 150
266 backing_store: cloudimage1604
267 format: qcow2
268 - name: cinder
269 capacity: 50
270 format: qcow2
271 - name: iso # Volume with name 'iso' will be used
272 # for store image with cloud-init metadata.
273 capacity: 1
274 format: raw
275 device: cdrom
276 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300277 cloudinit_meta_data: *cloudinit_meta_data
278 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300279
280 interfaces: *interfaces
281 network_config: *network_config
282
283 - name: {{ HOSTNAME_CTL03 }}
284 role: salt_minion
285 params:
Dennis Dmitriev5b0e5f32017-07-22 11:30:26 +0300286 vcpu: !os_env SLAVE_NODE_CPU, 2
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300287 memory: !os_env SLAVE_NODE_MEMORY, 8192
288 boot:
289 - hd
290 cloud_init_volume_name: iso
291 cloud_init_iface_up: ens3
292 volumes:
293 - name: system
294 capacity: !os_env NODE_VOLUME_SIZE, 150
295 backing_store: cloudimage1604
296 format: qcow2
297 - name: cinder
298 capacity: 50
299 format: qcow2
300 - name: iso # Volume with name 'iso' will be used
301 # for store image with cloud-init metadata.
302 capacity: 1
303 format: raw
304 device: cdrom
305 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300306 cloudinit_meta_data: *cloudinit_meta_data
307 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300308
309 interfaces: *interfaces
310 network_config: *network_config
311
Tatyana Leontovichd85357d2017-08-02 15:28:37 +0300312 - name: {{ HOSTNAME_MON01 }}
313 role: salt_minion
314 params:
315 vcpu: !os_env SLAVE_NODE_CPU, 3
316 memory: !os_env SLAVE_NODE_MEMORY, 2048
317 boot:
318 - hd
319 cloud_init_volume_name: iso
320 cloud_init_iface_up: ens3
321 volumes:
322 - name: system
323 capacity: !os_env NODE_VOLUME_SIZE, 150
324 backing_store: cloudimage1604
325 format: qcow2
326 - name: iso # Volume with name 'iso' will be used
327 # for store image with cloud-init metadata.
328 capacity: 1
329 format: raw
330 device: cdrom
331 bus: ide
Dennis Dmitrieva5f69402017-10-01 11:14:35 +0300332 cloudinit_meta_data: *cloudinit_meta_data
333 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovichd85357d2017-08-02 15:28:37 +0300334
335 interfaces: *interfaces
336 network_config: *network_config
337
338 - name: {{ HOSTNAME_MON02 }}
339 role: salt_minion
340 params:
341 vcpu: !os_env SLAVE_NODE_CPU, 3
342 memory: !os_env SLAVE_NODE_MEMORY, 2048
343 boot:
344 - hd
345 cloud_init_volume_name: iso
346 cloud_init_iface_up: ens3
347 volumes:
348 - name: system
349 capacity: !os_env NODE_VOLUME_SIZE, 150
350 backing_store: cloudimage1604
351 format: qcow2
352 - name: iso # Volume with name 'iso' will be used
353 # for store image with cloud-init metadata.
354 capacity: 1
355 format: raw
356 device: cdrom
357 bus: ide
Dennis Dmitrieva5f69402017-10-01 11:14:35 +0300358 cloudinit_meta_data: *cloudinit_meta_data
359 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovichd85357d2017-08-02 15:28:37 +0300360
361 interfaces: *interfaces
362 network_config: *network_config
363
364 - name: {{ HOSTNAME_MON03 }}
365 role: salt_minion
366 params:
367 vcpu: !os_env SLAVE_NODE_CPU, 3
368 memory: !os_env SLAVE_NODE_MEMORY, 2048
369 boot:
370 - hd
371 cloud_init_volume_name: iso
372 cloud_init_iface_up: ens3
373 volumes:
374 - name: system
375 capacity: !os_env NODE_VOLUME_SIZE, 150
376 backing_store: cloudimage1604
377 format: qcow2
378 - name: iso # Volume with name 'iso' will be used
379 # for store image with cloud-init metadata.
380 capacity: 1
381 format: raw
382 device: cdrom
383 bus: ide
Dennis Dmitrieva5f69402017-10-01 11:14:35 +0300384 cloudinit_meta_data: *cloudinit_meta_data
385 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovichd85357d2017-08-02 15:28:37 +0300386
387 interfaces: *interfaces
388 network_config: *network_config
389
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300390 - name: {{ HOSTNAME_PRX01 }}
391 role: salt_minion
392 params:
Dennis Dmitriev5b0e5f32017-07-22 11:30:26 +0300393 vcpu: !os_env SLAVE_NODE_CPU, 1
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300394 memory: !os_env SLAVE_NODE_MEMORY, 8192
395 boot:
396 - hd
397 cloud_init_volume_name: iso
398 cloud_init_iface_up: ens3
399 volumes:
400 - name: system
401 capacity: !os_env NODE_VOLUME_SIZE, 150
402 backing_store: cloudimage1604
403 format: qcow2
404 - name: cinder
405 capacity: 50
406 format: qcow2
407 - name: iso # Volume with name 'iso' will be used
408 # for store image with cloud-init metadata.
409 capacity: 1
410 format: raw
411 device: cdrom
412 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300413 cloudinit_meta_data: *cloudinit_meta_data
414 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300415
416 interfaces: *interfaces
417 network_config: *network_config
418
419
420 - name: {{ HOSTNAME_CMP01 }}
421 role: salt_minion
422 params:
Dennis Dmitriev5b0e5f32017-07-22 11:30:26 +0300423 vcpu: !os_env SLAVE_NODE_CPU, 3
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300424 memory: !os_env SLAVE_NODE_MEMORY, 4096
425 boot:
426 - hd
427 cloud_init_volume_name: iso
428 cloud_init_iface_up: ens3
429 volumes:
430 - name: system
431 capacity: !os_env NODE_VOLUME_SIZE, 150
432 backing_store: cloudimage1604
433 format: qcow2
434 - name: iso # Volume with name 'iso' will be used
435 # for store image with cloud-init metadata.
436 capacity: 1
437 format: raw
438 device: cdrom
439 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300440 cloudinit_meta_data: *cloudinit_meta_data
441 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300442
443
444 interfaces: &all_interfaces
445 - label: ens3
446 l2_network_device: admin
447 interface_model: *interface_model
448 - label: ens4
449 l2_network_device: private
450 interface_model: *interface_model
451 - label: ens5
452 l2_network_device: tenant
453 interface_model: *interface_model
454 - label: ens6
455 l2_network_device: external
456 interface_model: *interface_model
457 network_config: &all_network_config
458 ens3:
459 networks:
460 - admin
461 ens4:
462 networks:
463 - private
464 ens5:
465 networks:
466 - tenant
467 ens6:
468 networks:
469 - external
470
471 - name: {{ HOSTNAME_CMP02 }}
472 role: salt_minion
473 params:
Dennis Dmitriev5b0e5f32017-07-22 11:30:26 +0300474 vcpu: !os_env SLAVE_NODE_CPU, 3
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300475 memory: !os_env SLAVE_NODE_MEMORY, 4096
476 boot:
477 - hd
478 cloud_init_volume_name: iso
479 cloud_init_iface_up: ens3
480 volumes:
481 - name: system
482 capacity: !os_env NODE_VOLUME_SIZE, 150
483 backing_store: cloudimage1604
484 format: qcow2
485 - name: iso # Volume with name 'iso' will be used
486 # for store image with cloud-init metadata.
487 capacity: 1
488 format: raw
489 device: cdrom
490 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300491 cloudinit_meta_data: *cloudinit_meta_data
492 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300493
494 interfaces: *all_interfaces
495 network_config: *all_network_config
496
497 - name: {{ HOSTNAME_GTW01 }}
498 role: salt_minion
499 params:
500 vcpu: !os_env SLAVE_NODE_CPU, 1
501 memory: !os_env SLAVE_NODE_MEMORY, 2048
502 boot:
503 - hd
504 cloud_init_volume_name: iso
505 cloud_init_iface_up: ens3
506 volumes:
507 - name: system
508 capacity: !os_env NODE_VOLUME_SIZE, 150
509 backing_store: cloudimage1604
510 format: qcow2
511 - name: iso # Volume with name 'iso' will be used
512 # for store image with cloud-init metadata.
513 capacity: 1
514 format: raw
515 device: cdrom
516 bus: ide
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +0300517 cloudinit_meta_data: *cloudinit_meta_data
518 cloudinit_user_data: *cloudinit_user_data_1604
Tatyana Leontovich38be41b2017-04-12 14:45:23 +0300519
520 interfaces: *all_interfaces
521 network_config: *all_network_config
Dennis Dmitrieva956fe92017-11-17 15:37:52 +0200522
523 - name: {{ HOSTNAME_DNS01 }}
524 role: salt_minion
525 params:
526 vcpu: !os_env SLAVE_NODE_CPU, 1
527 memory: !os_env SLAVE_NODE_MEMORY, 2048
528 boot:
529 - hd
530 cloud_init_volume_name: iso
531 cloud_init_iface_up: ens3
532 volumes:
533 - name: system
534 capacity: !os_env NODE_VOLUME_SIZE, 150
535 backing_store: cloudimage1604
536 format: qcow2
537 - name: iso # Volume with name 'iso' will be used
538 # for store image with cloud-init metadata.
539 capacity: 1
540 format: raw
541 device: cdrom
542 bus: ide
543 cloudinit_meta_data: *cloudinit_meta_data
544 cloudinit_user_data: *cloudinit_user_data_1604
545
546 interfaces: *all_interfaces
547 network_config: *all_network_config
548
549 - name: {{ HOSTNAME_DNS02 }}
550 role: salt_minion
551 params:
552 vcpu: !os_env SLAVE_NODE_CPU, 1
553 memory: !os_env SLAVE_NODE_MEMORY, 2048
554 boot:
555 - hd
556 cloud_init_volume_name: iso
557 cloud_init_iface_up: ens3
558 volumes:
559 - name: system
560 capacity: !os_env NODE_VOLUME_SIZE, 150
561 backing_store: cloudimage1604
562 format: qcow2
563 - name: iso # Volume with name 'iso' will be used
564 # for store image with cloud-init metadata.
565 capacity: 1
566 format: raw
567 device: cdrom
568 bus: ide
569 cloudinit_meta_data: *cloudinit_meta_data
570 cloudinit_user_data: *cloudinit_user_data_1604
571
572 interfaces: *all_interfaces
573 network_config: *all_network_config