blob: 209b9dc3fa0bda167f245c1182c55e2b00dd4e2b [file] [log] [blame]
disc5298382016-11-23 16:03:33 +02001---
2aliases:
3 dynamic_addresses_pool:
4 - &pool_default !os_env POOL_DEFAULT, 172.16.10.0/24:24
5
6 default_interface_model:
7 - &interface_model !os_env INTERFACE_MODEL, virtio
8
9template:
10 devops_settings:
11 env_name: !os_env ENV_NAME, tcpcloud-mk22
12
13 address_pools:
14 admin-pool01:
15 net: 172.16.10.0/24:24
16 params:
17 ip_reserved:
18 gateway: +1
19 l2_network_device: +1
20 default_cfg01.mk22-qa-lab01.local: +100
21 default_ctl01.mk22-qa-lab01.local: +101
22 default_ctl02.mk22-qa-lab01.local: +102
23 default_ctl03.mk22-qa-lab01.local: +103
24 default_prx01.mk22-qa-lab01.local: +121
25 default_cmp01.mk22-qa-lab01.local: +105
26 default_cmp02.mk22-qa-lab01.local: +106
27 default_mon01.mk22-qa-lab01.local: +107
28 default_gtw01.mk22-qa-lab01.local: +131
29 default_dbs01.mk22-qa-lab01.local: +181
30 default_dbs02.mk22-qa-lab01.local: +182
31 default_dbs03.mk22-qa-lab01.local: +183
32 default_vsrx01.mk22-qa-lab01.local: +250
33 ip_ranges:
34 dhcp: [+100, -2]
35
36 private-pool01:
37 net: 192.168.10.0/24:24
38 params:
39 ip_reserved:
40 gateway: +1
41 l2_network_device: +1
42 default_cfg01.mk22-qa-lab01.local: +100
43 default_ctl01.mk22-qa-lab01.local: +101
44 default_ctl02.mk22-qa-lab01.local: +102
45 default_ctl03.mk22-qa-lab01.local: +103
46 default_prx01.mk22-qa-lab01.local: +121
47 default_cmp01.mk22-qa-lab01.local: +105
48 default_cmp02.mk22-qa-lab01.local: +106
49 default_gtw01.mk22-qa-lab01.local: +131
50 default_dbs01.mk22-qa-lab01.local: +181
51 default_dbs02.mk22-qa-lab01.local: +182
52 default_dbs03.mk22-qa-lab01.local: +183
53 default_vsrx01.mk22-qa-lab01.local: +250
54 ip_ranges:
55 dhcp: [+100, -2]
56
57 public-pool01:
58 net: 10.100.1.0/24:24
59 params:
60 ip_reserved:
61 gateway: +1
62 l2_network_device: +1
63 default_vsrx01.mk22-qa-lab01.local: +250
64
65 groups:
66 - name: default
67 driver:
68 name: devops.driver.libvirt
69 params:
70 connection_string: !os_env CONNECTION_STRING, qemu:///system
71 storage_pool_name: !os_env STORAGE_POOL_NAME, default
72 stp: False
73 hpet: False
74 enable_acpi: true
75 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
76
77 network_pools:
78 admin: admin-pool01
79 private: private-pool01
80
81 l2_network_devices:
82 admin:
83 address_pool: admin-pool01
84 dhcp: true
85# forward:
86# mode: nat
87
88 private:
89 address_pool: private-pool01
90 dhcp: true
91 forward:
92 mode: nat
93
94 public:
95 address_pool: public-pool01
96 forward:
97 mode: nat
98
99 group_volumes:
100 - name: cloudimage1404 # This name is used for 'backing_store' option for node volumes.
101 source_image: !os_env IMAGE_PATH1404 # https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img or
102 # http://apt.tcpcloud.eu/images/ubuntu-14-04-x64-201608231134.qcow2
103 format: qcow2
104 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
105 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img or
106 # http://apt.tcpcloud.eu/images/ubuntu-16-04-x64-201608231004.qcow2
107 format: qcow2
108
109 - name: vsrx_image # This name is used for 'backing_store' option for node volumes.
110 source_image: !os_env VSRX_PATH
111 format: qcow2
112
113 nodes:
114 - name: cfg01.mk22-qa-lab01.local
115 role: salt_master
116 params:
117 vcpu: !os_env SLAVE_NODE_CPU, 4
118 memory: !os_env SLAVE_NODE_MEMORY, 2048
119 boot:
120 - hd
121 cloud_init_volume_name: iso
122 cloud_init_iface_up: ens3
123 volumes:
124 - name: system
125 capacity: !os_env NODE_VOLUME_SIZE, 150
126 backing_store: cloudimage1604
127 format: qcow2
128 - name: iso # Volume with name 'iso' will be used
129 # for store image with cloud-init metadata.
130 capacity: 1
131 format: raw
132 device: cdrom
133 bus: ide
134 cloudinit_meta_data: !include mk22-qa-lab01--meta-data.yaml
135 cloudinit_user_data: !include mk22-qa-lab01--user-data-cfg01.yaml
136
137 interfaces:
138 - label: ens3
139 l2_network_device: private
140 interface_model: *interface_model
141 - label: ens4
142 l2_network_device: admin
143 interface_model: *interface_model
144 network_config:
145 ens3:
146 networks:
147 - private
148 ens4:
149 networks:
150 - admin
151
152 - name: ctl01.mk22-qa-lab01.local
153 role: salt_minion
154 params:
155 vcpu: !os_env SLAVE_NODE_CPU, 4
disaa378902016-11-24 11:49:03 +0200156 memory: !os_env SLAVE_NODE_MEMORY, 12286
disc5298382016-11-23 16:03:33 +0200157 boot:
158 - hd
159 cloud_init_volume_name: iso
160 cloud_init_iface_up: eth0
161 volumes:
162 - name: system
163 capacity: !os_env NODE_VOLUME_SIZE, 150
164 backing_store: cloudimage1404
165 format: qcow2
166 - name: iso # Volume with name 'iso' will be used
167 # for store image with cloud-init metadata.
168 capacity: 1
169 format: raw
170 device: cdrom
171 bus: ide
172 cloudinit_meta_data: !include mk22-qa-lab01--meta-data.yaml
173 cloudinit_user_data: !include mk22-qa-lab01--user-data1404.yaml
174
175 interfaces: &interfaces
176 - label: eth0
177 l2_network_device: private
178 interface_model: *interface_model
179 - label: eth1
180 l2_network_device: admin
181 interface_model: *interface_model
182 network_config: &network_config
183 eth0:
184 networks:
185 - private
186 eth1:
187 networks:
188 - admin
189
190 - name: ctl02.mk22-qa-lab01.local
191 role: salt_minion
192 params:
193 vcpu: !os_env SLAVE_NODE_CPU, 4
disaa378902016-11-24 11:49:03 +0200194 memory: !os_env SLAVE_NODE_MEMORY, 12286
disc5298382016-11-23 16:03:33 +0200195 boot:
196 - hd
197 cloud_init_volume_name: iso
198 cloud_init_iface_up: eth0
199 volumes:
200 - name: system
201 capacity: !os_env NODE_VOLUME_SIZE, 150
202 backing_store: cloudimage1404
203 format: qcow2
204 - name: iso # Volume with name 'iso' will be used
205 # for store image with cloud-init metadata.
206 capacity: 1
207 format: raw
208 device: cdrom
209 bus: ide
210 cloudinit_meta_data: !include mk22-qa-lab01--meta-data.yaml
211 cloudinit_user_data: !include mk22-qa-lab01--user-data1404.yaml
212
213 interfaces: *interfaces
214 network_config: *network_config
215
216 - name: ctl03.mk22-qa-lab01.local
217 role: salt_minion
218 params:
219 vcpu: !os_env SLAVE_NODE_CPU, 4
disaa378902016-11-24 11:49:03 +0200220 memory: !os_env SLAVE_NODE_MEMORY, 12286
disc5298382016-11-23 16:03:33 +0200221 boot:
222 - hd
223 cloud_init_volume_name: iso
224 cloud_init_iface_up: eth0
225 volumes:
226 - name: system
227 capacity: !os_env NODE_VOLUME_SIZE, 150
228 backing_store: cloudimage1404
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
236 cloudinit_meta_data: !include mk22-qa-lab01--meta-data.yaml
237 cloudinit_user_data: !include mk22-qa-lab01--user-data1404.yaml
238
239 interfaces: *interfaces
240 network_config: *network_config
241
242 - name: cmp01.mk22-qa-lab01.local
243 role: salt_minion
244 params:
245 vcpu: !os_env SLAVE_NODE_CPU, 4
246 memory: !os_env SLAVE_NODE_MEMORY, 2048
247 boot:
248 - hd
249 cloud_init_volume_name: iso
250 cloud_init_iface_up: eth0
251 volumes:
252 - name: system
253 capacity: !os_env NODE_VOLUME_SIZE, 150
254 backing_store: cloudimage1404
255 format: qcow2
256 - name: iso # Volume with name 'iso' will be used
257 # for store image with cloud-init metadata.
258 capacity: 1
259 format: raw
260 device: cdrom
261 bus: ide
262 cloudinit_meta_data: !include mk22-qa-lab01--meta-data.yaml
263 cloudinit_user_data: !include mk22-qa-lab01--user-data1404.yaml
264
265 interfaces: *interfaces
266 network_config: *network_config
267
268 - name: cmp02.mk22-qa-lab01.local
269 role: salt_minion
270 params:
271 vcpu: !os_env SLAVE_NODE_CPU, 4
272 memory: !os_env SLAVE_NODE_MEMORY, 2048
273 boot:
274 - hd
275 cloud_init_volume_name: iso
276 cloud_init_iface_up: eth0
277 volumes:
278 - name: system
279 capacity: !os_env NODE_VOLUME_SIZE, 150
280 backing_store: cloudimage1404
281 format: qcow2
282 - name: iso # Volume with name 'iso' will be used
283 # for store image with cloud-init metadata.
284 capacity: 1
285 format: raw
286 device: cdrom
287 bus: ide
288 cloudinit_meta_data: !include mk22-qa-lab01--meta-data.yaml
289 cloudinit_user_data: !include mk22-qa-lab01--user-data1404.yaml
290
291 interfaces: *interfaces
292 network_config: *network_config
293
294 - name: prx01.mk22-qa-lab01.local
295 role: salt_minion
296 params:
297 vcpu: !os_env SLAVE_NODE_CPU, 1
298 memory: !os_env SLAVE_NODE_MEMORY, 1024
299 boot:
300 - hd
301 cloud_init_volume_name: iso
302 cloud_init_iface_up: eth0
303 volumes:
304 - name: system
305 capacity: !os_env NODE_VOLUME_SIZE, 150
306 backing_store: cloudimage1404
307 format: qcow2
308 - name: iso # Volume with name 'iso' will be used
309 # for store image with cloud-init metadata.
310 capacity: 1
311 format: raw
312 device: cdrom
313 bus: ide
314 cloudinit_meta_data: !include mk22-qa-lab01--meta-data.yaml
315 cloudinit_user_data: !include mk22-qa-lab01--user-data1404.yaml
316
317 interfaces: *interfaces
318 network_config: *network_config
319
320 - name: dbs01.mk22-qa-lab01.local
321 role: salt_minion
322 params:
323 vcpu: !os_env SLAVE_NODE_CPU, 2
324 memory: !os_env SLAVE_NODE_MEMORY, 2048
325 boot:
326 - hd
327 cloud_init_volume_name: iso
328 cloud_init_iface_up: eth0
329 volumes:
330 - name: system
331 capacity: !os_env NODE_VOLUME_SIZE, 150
332 backing_store: cloudimage1404
333 format: qcow2
334 - name: iso # Volume with name 'iso' will be used
335 # for store image with cloud-init metadata.
336 capacity: 1
337 format: raw
338 device: cdrom
339 bus: ide
340 cloudinit_meta_data: !include mk22-qa-lab01--meta-data.yaml
341 cloudinit_user_data: !include mk22-qa-lab01--user-data1404.yaml
342
343 interfaces: *interfaces
344 network_config: *network_config
345
346 - name: dbs02.mk22-qa-lab01.local
347 role: salt_minion
348 params:
349 vcpu: !os_env SLAVE_NODE_CPU, 2
350 memory: !os_env SLAVE_NODE_MEMORY, 2048
351 boot:
352 - hd
353 cloud_init_volume_name: iso
354 cloud_init_iface_up: eth0
355 volumes:
356 - name: system
357 capacity: !os_env NODE_VOLUME_SIZE, 150
358 backing_store: cloudimage1404
359 format: qcow2
360 - name: iso # Volume with name 'iso' will be used
361 # for store image with cloud-init metadata.
362 capacity: 1
363 format: raw
364 device: cdrom
365 bus: ide
366 cloudinit_meta_data: !include mk22-qa-lab01--meta-data.yaml
367 cloudinit_user_data: !include mk22-qa-lab01--user-data1404.yaml
368
369 interfaces: *interfaces
370 network_config: *network_config
371
372 - name: dbs03.mk22-qa-lab01.local
373 role: salt_minion
374 params:
375 vcpu: !os_env SLAVE_NODE_CPU, 2
376 memory: !os_env SLAVE_NODE_MEMORY, 2048
377 boot:
378 - hd
379 cloud_init_volume_name: iso
380 cloud_init_iface_up: eth0
381 volumes:
382 - name: system
383 capacity: !os_env NODE_VOLUME_SIZE, 150
384 backing_store: cloudimage1404
385 format: qcow2
386 - name: iso # Volume with name 'iso' will be used
387 # for store image with cloud-init metadata.
388 capacity: 1
389 format: raw
390 device: cdrom
391 bus: ide
392 cloudinit_meta_data: !include mk22-qa-lab01--meta-data.yaml
393 cloudinit_user_data: !include mk22-qa-lab01--user-data1404.yaml
394
395 interfaces: *interfaces
396 network_config: *network_config
397
398
399# - name: gtw01.mk22-qa-lab01.local
400# role: salt_minion
401# params:
402# vcpu: !os_env SLAVE_NODE_CPU, 1
403# memory: !os_env SLAVE_NODE_MEMORY, 2048
404# boot:
405# - hd
406# cloud_init_volume_name: iso
407# cloud_init_iface_up: eth0
408# volumes:
409# - name: system
410# capacity: !os_env NODE_VOLUME_SIZE, 150
411# backing_store: cloudimage1404
412# format: qcow2
413# - name: iso # Volume with name 'iso' will be used
414# # for store image with cloud-init metadata.
415# capacity: 1
416# format: raw
417# device: cdrom
418# bus: ide
419# cloudinit_meta_data: !include mk22-qa-lab01--meta-data.yaml
420# cloudinit_user_data: !include mk22-qa-lab01--user-data1404.yaml
421# interfaces: *interfaces
422# network_config: *network_config
423
424 - name: vsrx01.mk22-qa-lab01.local
425 role: vsrx
426 params:
427 vcpu: !os_env SLAVE_NODE_CPU, 2
428 memory: !os_env SLAVE_NODE_MEMORY, 2048
429 boot:
430 - hd
431 volumes:
432 - name: system
433 capacity: !os_env NODE_VOLUME_SIZE, 150
434 backing_store: vsrx_image
435 format: qcow2
436 interfaces:
437 - label: eth0
438 l2_network_device: public
439 interface_model: virtio
440 mac_address: 52:54:00:4e:b4:36
441 - label: eth1
Yevgeniyebd4ce42016-12-28 13:16:23 +0200442 l2_network_device: admin
disc5298382016-11-23 16:03:33 +0200443 interface_model: virtio
444 mac_address: 52:54:00:e1:44:9d
445 network_config:
446 eth0:
447 networks:
448 - public
449 eth1:
450 networks:
Yevgeniyebd4ce42016-12-28 13:16:23 +0200451 - admin