blob: a68021f0c17ab3e2f22c122a4e7cb177d4633322 [file] [log] [blame]
Oleksii Butenko7c48def2017-10-03 12:41:05 +03001# Set the repository suite, one of the: 'nightly', 'testing', 'stable', or any other required
2{% set REPOSITORY_SUITE = os_env('REPOSITORY_SUITE', 'testing') %}
Oleksii Butenko7d9671c2017-11-01 17:27:23 +02003{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-bm-mcp-dvr-vxlan') %}
Dennis Dmitriev0048fcd2017-10-21 12:26:48 +03004{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %}
Oleksii Butenko7c48def2017-10-03 12:41:05 +03005{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
6{% set HOSTNAME_KVM01 = os_env('HOSTNAME_KVM01', 'kvm01.' + DOMAIN_NAME) %}
7{% set HOSTNAME_KVM02 = os_env('HOSTNAME_KVM02', 'kvm02.' + DOMAIN_NAME) %}
8{% set HOSTNAME_KVM03 = os_env('HOSTNAME_KVM03', 'kvm03.' + DOMAIN_NAME) %}
9{% set HOSTNAME_CMP001 = os_env('HOSTNAME_CMP001', 'cmp001.' + DOMAIN_NAME) %}
10{% set HOSTNAME_CMP002 = os_env('HOSTNAME_CMP002', 'cmp002.' + DOMAIN_NAME) %}
11{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
Oleksii Butenko7d9671c2017-11-01 17:27:23 +020012{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %}
Oleksii Butenko6e375932018-01-10 17:13:20 +020013{% set HOSTNAME_GTW02 = os_env('HOSTNAME_GTW02', 'gtw02.' + DOMAIN_NAME) %}
Oleksii Butenko7c48def2017-10-03 12:41:05 +030014{% set ETH1_IP_ADDRESS_CFG01 = os_env('ETH1_IP_ADDRESS_CFG01', '172.16.49.2') %}
15{% set ETH0_IP_ADDRESS_KVM01 = os_env('ETH0_IP_ADDRESS_KVM01', '172.16.49.11') %}
16{% set ETH0_IP_ADDRESS_KVM02 = os_env('ETH0_IP_ADDRESS_KVM02', '172.16.49.12') %}
17{% set ETH0_IP_ADDRESS_KVM03 = os_env('ETH0_IP_ADDRESS_KVM03', '172.16.49.13') %}
18{% set ETH0_IP_ADDRESS_CMP001 = os_env('ETH0_IP_ADDRESS_CMP001', '172.16.49.3') %}
19{% set ETH0_IP_ADDRESS_CMP002 = os_env('ETH0_IP_ADDRESS_CMP002', '172.16.49.31') %}
20{% set ETH0_IP_ADDRESS_GTW01 = os_env('ETH0_IP_ADDRESS_GTW01', '172.16.49.5') %}
Oleksii Butenko6e375932018-01-10 17:13:20 +020021{% set ETH0_IP_ADDRESS_GTW02 = os_env('ETH0_IP_ADDRESS_GTW02', '172.16.49.4') %}
Oleksii Butenko7c48def2017-10-03 12:41:05 +030022
Oleksii Butenko7d9671c2017-11-01 17:27:23 +020023{% import 'cookied-bm-mcp-dvr-vxlan/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
24{% import 'cookied-bm-mcp-dvr-vxlan/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
25{% import 'cookied-bm-mcp-dvr-vxlan/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
Oleksii Butenko7c48def2017-10-03 12:41:05 +030026
27---
28aliases:
29 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
30 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
31 - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }}
32 - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }}
33
34template:
35 devops_settings:
36 env_name: {{ os_env('ENV_NAME', LAB_CONFIG_NAME + '_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
37
38 address_pools:
39 admin-pool01:
40 net: {{ os_env('ADMIN_ADDRESS_POOL01', '172.16.49.0/26:26') }}
41 params:
42 ip_reserved:
43 gateway: +62
44 l2_network_device: +61
45 virtual_{{ HOSTNAME_CFG01 }}: {{ ETH1_IP_ADDRESS_CFG01 }}
46 default_{{ HOSTNAME_KVM01 }}: {{ ETH0_IP_ADDRESS_KVM01 }}
47 default_{{ HOSTNAME_KVM02 }}: {{ ETH0_IP_ADDRESS_KVM02 }}
48 default_{{ HOSTNAME_KVM03 }}: {{ ETH0_IP_ADDRESS_KVM03 }}
49 default_{{ HOSTNAME_CMP001 }}: {{ ETH0_IP_ADDRESS_CMP001 }}
50 default_{{ HOSTNAME_CMP002 }}: {{ ETH0_IP_ADDRESS_CMP002 }}
51 default_{{ HOSTNAME_GTW01 }}: {{ ETH0_IP_ADDRESS_GTW01 }}
Oleksii Butenko6e375932018-01-10 17:13:20 +020052 default_{{ HOSTNAME_GTW02 }}: {{ ETH0_IP_ADDRESS_GTW02 }}
Oleksii Butenko7c48def2017-10-03 12:41:05 +030053 ip_ranges:
54 dhcp: [+2, -4]
55 private-pool01:
56 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.167.4.0/24:24') }}
57 params:
58 ip_reserved:
59 gateway: +1
60 l2_network_device: +1
61
62 tenant-pool01:
63 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.167.6.0/24:24') }}
64 params:
65 ip_reserved:
66 gateway: +1
67 l2_network_device: +1
68
69 external-pool01:
70 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '172.17.42.128/26:26') }}
71 params:
72 ip_reserved:
73 gateway: +1
74 l2_network_device: -2
75
76
77 groups:
78 - name: virtual
79 driver:
80 name: devops.driver.libvirt
81 params:
82 connection_string: !os_env CONNECTION_STRING, qemu:///system
83 storage_pool_name: !os_env STORAGE_POOL_NAME, default
84 stp: False
85 hpet: False
86 enable_acpi: true
87 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
88 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
89
90 network_pools:
91 admin: admin-pool01
92
93 l2_network_devices:
94 # Ironic management interface
95 admin:
96 address_pool: admin-pool01
97 dhcp: false
98 parent_iface:
99 phys_dev: !os_env IRONIC_LAB_PXE_IFACE_0
100
101 group_volumes:
102 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200103 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
104 format: qcow2
105 - name: cfg01_day01_image # Pre-configured day01 image
106 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300107 format: qcow2
108
109 nodes:
110 - name: {{ HOSTNAME_CFG01 }}
111 role: salt_master
112 params:
113 vcpu: !os_env SLAVE_NODE_CPU, 4
114 memory: !os_env SLAVE_NODE_MEMORY, 4096
115 boot:
116 - hd
117 cloud_init_volume_name: iso
118 cloud_init_iface_up: ens3
119 volumes:
120 - name: system
121 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200122 backing_store: cfg01_day01_image
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300123 format: qcow2
124 - name: iso # Volume with name 'iso' will be used
125 # for store image with cloud-init metadata.
126 capacity: 1
127 format: raw
128 device: cdrom
129 bus: ide
130 cloudinit_meta_data: *cloudinit_meta_data
131 cloudinit_user_data: *cloudinit_user_data_cfg01
132
133 interfaces:
134 - label: ens3
135 l2_network_device: admin
136 interface_model: *interface_model
137 mac_address: !os_env ETH1_MAC_ADDRESS_CFG01
138 #- label: ens4
139 # l2_network_device: private
140 # interface_model: *interface_model
141 network_config:
142 ens3:
143 networks:
144 - admin
145 #ens4:
146 # networks:
147 # - private
148
149
150 - name: default
151 driver:
152 name: devops_driver_ironic
153 params:
154 os_auth_token: fake-token
155 ironic_url: !os_env IRONIC_URL # URL that will be used by fuel-devops
156 # to access Ironic API
157 # Agent URL that is accessible from deploying node when nodes
158 # are bootstrapped with PXE. Usually PXE/provision network address is used.
159 agent_kernel_url: !os_env IRONIC_AGENT_KERNEL_URL
160 agent_ramdisk_url: !os_env IRONIC_AGENT_RAMDISK_URL
161
162 network_pools:
163 admin: admin-pool01
164
165 nodes:
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300166 - name: {{ HOSTNAME_KVM01 }}
167 role: salt_minion
168 params:
169 ipmi_user: !os_env IPMI_USER
170 ipmi_password: !os_env IPMI_PASSWORD
171 ipmi_previlegies: OPERATOR
172 ipmi_host: !os_env IPMI_HOST_KVM01 # hostname or IP address
173 ipmi_lan_interface: lanplus
174 ipmi_port: 623
175
176 root_volume_name: system # see 'volumes' below
177 cloud_init_volume_name: iso # see 'volumes' below
Oleksii Butenko6e375932018-01-10 17:13:20 +0200178 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300179 volumes:
180 - name: system
181 capacity: !os_env NODE_VOLUME_SIZE, 200
182
183 # The same as for agent URL, here is an URL to the image that should be
184 # used for deploy the node. It should also be accessible from deploying
185 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
186 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
187 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
188
189 - name: iso # Volume with name 'iso' will be used
190 # for store image with cloud-init metadata.
191
192 cloudinit_meta_data: *cloudinit_meta_data
193 cloudinit_user_data: *cloudinit_user_data_1604
194
195 interfaces:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200196 - label: enp9s0f0
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300197 l2_network_device: admin
198 mac_address: !os_env ETH0_MAC_ADDRESS_KVM01
Oleksii Butenko6e375932018-01-10 17:13:20 +0200199 - label: enp9s0f1
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300200 mac_address: !os_env ETH1_MAC_ADDRESS_KVM01
201
202 network_config:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200203 enp9s0f0:
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300204 networks:
205 - admin
206 bond0:
207 networks:
208 - control
209 aggregation: active-backup
210 parents:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200211 - enp9s0f1
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300212
213 - name: {{ HOSTNAME_KVM02 }}
214 role: salt_minion
215 params:
216 ipmi_user: !os_env IPMI_USER
217 ipmi_password: !os_env IPMI_PASSWORD
218 ipmi_previlegies: OPERATOR
219 ipmi_host: !os_env IPMI_HOST_KVM02 # hostname or IP address
220 ipmi_lan_interface: lanplus
221 ipmi_port: 623
222
223 root_volume_name: system # see 'volumes' below
224 cloud_init_volume_name: iso # see 'volumes' below
Oleksii Butenko6e375932018-01-10 17:13:20 +0200225 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300226 volumes:
227 - name: system
228 capacity: !os_env NODE_VOLUME_SIZE, 200
229
230 # The same as for agent URL, here is an URL to the image that should be
231 # used for deploy the node. It should also be accessible from deploying
232 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
233 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
234 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
235
236 - name: iso # Volume with name 'iso' will be used
237 # for store image with cloud-init metadata.
238
239 cloudinit_meta_data: *cloudinit_meta_data
240 cloudinit_user_data: *cloudinit_user_data_1604
241
242 interfaces:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200243 - label: enp9s0f0
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300244 l2_network_device: admin
245 mac_address: !os_env ETH0_MAC_ADDRESS_KVM02
Oleksii Butenko6e375932018-01-10 17:13:20 +0200246 - label: enp9s0f1
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300247 mac_address: !os_env ETH1_MAC_ADDRESS_KVM02
248
249 network_config:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200250 enp9s0f0:
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300251 networks:
252 - admin
253 bond0:
254 networks:
255 - control
256 aggregation: active-backup
257 parents:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200258 - enp9s0f1
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300259
260 - name: {{ HOSTNAME_KVM03 }}
261 role: salt_minion
262 params:
263 ipmi_user: !os_env IPMI_USER
264 ipmi_password: !os_env IPMI_PASSWORD
265 ipmi_previlegies: OPERATOR
266 ipmi_host: !os_env IPMI_HOST_KVM03 # hostname or IP address
267 ipmi_lan_interface: lanplus
268 ipmi_port: 623
269
270 root_volume_name: system # see 'volumes' below
271 cloud_init_volume_name: iso # see 'volumes' below
Oleksii Butenko6e375932018-01-10 17:13:20 +0200272 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300273 volumes:
274 - name: system
275 capacity: !os_env NODE_VOLUME_SIZE, 200
276
277 # The same as for agent URL, here is an URL to the image that should be
278 # used for deploy the node. It should also be accessible from deploying
279 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
280 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
281 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
282
283 - name: iso # Volume with name 'iso' will be used
284 # for store image with cloud-init metadata.
285
286 cloudinit_meta_data: *cloudinit_meta_data
287 cloudinit_user_data: *cloudinit_user_data_1604
288
289 interfaces:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200290 - label: enp9s0f0
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300291 l2_network_device: admin
292 mac_address: !os_env ETH0_MAC_ADDRESS_KVM03
Oleksii Butenko6e375932018-01-10 17:13:20 +0200293 - label: enp9s0f1
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300294 mac_address: !os_env ETH1_MAC_ADDRESS_KVM03
295
296 network_config:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200297 enp9s0f0:
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300298 networks:
299 - admin
300 bond0:
301 networks:
302 - control
303 aggregation: active-backup
304 parents:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200305 - enp9s0f1
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300306
307
308 - name: {{ HOSTNAME_CMP001 }}
309 role: salt_minion
310 params:
311 ipmi_user: !os_env IPMI_USER
312 ipmi_password: !os_env IPMI_PASSWORD
313 ipmi_previlegies: OPERATOR
314 ipmi_host: !os_env IPMI_HOST_CMP001 # hostname or IP address
315 ipmi_lan_interface: lanplus
316 ipmi_port: 623
317
318 root_volume_name: system # see 'volumes' below
319 cloud_init_volume_name: iso # see 'volumes' below
Oleksii Butenko6e375932018-01-10 17:13:20 +0200320 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300321 volumes:
322 - name: system
323 capacity: !os_env NODE_VOLUME_SIZE, 200
324
325 # The same as for agent URL, here is an URL to the image that should be
326 # used for deploy the node. It should also be accessible from deploying
327 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
328 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
329 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
330
331 - name: iso # Volume with name 'iso' will be used
332 # for store image with cloud-init metadata.
333
334 cloudinit_meta_data: *cloudinit_meta_data
335 cloudinit_user_data: *cloudinit_user_data_1604
336
337 interfaces:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200338 - label: enp9s0f0
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300339 l2_network_device: admin
340 mac_address: !os_env ETH0_MAC_ADDRESS_CMP001
Oleksii Butenko6e375932018-01-10 17:13:20 +0200341 - label: enp9s0f1
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300342 mac_address: !os_env ETH1_MAC_ADDRESS_CMP001
Oleksii Butenko6e375932018-01-10 17:13:20 +0200343# - label: enp9s0f0
344# mac_address: !os_env ETH2_MAC_ADDRESS_CMP001
345# - label: enp5s0f1
346# mac_address: !os_env ETH3_MAC_ADDRESS_CMP001
347# - label: enp5s0f2
348# mac_address: !os_env ETH4_MAC_ADDRESS_CMP001
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300349
350 network_config:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200351 enp9s0f0:
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300352 networks:
353 - admin
354 bond0:
355 networks:
356 - control
357 aggregation: active-backup
358 parents:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200359 - enp9s0f0
360 - enp9s0f1
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300361
362
363
364 - name: {{ HOSTNAME_CMP002 }}
365 role: salt_minion
366 params:
367 ipmi_user: !os_env IPMI_USER
368 ipmi_password: !os_env IPMI_PASSWORD
369 ipmi_previlegies: OPERATOR
370 ipmi_host: !os_env IPMI_HOST_CMP002 # hostname or IP address
371 ipmi_lan_interface: lanplus
372 ipmi_port: 623
373
374 root_volume_name: system # see 'volumes' below
375 cloud_init_volume_name: iso # see 'volumes' below
Oleksii Butenko6e375932018-01-10 17:13:20 +0200376 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300377 volumes:
378 - name: system
379 capacity: !os_env NODE_VOLUME_SIZE, 200
380
381 # The same as for agent URL, here is an URL to the image that should be
382 # used for deploy the node. It should also be accessible from deploying
383 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
384 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
385 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
386
387 - name: iso # Volume with name 'iso' will be used
388 # for store image with cloud-init metadata.
389
390 cloudinit_meta_data: *cloudinit_meta_data
391 cloudinit_user_data: *cloudinit_user_data_1604
392
393 interfaces:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200394 - label: enp9s0f0
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300395 l2_network_device: admin
396 mac_address: !os_env ETH0_MAC_ADDRESS_CMP002
Oleksii Butenko6e375932018-01-10 17:13:20 +0200397 - label: enp9s0f1
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300398 mac_address: !os_env ETH1_MAC_ADDRESS_CMP002
Oleksii Butenko6e375932018-01-10 17:13:20 +0200399# - label: eth3
400# mac_address: !os_env ETH2_MAC_ADDRESS_CMP002
401# - label: eth2
402# mac_address: !os_env ETH3_MAC_ADDRESS_CMP002
403# - label: eth4
404# mac_address: !os_env ETH4_MAC_ADDRESS_CMP002
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300405 network_config:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200406 enp9s0f0:
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300407 networks:
408 - admin
409 bond0:
410 networks:
411 - control
412 aggregation: active-backup
413 parents:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200414 - enp9s0f0
415 - enp9s0f1
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300416
417
418 - name: {{ HOSTNAME_GTW01 }}
419 role: salt_minion
420 params:
421 ipmi_user: !os_env IPMI_USER
422 ipmi_password: !os_env IPMI_PASSWORD
423 ipmi_previlegies: OPERATOR
424 ipmi_host: !os_env IPMI_HOST_GTW01 # hostname or IP address
425 ipmi_lan_interface: lanplus
426 ipmi_port: 623
427
428 root_volume_name: system # see 'volumes' below
429 cloud_init_volume_name: iso # see 'volumes' below
Oleksii Butenko6e375932018-01-10 17:13:20 +0200430 cloud_init_iface_up: enp2s0f0 # see 'interfaces' below.
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300431 volumes:
432 - name: system
433 capacity: !os_env NODE_VOLUME_SIZE, 200
434
435 # The same as for agent URL, here is an URL to the image that should be
436 # used for deploy the node. It should also be accessible from deploying
437 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
438 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
439 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
440
441 - name: iso # Volume with name 'iso' will be used
442 # for store image with cloud-init metadata.
443
444 cloudinit_meta_data: *cloudinit_meta_data
445 cloudinit_user_data: *cloudinit_user_data_1604
446
447 interfaces:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200448 - label: enp2s0f0
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300449 l2_network_device: admin
450 mac_address: !os_env ETH0_MAC_ADDRESS_GTW01
Oleksii Butenko6e375932018-01-10 17:13:20 +0200451 - label: enp2s0f1
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300452 mac_address: !os_env ETH1_MAC_ADDRESS_GTW01
453
454 network_config:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200455 enp2s0f0:
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300456 networks:
457 - admin
458 bond0:
459 networks:
460 - control
461 aggregation: active-backup
462 parents:
Oleksii Butenko6e375932018-01-10 17:13:20 +0200463 - enp2s0f1
Oleksii Butenko7c48def2017-10-03 12:41:05 +0300464
Oleksii Butenko6e375932018-01-10 17:13:20 +0200465 - name: {{ HOSTNAME_GTW02 }}
466 role: salt_minion
467 params:
468 ipmi_user: !os_env IPMI_USER
469 ipmi_password: !os_env IPMI_PASSWORD
470 ipmi_previlegies: OPERATOR
471 ipmi_host: !os_env IPMI_HOST_GTW02 # hostname or IP address
472 ipmi_lan_interface: lanplus
473 ipmi_port: 623
474
475 root_volume_name: system # see 'volumes' below
476 cloud_init_volume_name: iso # see 'volumes' below
477 cloud_init_iface_up: enp2s0f0 # see 'interfaces' below.
478 volumes:
479 - name: system
480 capacity: !os_env NODE_VOLUME_SIZE, 200
481
482 # The same as for agent URL, here is an URL to the image that should be
483 # used for deploy the node. It should also be accessible from deploying
484 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
485 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
486 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
487
488 - name: iso # Volume with name 'iso' will be used
489 # for store image with cloud-init metadata.
490
491 cloudinit_meta_data: *cloudinit_meta_data
492 cloudinit_user_data: *cloudinit_user_data_1604
493
494 interfaces:
495 - label: enp2s0f0
496 l2_network_device: admin
497 mac_address: !os_env ETH0_MAC_ADDRESS_GTW02
498 - label: enp2s0f1
499 mac_address: !os_env ETH1_MAC_ADDRESS_GTW02
500
501 network_config:
502 enp2s0f0:
503 networks:
504 - admin
505 bond0:
506 networks:
507 - control
508 aggregation: active-backup
509 parents:
510 - enp2s0f1