blob: 3de4ae9c16578d9388a8c5c5f8350e2a6f2ded7f [file] [log] [blame]
sgudz8c888ec2017-10-02 15:29:23 +03001# Set the repository suite, one of the: 'nightly', 'testing', 'stable', or any other required
2{% set REPOSITORY_SUITE = os_env('REPOSITORY_SUITE', 'testing') %}
sgudz468b08a2018-07-16 12:55:33 +03003{% set CUSTOM_VCP_TRUSTY_IMAGE_URL = os_env('CUSTOM_VCP_TRUSTY_IMAGE_URL', '') %}
4{% set CUSTOM_VCP_XENIAL_IMAGE_URL = os_env('CUSTOM_VCP_XENIAL_IMAGE_URL', '') %}
sgudz8c888ec2017-10-02 15:29:23 +03005
Tatyana Leontovich4453dd62018-06-26 18:44:31 +03006#{# set DOMAIN_NAME = os_env('LAB_CONFIG_NAME', 'physical_mcp11_ovs_dpdk') + '.local' #}
sgudz8c888ec2017-10-02 15:29:23 +03007{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-bm-mcp-ocata-contrail') %}
Dennis Dmitriev0048fcd2017-10-21 12:26:48 +03008{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %}
sgudz8c888ec2017-10-02 15:29:23 +03009{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
10{% set HOSTNAME_KVM01 = os_env('HOSTNAME_KVM01', 'kvm01.' + DOMAIN_NAME) %}
11{% set HOSTNAME_KVM02 = os_env('HOSTNAME_KVM02', 'kvm02.' + DOMAIN_NAME) %}
12{% set HOSTNAME_KVM03 = os_env('HOSTNAME_KVM03', 'kvm03.' + DOMAIN_NAME) %}
13{% set HOSTNAME_CMP001 = os_env('HOSTNAME_CMP001', 'cmp001.' + DOMAIN_NAME) %}
14{% set HOSTNAME_CMP002 = os_env('HOSTNAME_CMP002', 'cmp002.' + DOMAIN_NAME) %}
Tatyana Leontovich4453dd62018-06-26 18:44:31 +030015# {# set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) #}
16# {# set HOSTNAME_GTW02 = os_env('HOSTNAME_GTW02', 'gtw02.' + DOMAIN_NAME) #}
abaraniukc4130bc2018-11-15 14:51:10 +020017{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %}
sgudz8c888ec2017-10-02 15:29:23 +030018
19{% set ETH1_IP_ADDRESS_CFG01 = os_env('ETH1_IP_ADDRESS_CFG01', '172.16.49.66') %}
20{% set ETH0_IP_ADDRESS_KVM01 = os_env('ETH0_IP_ADDRESS_KVM01', '172.16.49.67') %}
21{% set ETH0_IP_ADDRESS_KVM02 = os_env('ETH0_IP_ADDRESS_KVM02', '172.16.49.68') %}
22{% set ETH0_IP_ADDRESS_KVM03 = os_env('ETH0_IP_ADDRESS_KVM03', '172.16.49.69') %}
sgudzb3f5fe42018-02-06 17:06:53 +020023{% set ETH0_IP_ADDRESS_CMP001 = os_env('ETH0_IP_ADDRESS_CMP001', '172.16.49.73') %}
sgudz8c888ec2017-10-02 15:29:23 +030024{% set ETH0_IP_ADDRESS_CMP002 = os_env('ETH0_IP_ADDRESS_CMP002', '172.16.49.74') %}
Tatyana Leontovich4453dd62018-06-26 18:44:31 +030025# {# set ETH0_IP_ADDRESS_CMP003 = os_env('ETH0_IP_ADDRESS_CMP003', '172.16.167.140') #}
26# {# set ETH0_IP_ADDRESS_GTW01 = os_env('ETH0_IP_ADDRESS_GTW01', '172.16.49.5') #}
27# {# set ETH0_IP_ADDRESS_GTW02 = os_env('ETH0_IP_ADDRESS_GTW02', '172.16.49.4') #}
sgudz8c888ec2017-10-02 15:29:23 +030028
29{% import 'cookied-bm-mcp-ocata-contrail/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
30{% import 'cookied-bm-mcp-ocata-contrail/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
31{% import 'cookied-bm-mcp-ocata-contrail/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA with context %}
Dennis Dmitriev8ed27882018-01-31 23:23:19 +020032{% import 'cookied-bm-mcp-ocata-contrail/underlay--user-data1604-hwe.yaml' as CLOUDINIT_USER_DATA_HWE with context %}
sgudz8c888ec2017-10-02 15:29:23 +030033
34---
35aliases:
36 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
37 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
38 - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }}
39 - &cloudinit_user_data {{ CLOUDINIT_USER_DATA }}
Dennis Dmitriev8ed27882018-01-31 23:23:19 +020040 - &cloudinit_user_data_hwe {{ CLOUDINIT_USER_DATA_HWE }}
sgudz8c888ec2017-10-02 15:29:23 +030041
42
43template:
44 devops_settings:
45 env_name: {{ os_env('ENV_NAME', 'cookied-bm-mcp-ocata-contrail_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
46
47 address_pools:
48 admin-pool01:
49 net: {{ os_env('ADMIN_ADDRESS_POOL01', '172.16.49.64/26:26') }}
50 params:
51 ip_reserved:
52 gateway: +62
53 l2_network_device: +61
54 default_{{ HOSTNAME_CFG01 }}: {{ ETH1_IP_ADDRESS_CFG01 }}
55 default_{{ HOSTNAME_KVM01 }}: {{ ETH0_IP_ADDRESS_KVM01 }}
56 default_{{ HOSTNAME_KVM02 }}: {{ ETH0_IP_ADDRESS_KVM02 }}
57 default_{{ HOSTNAME_KVM03 }}: {{ ETH0_IP_ADDRESS_KVM03 }}
58 default_{{ HOSTNAME_CMP001 }}: {{ ETH0_IP_ADDRESS_CMP001 }}
59 default_{{ HOSTNAME_CMP002 }}: {{ ETH0_IP_ADDRESS_CMP002 }}
60 default_{{ HOSTNAME_CMP003 }}: {{ ETH0_IP_ADDRESS_CMP003 }}
61 # default_{{ HOSTNAME_GTW01 }}: {{ ETH0_IP_ADDRESS_GTW01 }}
62 # default_{{ HOSTNAME_GTW02 }}: {{ ETH0_IP_ADDRESS_GTW02 }}
63 virtual_{{ HOSTNAME_CFG01 }}: {{ ETH1_IP_ADDRESS_CFG01 }}
64 virtual_{{ HOSTNAME_KVM01 }}: {{ ETH0_IP_ADDRESS_KVM01 }}
65 virtual_{{ HOSTNAME_KVM02 }}: {{ ETH0_IP_ADDRESS_KVM02 }}
66 virtual_{{ HOSTNAME_KVM03 }}: {{ ETH0_IP_ADDRESS_KVM03 }}
67 virtual_{{ HOSTNAME_CMP001 }}: {{ ETH0_IP_ADDRESS_CMP001 }}
68 virtual_{{ HOSTNAME_CMP002 }}: {{ ETH0_IP_ADDRESS_CMP002 }}
69 # virtual_{{ HOSTNAME_CMP003 }}: {{ ETH0_IP_ADDRESS_CMP003 }}
70 # virtual_{{ HOSTNAME_GTW01 }}: {{ ETH0_IP_ADDRESS_GTW01 }}
71 # virtual_{{ HOSTNAME_GTW02 }}: {{ ETH0_IP_ADDRESS_GTW02 }}
72 #ip_ranges:
73 # dhcp: [+2, -4]
74 private-pool01:
75 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.167.8.0/24:24') }}
76 params:
77 ip_reserved:
78 gateway: +1
79 l2_network_device: +1
80
81 tenant-pool01:
82 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.167.10.0/24:24') }}
83 params:
84 ip_reserved:
85 gateway: +1
86 l2_network_device: +1
87
88 external-pool01:
89 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '172.17.42.192/26:26') }}
90 params:
91 ip_reserved:
92 gateway: +1
93 l2_network_device: -2
94
95 groups:
96
97 - name: virtual
98 driver:
99 name: devops.driver.libvirt
100 params:
101 connection_string: !os_env CONNECTION_STRING, qemu:///system
102 storage_pool_name: !os_env STORAGE_POOL_NAME, default
103 stp: False
104 hpet: False
105 enable_acpi: true
106 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
107
108 network_pools:
109 admin: admin-pool01
110
111 l2_network_devices:
112 # Ironic management interface
113 admin:
114 address_pool: admin-pool01
115 dhcp: false
116 parent_iface:
117 phys_dev: !os_env IRONIC_LAB_PXE_IFACE_0
118
119 group_volumes:
120 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200121 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
122 format: qcow2
123 - name: cfg01_day01_image # Pre-configured day01 image
124 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
sgudz8c888ec2017-10-02 15:29:23 +0300125 format: qcow2
126
127 nodes:
128 - name: {{ HOSTNAME_CFG01 }}
129 role: salt_master
130 params:
131 vcpu: !os_env SLAVE_NODE_CPU, 4
Dennis Dmitriev75e250f2018-02-26 17:13:59 +0200132 memory: !os_env SLAVE_NODE_MEMORY, 8192
sgudz8c888ec2017-10-02 15:29:23 +0300133 boot:
134 - hd
135 cloud_init_volume_name: iso
136 cloud_init_iface_up: ens3
137 volumes:
138 - name: system
139 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200140 backing_store: cfg01_day01_image
sgudz8c888ec2017-10-02 15:29:23 +0300141 format: qcow2
142 - name: iso # Volume with name 'iso' will be used
143 # for store image with cloud-init metadata.
144 capacity: 1
145 format: raw
146 device: cdrom
147 bus: ide
148 cloudinit_meta_data: *cloudinit_meta_data
149 cloudinit_user_data: *cloudinit_user_data_cfg01
150
151 interfaces:
152 - label: ens3
153 l2_network_device: admin
154 interface_model: *interface_model
155 mac_address: !os_env ETH1_MAC_ADDRESS_CFG01
156 #- label: ens4
157 # l2_network_device: private
158 # interface_model: *interface_model
159 network_config:
160 ens3:
161 networks:
162 - admin
163 #ens4:
164 # networks:
165 # - private
166
167
168 - name: default
169 driver:
170 name: devops_driver_ironic
171 params:
172 os_auth_token: fake-token
173 ironic_url: !os_env IRONIC_URL # URL that will be used by fuel-devops
174 # to access Ironic API
175 # Agent URL that is accessible from deploying node when nodes
176 # are bootstrapped with PXE. Usually PXE/provision network address is used.
177 agent_kernel_url: !os_env IRONIC_AGENT_KERNEL_URL
178 agent_ramdisk_url: !os_env IRONIC_AGENT_RAMDISK_URL
179
180 network_pools:
181 admin: admin-pool01
182
183 nodes:
184
185 # - name: {{ HOSTNAME_CFG01 }}
186 # role: salt_master
187 # params:
188 # ipmi_user: !os_env IPMI_USER
189 # ipmi_password: !os_env IPMI_PASSWORD
190 # ipmi_previlegies: OPERATOR
191 # ipmi_host: !os_env IPMI_HOST_CFG01 # hostname or IP address
192 # ipmi_lan_interface: lanplus
193 # ipmi_port: 623
194
195 # root_volume_name: system # see 'volumes' below
196 # cloud_init_volume_name: iso # see 'volumes' below
197 # cloud_init_iface_up: enp3s0f1 # see 'interfaces' below.
198 # volumes:
199 # - name: system
200 # capacity: !os_env NODE_VOLUME_SIZE, 200
201
202 # # The same as for agent URL, here is an URL to the image that should be
203 # # used for deploy the node. It should also be accessible from deploying
204 # # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
205 # source_image: !os_env IRONIC_SOURCE_IMAGE_URL
206 # source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
207
208 # - name: iso # Volume with name 'iso' will be used
209 # # for store image with cloud-init metadata.
210
211 # cloudinit_meta_data: *cloudinit_meta_data
212 # cloudinit_user_data: *cloudinit_user_data_cfg01
213
214 # interfaces:
215 # - label: enp3s0f0 # Infra interface
216 # mac_address: !os_env ETH0_MAC_ADDRESS_CFG01
217 # - label: enp3s0f1
218 # l2_network_device: admin
219 # mac_address: !os_env ETH1_MAC_ADDRESS_CFG01
220
221 # network_config:
222 # enp3s0f0:
223 # networks:
224 # - infra
225 # enp3s0f1:
226 # networks:
227 # - admin
228
229 - name: {{ HOSTNAME_KVM01 }}
230 role: salt_minion
231 params:
232 ipmi_user: !os_env IPMI_USER
233 ipmi_password: !os_env IPMI_PASSWORD
234 ipmi_previlegies: OPERATOR
235 ipmi_host: !os_env IPMI_HOST_KVM01 # hostname or IP address
236 ipmi_lan_interface: lanplus
237 ipmi_port: 623
238
239 root_volume_name: system # see 'volumes' below
240 cloud_init_volume_name: iso # see 'volumes' below
sgudzb3f5fe42018-02-06 17:06:53 +0200241 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
sgudz8c888ec2017-10-02 15:29:23 +0300242 volumes:
243 - name: system
244 capacity: !os_env NODE_VOLUME_SIZE, 200
245
246 # The same as for agent URL, here is an URL to the image that should be
247 # used for deploy the node. It should also be accessible from deploying
248 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
249 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
250 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
251
252 - name: iso # Volume with name 'iso' will be used
253 # for store image with cloud-init metadata.
254
255 cloudinit_meta_data: *cloudinit_meta_data
256 cloudinit_user_data: *cloudinit_user_data
257
258 interfaces:
sgudzb3f5fe42018-02-06 17:06:53 +0200259 - label: enp9s0f0
sgudz8c888ec2017-10-02 15:29:23 +0300260 l2_network_device: admin
261 mac_address: !os_env ETH0_MAC_ADDRESS_KVM01
sgudzb3f5fe42018-02-06 17:06:53 +0200262 - label: enp9s0f1
sgudz8c888ec2017-10-02 15:29:23 +0300263 mac_address: !os_env ETH1_MAC_ADDRESS_KVM01
264
265 network_config:
sgudzb3f5fe42018-02-06 17:06:53 +0200266 enp9s0f0:
sgudz8c888ec2017-10-02 15:29:23 +0300267 networks:
268 - admin
269 bond0:
270 networks:
271 - control
272 aggregation: active-backup
273 parents:
sgudzb3f5fe42018-02-06 17:06:53 +0200274 - enp9s0f1
sgudz8c888ec2017-10-02 15:29:23 +0300275
276 - name: {{ HOSTNAME_KVM02 }}
277 role: salt_minion
278 params:
279 ipmi_user: !os_env IPMI_USER
280 ipmi_password: !os_env IPMI_PASSWORD
281 ipmi_previlegies: OPERATOR
282 ipmi_host: !os_env IPMI_HOST_KVM02 # hostname or IP address
283 ipmi_lan_interface: lanplus
284 ipmi_port: 623
285
286 root_volume_name: system # see 'volumes' below
287 cloud_init_volume_name: iso # see 'volumes' below
sgudzb3f5fe42018-02-06 17:06:53 +0200288 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
sgudz8c888ec2017-10-02 15:29:23 +0300289 volumes:
290 - name: system
291 capacity: !os_env NODE_VOLUME_SIZE, 200
292
293 # The same as for agent URL, here is an URL to the image that should be
294 # used for deploy the node. It should also be accessible from deploying
295 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
296 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
297 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
298
299 - name: iso # Volume with name 'iso' will be used
300 # for store image with cloud-init metadata.
301
302 cloudinit_meta_data: *cloudinit_meta_data
303 cloudinit_user_data: *cloudinit_user_data
304
305 interfaces:
sgudzb3f5fe42018-02-06 17:06:53 +0200306 - label: enp9s0f0
sgudz8c888ec2017-10-02 15:29:23 +0300307 l2_network_device: admin
308 mac_address: !os_env ETH0_MAC_ADDRESS_KVM02
sgudzb3f5fe42018-02-06 17:06:53 +0200309 - label: enp9s0f1
sgudz8c888ec2017-10-02 15:29:23 +0300310 mac_address: !os_env ETH1_MAC_ADDRESS_KVM02
311
312 network_config:
sgudzb3f5fe42018-02-06 17:06:53 +0200313 enp9s0f0:
sgudz8c888ec2017-10-02 15:29:23 +0300314 networks:
315 - admin
316 bond0:
317 networks:
318 - control
319 aggregation: active-backup
320 parents:
sgudzb3f5fe42018-02-06 17:06:53 +0200321 - enp9s0f1
sgudz8c888ec2017-10-02 15:29:23 +0300322
323 - name: {{ HOSTNAME_KVM03 }}
324 role: salt_minion
325 params:
326 ipmi_user: !os_env IPMI_USER
327 ipmi_password: !os_env IPMI_PASSWORD
328 ipmi_previlegies: OPERATOR
329 ipmi_host: !os_env IPMI_HOST_KVM03 # hostname or IP address
330 ipmi_lan_interface: lanplus
331 ipmi_port: 623
332
333 root_volume_name: system # see 'volumes' below
334 cloud_init_volume_name: iso # see 'volumes' below
335 # cloud_init_iface_up: eno1 # see 'interfaces' below.
sgudzb3f5fe42018-02-06 17:06:53 +0200336 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
sgudz8c888ec2017-10-02 15:29:23 +0300337 volumes:
338 - name: system
339 capacity: !os_env NODE_VOLUME_SIZE, 200
340
341 # The same as for agent URL, here is an URL to the image that should be
342 # used for deploy the node. It should also be accessible from deploying
343 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
344 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
345 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
346
347 - name: iso # Volume with name 'iso' will be used
348 # for store image with cloud-init metadata.
349
350 cloudinit_meta_data: *cloudinit_meta_data
351 cloudinit_user_data: *cloudinit_user_data
352
353 interfaces:
354 # - label: eno1
sgudzb3f5fe42018-02-06 17:06:53 +0200355 - label: enp9s0f0
sgudz8c888ec2017-10-02 15:29:23 +0300356 l2_network_device: admin
357 mac_address: !os_env ETH0_MAC_ADDRESS_KVM03
358 # - label: eno2
sgudzb3f5fe42018-02-06 17:06:53 +0200359 - label: enp9s0f1
sgudz8c888ec2017-10-02 15:29:23 +0300360 mac_address: !os_env ETH1_MAC_ADDRESS_KVM03
361
362 network_config:
363 # eno1:
sgudzb3f5fe42018-02-06 17:06:53 +0200364 enp9s0f0:
sgudz8c888ec2017-10-02 15:29:23 +0300365 networks:
366 - admin
367 bond0:
368 networks:
369 - control
370 aggregation: active-backup
371 parents:
sgudzb3f5fe42018-02-06 17:06:53 +0200372 - enp9s0f1
sgudz8c888ec2017-10-02 15:29:23 +0300373
374
375 - name: {{ HOSTNAME_CMP001 }}
376 role: salt_minion
377 params:
378 ipmi_user: !os_env IPMI_USER
379 ipmi_password: !os_env IPMI_PASSWORD
380 ipmi_previlegies: OPERATOR
381 ipmi_host: !os_env IPMI_HOST_CMP001 # hostname or IP address
382 ipmi_lan_interface: lanplus
383 ipmi_port: 623
384
385 root_volume_name: system # see 'volumes' below
386 cloud_init_volume_name: iso # see 'volumes' below
387 # cloud_init_iface_up: enp3s0f0 # see 'interfaces' below.
388 cloud_init_iface_up: enp2s0f1 # see 'interfaces' below.
389 volumes:
390 - name: system
391 capacity: !os_env NODE_VOLUME_SIZE, 200
392
393 # The same as for agent URL, here is an URL to the image that should be
394 # used for deploy the node. It should also be accessible from deploying
395 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
396 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
397 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
398
399 - name: iso # Volume with name 'iso' will be used
400 # for store image with cloud-init metadata.
401
402 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitriev8ed27882018-01-31 23:23:19 +0200403 cloudinit_user_data: *cloudinit_user_data_hwe
sgudz8c888ec2017-10-02 15:29:23 +0300404
405 interfaces:
406 - label: enp2s0f0
407 mac_address: !os_env ETH0_MAC_ADDRESS_CMP001
408 - label: enp2s0f1
409 l2_network_device: admin
410 mac_address: !os_env ETH1_MAC_ADDRESS_CMP001
411 - label: enp5s0f0
412 mac_address: !os_env ETH2_MAC_ADDRESS_CMP001
413 features: ['dpdk', 'dpdk_pci: 0000:05:00.0']
414 - label: enp5s0f1
415 mac_address: !os_env ETH3_MAC_ADDRESS_CMP001
416 features: ['dpdk', 'dpdk_pci: 0000:05:00.1']
417 # - label: enp5s0f2
418 # mac_address: !os_env ETH4_MAC_ADDRESS_CMP001
419 # features: ['dpdk', 'dpdk_pci: 0000:05:00.2']
420
421 network_config:
422 enp2s0f0:
423 networks:
424 - admin
425 bond0:
426 networks:
427 - control
428 aggregation: active-backup
429 parents:
430 - enp5s0f0
431 - enp5s0f1
432
433
434
435 - name: {{ HOSTNAME_CMP002 }}
436 role: salt_minion
437 params:
438 ipmi_user: !os_env IPMI_USER
439 ipmi_password: !os_env IPMI_PASSWORD
440 ipmi_previlegies: OPERATOR
441 ipmi_host: !os_env IPMI_HOST_CMP002 # hostname or IP address
442 ipmi_lan_interface: lanplus
443 ipmi_port: 623
444
445 root_volume_name: system # see 'volumes' below
446 cloud_init_volume_name: iso # see 'volumes' below
447 # cloud_init_iface_up: eno1 # see 'interfaces' below.
448 cloud_init_iface_up: enp2s0f1 # see 'interfaces' below.
449 volumes:
450 - name: system
451 capacity: !os_env NODE_VOLUME_SIZE, 200
452
453 # The same as for agent URL, here is an URL to the image that should be
454 # used for deploy the node. It should also be accessible from deploying
455 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
456 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
457 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
458
459 - name: iso # Volume with name 'iso' will be used
460 # for store image with cloud-init metadata.
461
462 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitriev8ed27882018-01-31 23:23:19 +0200463 cloudinit_user_data: *cloudinit_user_data_hwe
sgudz8c888ec2017-10-02 15:29:23 +0300464
465 interfaces:
466 # - label: eno1
467 - label: enp2s0f0
468 mac_address: !os_env ETH0_MAC_ADDRESS_CMP002
469 # - label: eth0
470 - label: enp2s0f1
471 l2_network_device: admin
472 mac_address: !os_env ETH1_MAC_ADDRESS_CMP002
473 # - label: eth3
474 - label: enp5s0f0
475 mac_address: !os_env ETH2_MAC_ADDRESS_CMP002
476 features: ['dpdk', 'dpdk_pci: 0000:05:00.0']
477 # - label: eth2
478 - label: enp5s0f1
479 mac_address: !os_env ETH3_MAC_ADDRESS_CMP002
480 features: ['dpdk', 'dpdk_pci: 0000:05:00.1']
481 # - label: eth4
482 # mac_address: !os_env ETH4_MAC_ADDRESS_CMP002
483 # features: ['dpdk', 'dpdk_pci: 0000:0b:00.0']
484
485 network_config:
486 enp2s0f1:
487 networks:
488 - admin
489 bond0:
490 networks:
491 - control
492 aggregation: active-backup
493 parents:
494 - enp5s0f0
495 - enp5s0f1