blob: 7b3d93c2f7fd92d91249a82aa47131da31788730 [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') %}
3
4#{% set DOMAIN_NAME = os_env('LAB_CONFIG_NAME', 'physical_mcp11_ovs_dpdk') + '.local' %}
5{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-bm-mcp-ocata-contrail') %}
Dennis Dmitriev0048fcd2017-10-21 12:26:48 +03006{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %}
sgudz8c888ec2017-10-02 15:29:23 +03007{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
8{% set HOSTNAME_KVM01 = os_env('HOSTNAME_KVM01', 'kvm01.' + DOMAIN_NAME) %}
9{% set HOSTNAME_KVM02 = os_env('HOSTNAME_KVM02', 'kvm02.' + DOMAIN_NAME) %}
10{% set HOSTNAME_KVM03 = os_env('HOSTNAME_KVM03', 'kvm03.' + DOMAIN_NAME) %}
11{% set HOSTNAME_CMP001 = os_env('HOSTNAME_CMP001', 'cmp001.' + DOMAIN_NAME) %}
12{% set HOSTNAME_CMP002 = os_env('HOSTNAME_CMP002', 'cmp002.' + DOMAIN_NAME) %}
13# {% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
14# {% set HOSTNAME_GTW02 = os_env('HOSTNAME_GTW02', 'gtw02.' + DOMAIN_NAME) %}
15
16{% set ETH1_IP_ADDRESS_CFG01 = os_env('ETH1_IP_ADDRESS_CFG01', '172.16.49.66') %}
17{% set ETH0_IP_ADDRESS_KVM01 = os_env('ETH0_IP_ADDRESS_KVM01', '172.16.49.67') %}
18{% set ETH0_IP_ADDRESS_KVM02 = os_env('ETH0_IP_ADDRESS_KVM02', '172.16.49.68') %}
19{% set ETH0_IP_ADDRESS_KVM03 = os_env('ETH0_IP_ADDRESS_KVM03', '172.16.49.69') %}
sgudzb3f5fe42018-02-06 17:06:53 +020020{% set ETH0_IP_ADDRESS_CMP001 = os_env('ETH0_IP_ADDRESS_CMP001', '172.16.49.73') %}
sgudz8c888ec2017-10-02 15:29:23 +030021{% set ETH0_IP_ADDRESS_CMP002 = os_env('ETH0_IP_ADDRESS_CMP002', '172.16.49.74') %}
22# {% set ETH0_IP_ADDRESS_CMP003 = os_env('ETH0_IP_ADDRESS_CMP003', '172.16.167.140') %}
23# {% set ETH0_IP_ADDRESS_GTW01 = os_env('ETH0_IP_ADDRESS_GTW01', '172.16.49.5') %}
24# {% set ETH0_IP_ADDRESS_GTW02 = os_env('ETH0_IP_ADDRESS_GTW02', '172.16.49.4') %}
25
26{% import 'cookied-bm-mcp-ocata-contrail/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
27{% import 'cookied-bm-mcp-ocata-contrail/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
28{% import 'cookied-bm-mcp-ocata-contrail/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA with context %}
Dennis Dmitriev8ed27882018-01-31 23:23:19 +020029{% import 'cookied-bm-mcp-ocata-contrail/underlay--user-data1604-hwe.yaml' as CLOUDINIT_USER_DATA_HWE with context %}
sgudz8c888ec2017-10-02 15:29:23 +030030
31---
32aliases:
33 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
34 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
35 - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }}
36 - &cloudinit_user_data {{ CLOUDINIT_USER_DATA }}
Dennis Dmitriev8ed27882018-01-31 23:23:19 +020037 - &cloudinit_user_data_hwe {{ CLOUDINIT_USER_DATA_HWE }}
sgudz8c888ec2017-10-02 15:29:23 +030038
39
40template:
41 devops_settings:
42 env_name: {{ os_env('ENV_NAME', 'cookied-bm-mcp-ocata-contrail_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
43
44 address_pools:
45 admin-pool01:
46 net: {{ os_env('ADMIN_ADDRESS_POOL01', '172.16.49.64/26:26') }}
47 params:
48 ip_reserved:
49 gateway: +62
50 l2_network_device: +61
51 default_{{ HOSTNAME_CFG01 }}: {{ ETH1_IP_ADDRESS_CFG01 }}
52 default_{{ HOSTNAME_KVM01 }}: {{ ETH0_IP_ADDRESS_KVM01 }}
53 default_{{ HOSTNAME_KVM02 }}: {{ ETH0_IP_ADDRESS_KVM02 }}
54 default_{{ HOSTNAME_KVM03 }}: {{ ETH0_IP_ADDRESS_KVM03 }}
55 default_{{ HOSTNAME_CMP001 }}: {{ ETH0_IP_ADDRESS_CMP001 }}
56 default_{{ HOSTNAME_CMP002 }}: {{ ETH0_IP_ADDRESS_CMP002 }}
57 default_{{ HOSTNAME_CMP003 }}: {{ ETH0_IP_ADDRESS_CMP003 }}
58 # default_{{ HOSTNAME_GTW01 }}: {{ ETH0_IP_ADDRESS_GTW01 }}
59 # default_{{ HOSTNAME_GTW02 }}: {{ ETH0_IP_ADDRESS_GTW02 }}
60 virtual_{{ HOSTNAME_CFG01 }}: {{ ETH1_IP_ADDRESS_CFG01 }}
61 virtual_{{ HOSTNAME_KVM01 }}: {{ ETH0_IP_ADDRESS_KVM01 }}
62 virtual_{{ HOSTNAME_KVM02 }}: {{ ETH0_IP_ADDRESS_KVM02 }}
63 virtual_{{ HOSTNAME_KVM03 }}: {{ ETH0_IP_ADDRESS_KVM03 }}
64 virtual_{{ HOSTNAME_CMP001 }}: {{ ETH0_IP_ADDRESS_CMP001 }}
65 virtual_{{ HOSTNAME_CMP002 }}: {{ ETH0_IP_ADDRESS_CMP002 }}
66 # virtual_{{ HOSTNAME_CMP003 }}: {{ ETH0_IP_ADDRESS_CMP003 }}
67 # virtual_{{ HOSTNAME_GTW01 }}: {{ ETH0_IP_ADDRESS_GTW01 }}
68 # virtual_{{ HOSTNAME_GTW02 }}: {{ ETH0_IP_ADDRESS_GTW02 }}
69 #ip_ranges:
70 # dhcp: [+2, -4]
71 private-pool01:
72 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.167.8.0/24:24') }}
73 params:
74 ip_reserved:
75 gateway: +1
76 l2_network_device: +1
77
78 tenant-pool01:
79 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.167.10.0/24:24') }}
80 params:
81 ip_reserved:
82 gateway: +1
83 l2_network_device: +1
84
85 external-pool01:
86 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '172.17.42.192/26:26') }}
87 params:
88 ip_reserved:
89 gateway: +1
90 l2_network_device: -2
91
92 groups:
93
94 - name: virtual
95 driver:
96 name: devops.driver.libvirt
97 params:
98 connection_string: !os_env CONNECTION_STRING, qemu:///system
99 storage_pool_name: !os_env STORAGE_POOL_NAME, default
100 stp: False
101 hpet: False
102 enable_acpi: true
103 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
104
105 network_pools:
106 admin: admin-pool01
107
108 l2_network_devices:
109 # Ironic management interface
110 admin:
111 address_pool: admin-pool01
112 dhcp: false
113 parent_iface:
114 phys_dev: !os_env IRONIC_LAB_PXE_IFACE_0
115
116 group_volumes:
117 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200118 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
119 format: qcow2
120 - name: cfg01_day01_image # Pre-configured day01 image
121 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 +0300122 format: qcow2
123
124 nodes:
125 - name: {{ HOSTNAME_CFG01 }}
126 role: salt_master
127 params:
128 vcpu: !os_env SLAVE_NODE_CPU, 4
Dennis Dmitriev75e250f2018-02-26 17:13:59 +0200129 memory: !os_env SLAVE_NODE_MEMORY, 8192
sgudz8c888ec2017-10-02 15:29:23 +0300130 boot:
131 - hd
132 cloud_init_volume_name: iso
133 cloud_init_iface_up: ens3
134 volumes:
135 - name: system
136 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200137 backing_store: cfg01_day01_image
sgudz8c888ec2017-10-02 15:29:23 +0300138 format: qcow2
139 - name: iso # Volume with name 'iso' will be used
140 # for store image with cloud-init metadata.
141 capacity: 1
142 format: raw
143 device: cdrom
144 bus: ide
145 cloudinit_meta_data: *cloudinit_meta_data
146 cloudinit_user_data: *cloudinit_user_data_cfg01
147
148 interfaces:
149 - label: ens3
150 l2_network_device: admin
151 interface_model: *interface_model
152 mac_address: !os_env ETH1_MAC_ADDRESS_CFG01
153 #- label: ens4
154 # l2_network_device: private
155 # interface_model: *interface_model
156 network_config:
157 ens3:
158 networks:
159 - admin
160 #ens4:
161 # networks:
162 # - private
163
164
165 - name: default
166 driver:
167 name: devops_driver_ironic
168 params:
169 os_auth_token: fake-token
170 ironic_url: !os_env IRONIC_URL # URL that will be used by fuel-devops
171 # to access Ironic API
172 # Agent URL that is accessible from deploying node when nodes
173 # are bootstrapped with PXE. Usually PXE/provision network address is used.
174 agent_kernel_url: !os_env IRONIC_AGENT_KERNEL_URL
175 agent_ramdisk_url: !os_env IRONIC_AGENT_RAMDISK_URL
176
177 network_pools:
178 admin: admin-pool01
179
180 nodes:
181
182 # - name: {{ HOSTNAME_CFG01 }}
183 # role: salt_master
184 # params:
185 # ipmi_user: !os_env IPMI_USER
186 # ipmi_password: !os_env IPMI_PASSWORD
187 # ipmi_previlegies: OPERATOR
188 # ipmi_host: !os_env IPMI_HOST_CFG01 # hostname or IP address
189 # ipmi_lan_interface: lanplus
190 # ipmi_port: 623
191
192 # root_volume_name: system # see 'volumes' below
193 # cloud_init_volume_name: iso # see 'volumes' below
194 # cloud_init_iface_up: enp3s0f1 # see 'interfaces' below.
195 # volumes:
196 # - name: system
197 # capacity: !os_env NODE_VOLUME_SIZE, 200
198
199 # # The same as for agent URL, here is an URL to the image that should be
200 # # used for deploy the node. It should also be accessible from deploying
201 # # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
202 # source_image: !os_env IRONIC_SOURCE_IMAGE_URL
203 # source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
204
205 # - name: iso # Volume with name 'iso' will be used
206 # # for store image with cloud-init metadata.
207
208 # cloudinit_meta_data: *cloudinit_meta_data
209 # cloudinit_user_data: *cloudinit_user_data_cfg01
210
211 # interfaces:
212 # - label: enp3s0f0 # Infra interface
213 # mac_address: !os_env ETH0_MAC_ADDRESS_CFG01
214 # - label: enp3s0f1
215 # l2_network_device: admin
216 # mac_address: !os_env ETH1_MAC_ADDRESS_CFG01
217
218 # network_config:
219 # enp3s0f0:
220 # networks:
221 # - infra
222 # enp3s0f1:
223 # networks:
224 # - admin
225
226 - name: {{ HOSTNAME_KVM01 }}
227 role: salt_minion
228 params:
229 ipmi_user: !os_env IPMI_USER
230 ipmi_password: !os_env IPMI_PASSWORD
231 ipmi_previlegies: OPERATOR
232 ipmi_host: !os_env IPMI_HOST_KVM01 # hostname or IP address
233 ipmi_lan_interface: lanplus
234 ipmi_port: 623
235
236 root_volume_name: system # see 'volumes' below
237 cloud_init_volume_name: iso # see 'volumes' below
sgudzb3f5fe42018-02-06 17:06:53 +0200238 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
sgudz8c888ec2017-10-02 15:29:23 +0300239 volumes:
240 - name: system
241 capacity: !os_env NODE_VOLUME_SIZE, 200
242
243 # The same as for agent URL, here is an URL to the image that should be
244 # used for deploy the node. It should also be accessible from deploying
245 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
246 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
247 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
248
249 - name: iso # Volume with name 'iso' will be used
250 # for store image with cloud-init metadata.
251
252 cloudinit_meta_data: *cloudinit_meta_data
253 cloudinit_user_data: *cloudinit_user_data
254
255 interfaces:
sgudzb3f5fe42018-02-06 17:06:53 +0200256 - label: enp9s0f0
sgudz8c888ec2017-10-02 15:29:23 +0300257 l2_network_device: admin
258 mac_address: !os_env ETH0_MAC_ADDRESS_KVM01
sgudzb3f5fe42018-02-06 17:06:53 +0200259 - label: enp9s0f1
sgudz8c888ec2017-10-02 15:29:23 +0300260 mac_address: !os_env ETH1_MAC_ADDRESS_KVM01
261
262 network_config:
sgudzb3f5fe42018-02-06 17:06:53 +0200263 enp9s0f0:
sgudz8c888ec2017-10-02 15:29:23 +0300264 networks:
265 - admin
266 bond0:
267 networks:
268 - control
269 aggregation: active-backup
270 parents:
sgudzb3f5fe42018-02-06 17:06:53 +0200271 - enp9s0f1
sgudz8c888ec2017-10-02 15:29:23 +0300272
273 - name: {{ HOSTNAME_KVM02 }}
274 role: salt_minion
275 params:
276 ipmi_user: !os_env IPMI_USER
277 ipmi_password: !os_env IPMI_PASSWORD
278 ipmi_previlegies: OPERATOR
279 ipmi_host: !os_env IPMI_HOST_KVM02 # hostname or IP address
280 ipmi_lan_interface: lanplus
281 ipmi_port: 623
282
283 root_volume_name: system # see 'volumes' below
284 cloud_init_volume_name: iso # see 'volumes' below
sgudzb3f5fe42018-02-06 17:06:53 +0200285 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
sgudz8c888ec2017-10-02 15:29:23 +0300286 volumes:
287 - name: system
288 capacity: !os_env NODE_VOLUME_SIZE, 200
289
290 # The same as for agent URL, here is an URL to the image that should be
291 # used for deploy the node. It should also be accessible from deploying
292 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
293 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
294 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
295
296 - name: iso # Volume with name 'iso' will be used
297 # for store image with cloud-init metadata.
298
299 cloudinit_meta_data: *cloudinit_meta_data
300 cloudinit_user_data: *cloudinit_user_data
301
302 interfaces:
sgudzb3f5fe42018-02-06 17:06:53 +0200303 - label: enp9s0f0
sgudz8c888ec2017-10-02 15:29:23 +0300304 l2_network_device: admin
305 mac_address: !os_env ETH0_MAC_ADDRESS_KVM02
sgudzb3f5fe42018-02-06 17:06:53 +0200306 - label: enp9s0f1
sgudz8c888ec2017-10-02 15:29:23 +0300307 mac_address: !os_env ETH1_MAC_ADDRESS_KVM02
308
309 network_config:
sgudzb3f5fe42018-02-06 17:06:53 +0200310 enp9s0f0:
sgudz8c888ec2017-10-02 15:29:23 +0300311 networks:
312 - admin
313 bond0:
314 networks:
315 - control
316 aggregation: active-backup
317 parents:
sgudzb3f5fe42018-02-06 17:06:53 +0200318 - enp9s0f1
sgudz8c888ec2017-10-02 15:29:23 +0300319
320 - name: {{ HOSTNAME_KVM03 }}
321 role: salt_minion
322 params:
323 ipmi_user: !os_env IPMI_USER
324 ipmi_password: !os_env IPMI_PASSWORD
325 ipmi_previlegies: OPERATOR
326 ipmi_host: !os_env IPMI_HOST_KVM03 # hostname or IP address
327 ipmi_lan_interface: lanplus
328 ipmi_port: 623
329
330 root_volume_name: system # see 'volumes' below
331 cloud_init_volume_name: iso # see 'volumes' below
332 # cloud_init_iface_up: eno1 # see 'interfaces' below.
sgudzb3f5fe42018-02-06 17:06:53 +0200333 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
sgudz8c888ec2017-10-02 15:29:23 +0300334 volumes:
335 - name: system
336 capacity: !os_env NODE_VOLUME_SIZE, 200
337
338 # The same as for agent URL, here is an URL to the image that should be
339 # used for deploy the node. It should also be accessible from deploying
340 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
341 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
342 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
343
344 - name: iso # Volume with name 'iso' will be used
345 # for store image with cloud-init metadata.
346
347 cloudinit_meta_data: *cloudinit_meta_data
348 cloudinit_user_data: *cloudinit_user_data
349
350 interfaces:
351 # - label: eno1
sgudzb3f5fe42018-02-06 17:06:53 +0200352 - label: enp9s0f0
sgudz8c888ec2017-10-02 15:29:23 +0300353 l2_network_device: admin
354 mac_address: !os_env ETH0_MAC_ADDRESS_KVM03
355 # - label: eno2
sgudzb3f5fe42018-02-06 17:06:53 +0200356 - label: enp9s0f1
sgudz8c888ec2017-10-02 15:29:23 +0300357 mac_address: !os_env ETH1_MAC_ADDRESS_KVM03
358
359 network_config:
360 # eno1:
sgudzb3f5fe42018-02-06 17:06:53 +0200361 enp9s0f0:
sgudz8c888ec2017-10-02 15:29:23 +0300362 networks:
363 - admin
364 bond0:
365 networks:
366 - control
367 aggregation: active-backup
368 parents:
sgudzb3f5fe42018-02-06 17:06:53 +0200369 - enp9s0f1
sgudz8c888ec2017-10-02 15:29:23 +0300370
371
372 - name: {{ HOSTNAME_CMP001 }}
373 role: salt_minion
374 params:
375 ipmi_user: !os_env IPMI_USER
376 ipmi_password: !os_env IPMI_PASSWORD
377 ipmi_previlegies: OPERATOR
378 ipmi_host: !os_env IPMI_HOST_CMP001 # hostname or IP address
379 ipmi_lan_interface: lanplus
380 ipmi_port: 623
381
382 root_volume_name: system # see 'volumes' below
383 cloud_init_volume_name: iso # see 'volumes' below
384 # cloud_init_iface_up: enp3s0f0 # see 'interfaces' below.
385 cloud_init_iface_up: enp2s0f1 # see 'interfaces' below.
386 volumes:
387 - name: system
388 capacity: !os_env NODE_VOLUME_SIZE, 200
389
390 # The same as for agent URL, here is an URL to the image that should be
391 # used for deploy the node. It should also be accessible from deploying
392 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
393 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
394 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
395
396 - name: iso # Volume with name 'iso' will be used
397 # for store image with cloud-init metadata.
398
399 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitriev8ed27882018-01-31 23:23:19 +0200400 cloudinit_user_data: *cloudinit_user_data_hwe
sgudz8c888ec2017-10-02 15:29:23 +0300401
402 interfaces:
403 - label: enp2s0f0
404 mac_address: !os_env ETH0_MAC_ADDRESS_CMP001
405 - label: enp2s0f1
406 l2_network_device: admin
407 mac_address: !os_env ETH1_MAC_ADDRESS_CMP001
408 - label: enp5s0f0
409 mac_address: !os_env ETH2_MAC_ADDRESS_CMP001
410 features: ['dpdk', 'dpdk_pci: 0000:05:00.0']
411 - label: enp5s0f1
412 mac_address: !os_env ETH3_MAC_ADDRESS_CMP001
413 features: ['dpdk', 'dpdk_pci: 0000:05:00.1']
414 # - label: enp5s0f2
415 # mac_address: !os_env ETH4_MAC_ADDRESS_CMP001
416 # features: ['dpdk', 'dpdk_pci: 0000:05:00.2']
417
418 network_config:
419 enp2s0f0:
420 networks:
421 - admin
422 bond0:
423 networks:
424 - control
425 aggregation: active-backup
426 parents:
427 - enp5s0f0
428 - enp5s0f1
429
430
431
432 - name: {{ HOSTNAME_CMP002 }}
433 role: salt_minion
434 params:
435 ipmi_user: !os_env IPMI_USER
436 ipmi_password: !os_env IPMI_PASSWORD
437 ipmi_previlegies: OPERATOR
438 ipmi_host: !os_env IPMI_HOST_CMP002 # hostname or IP address
439 ipmi_lan_interface: lanplus
440 ipmi_port: 623
441
442 root_volume_name: system # see 'volumes' below
443 cloud_init_volume_name: iso # see 'volumes' below
444 # cloud_init_iface_up: eno1 # see 'interfaces' below.
445 cloud_init_iface_up: enp2s0f1 # see 'interfaces' below.
446 volumes:
447 - name: system
448 capacity: !os_env NODE_VOLUME_SIZE, 200
449
450 # The same as for agent URL, here is an URL to the image that should be
451 # used for deploy the node. It should also be accessible from deploying
452 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
453 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
454 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
455
456 - name: iso # Volume with name 'iso' will be used
457 # for store image with cloud-init metadata.
458
459 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitriev8ed27882018-01-31 23:23:19 +0200460 cloudinit_user_data: *cloudinit_user_data_hwe
sgudz8c888ec2017-10-02 15:29:23 +0300461
462 interfaces:
463 # - label: eno1
464 - label: enp2s0f0
465 mac_address: !os_env ETH0_MAC_ADDRESS_CMP002
466 # - label: eth0
467 - label: enp2s0f1
468 l2_network_device: admin
469 mac_address: !os_env ETH1_MAC_ADDRESS_CMP002
470 # - label: eth3
471 - label: enp5s0f0
472 mac_address: !os_env ETH2_MAC_ADDRESS_CMP002
473 features: ['dpdk', 'dpdk_pci: 0000:05:00.0']
474 # - label: eth2
475 - label: enp5s0f1
476 mac_address: !os_env ETH3_MAC_ADDRESS_CMP002
477 features: ['dpdk', 'dpdk_pci: 0000:05:00.1']
478 # - label: eth4
479 # mac_address: !os_env ETH4_MAC_ADDRESS_CMP002
480 # features: ['dpdk', 'dpdk_pci: 0000:0b:00.0']
481
482 network_config:
483 enp2s0f1:
484 networks:
485 - admin
486 bond0:
487 networks:
488 - control
489 aggregation: active-backup
490 parents:
491 - enp5s0f0
492 - enp5s0f1