blob: 298575c7402505c93786b4cb30e8f70bbcb513cd [file] [log] [blame]
Dennis Dmitriev458aac32017-07-18 13:28:21 +03001parameters:
Dennis Dmitriev6fecfdb2017-07-20 22:39:01 +03002 # Simulate escape sequence to not interpolate some values,
3 # so these values may get into the node yamls as ${_param:...}
Dennis Dmitriev20a327c2017-07-21 16:07:56 +03004 _param:
5 _esc: $
Dennis Dmitriev6fecfdb2017-07-20 22:39:01 +03006
Dennis Dmitriev458aac32017-07-18 13:28:21 +03007 reclass:
8 storage:
9 node:
10 stacklight_telemetry_node03:
11 params:
12 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +030013 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +030014 classes:
15 - environment.lab03_ovs_dpdk.common
16 openstack_telemetry_node03:
17 params:
18 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +030019 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +030020 classes:
21 - environment.lab03_ovs_dpdk.common
22 openstack_message_queue_node02:
23 params:
24 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +030025 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +030026 classes:
27 - environment.lab03_ovs_dpdk.common
28 openstack_gateway_node03:
29 params:
30 # Use interfaces configuration from the context file,
31 # or generate your own 'linux.network.interface' object using
32 # additional inventory.
33 # For example, you can take the 'inventory_node_name' and find it's config
34 # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml,
35 # or skip the original context from 'cookiecutter' object and iterate only custom inventory.
36 linux_network_interfaces:
37 bond0:
38 enabled: true
39 mode: active-backup
40 ovs_bridge: br-floating
41 ovs_type: OVSPort
42 proto: manual
43 slaves: enp2s0f1
44 type: bond
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +030045 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
46 - enp2s0f1
47 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +030048 - enp2s0f1
49 br-floating:
50 enabled: true
51 type: ovs_bridge
52 br-prv:
53 enabled: true
54 type: ovs_bridge
55 br_ctl:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +030056 address: ${_param:_esc}{_param:single_address}
Dennis Dmitriev458aac32017-07-18 13:28:21 +030057 bridge: br-floating
58 enabled: true
59 netmask: 255.255.255.0
60 ovs_options: tag=2416
61 proto: static
62 type: ovs_port
63 floating-to-prv:
64 bridge: br-floating
65 enabled: true
66 peer: prv-to-floating
67 port_type: patch
68 type: ovs_port
69 primary_first_nic:
70 enabled: true
71 master: bond0
72 name: enp2s0f1
73 proto: manual
74 type: slave
Dennis Dmitrievb4c48c12017-07-19 15:05:09 +030075 ipflush_onchange: true
Dennis Dmitriev458aac32017-07-18 13:28:21 +030076 prv-to-floating:
77 bridge: br-prv
78 enabled: true
79 peer: floating-to-prv
80 port_type: patch
81 type: ovs_port
82
83 classes:
84 - environment.lab03_ovs_dpdk.common
85 openstack_database_node02:
86 params:
87 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +030088 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +030089 classes:
90 - environment.lab03_ovs_dpdk.common
91 openstack_gateway_node02:
92 params:
93 # Use interfaces configuration from the context file,
94 # or generate your own 'linux.network.interface' object using
95 # additional inventory.
96 # For example, you can take the 'inventory_node_name' and find it's config
97 # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml,
98 # or skip the original context from 'cookiecutter' object and iterate only custom inventory.
99 linux_network_interfaces:
100 bond0:
101 enabled: true
102 mode: active-backup
103 ovs_bridge: br-floating
104 ovs_type: OVSPort
105 proto: manual
106 slaves: enp2s0f1
107 type: bond
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300108 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
109 - enp2s0f1
110 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300111 - enp2s0f1
112 br-floating:
113 enabled: true
114 type: ovs_bridge
115 br-prv:
116 enabled: true
117 type: ovs_bridge
118 br_ctl:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300119 address: ${_param:_esc}{_param:single_address}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300120 bridge: br-floating
121 enabled: true
122 netmask: 255.255.255.0
123 ovs_options: tag=2416
124 proto: static
125 type: ovs_port
126 floating-to-prv:
127 bridge: br-floating
128 enabled: true
129 peer: prv-to-floating
130 port_type: patch
131 type: ovs_port
132 primary_first_nic:
133 enabled: true
134 master: bond0
135 name: enp2s0f1
136 proto: manual
137 type: slave
Dennis Dmitrievb4c48c12017-07-19 15:05:09 +0300138 ipflush_onchange: true
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300139 prv-to-floating:
140 bridge: br-prv
141 enabled: true
142 peer: floating-to-prv
143 port_type: patch
144 type: ovs_port
145
146 classes:
147 - environment.lab03_ovs_dpdk.common
148 openstack_control_node02:
149 params:
150 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300151 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300152 classes:
153 - environment.lab03_ovs_dpdk.common
154 stacklight_monitor_node02:
155 params:
156 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300157 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300158 classes:
159 - environment.lab03_ovs_dpdk.common
160 stacklight_telemetry_node01:
161 params:
162 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300163 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300164 classes:
165 - environment.lab03_ovs_dpdk.common
166 openstack_message_queue_node03:
167 params:
168 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300169 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300170 classes:
171 - environment.lab03_ovs_dpdk.common
172 infra_kvm_node01:
173 params:
174 # Use interfaces configuration from the context file,
175 # or generate your own 'linux.network.interface' object using
176 # additional inventory.
177 # For example, you can take the 'inventory_node_name' and find it's config
178 # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml,
179 # or skip the original context from 'cookiecutter' object and iterate only custom inventory.
180 linux_network_interfaces:
181 bond0:
182 enabled: true
183 mode: active-backup
184 proto: manual
185 slaves: enp3s0f1
186 type: bond
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300187 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
188 - enp3s0f1
189 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300190 - enp3s0f1
191 bond0.2416:
192 enabled: true
193 proto: manual
194 type: vlan
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300195 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
196 - bond0
197 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300198 - bond0
199 br_ctl:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300200 address: ${_param:_esc}{_param:single_address}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300201 enabled: true
202 netmask: 255.255.255.0
203 proto: static
204 type: bridge
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300205 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
206 - bond0.2416
207 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300208 - bond0.2416
209 br_mgm:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300210 address: ${_param:_esc}{_param:deploy_address}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300211 enabled: true
212 gateway: 172.16.49.1
213 name_servers:
214 - 8.8.8.8
215 - 8.8.4.4
216 netmask: 255.255.255.192
217 proto: static
218 type: bridge
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300219 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
220 - enp3s0f0
221 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300222 - enp3s0f0
223 eth1:
224 enabled: true
225 master: bond0
226 name: enp3s0f1
227 proto: manual
228 type: slave
Dennis Dmitrievb4c48c12017-07-19 15:05:09 +0300229 ipflush_onchange: true
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300230 eth2:
231 enabled: true
232 name: enp3s0f0
233 proto: manual
234 type: eth
Dennis Dmitrievb4c48c12017-07-19 15:05:09 +0300235 ipflush_onchange: true
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300236
237 classes:
238 - environment.lab03_ovs_dpdk.common
239 openstack_proxy_node02:
240 params:
241 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300242 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300243 classes:
244 - environment.lab03_ovs_dpdk.common
245 openstack_telemetry_node01:
246 params:
247 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300248 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300249 classes:
250 - environment.lab03_ovs_dpdk.common
251 infra_kvm_node02:
252 params:
253 # Use interfaces configuration from the context file,
254 # or generate your own 'linux.network.interface' object using
255 # additional inventory.
256 # For example, you can take the 'inventory_node_name' and find it's config
257 # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml,
258 # or skip the original context from 'cookiecutter' object and iterate only custom inventory.
259 linux_network_interfaces:
260 bond0:
261 enabled: true
262 mode: active-backup
263 proto: manual
264 slaves: eno2
265 type: bond
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300266 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
267 - eno2
268 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300269 - eno2
270 bond0.2416:
271 enabled: true
272 proto: manual
273 type: vlan
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300274 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
275 - bond0
276 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300277 - bond0
278 br_ctl:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300279 address: ${_param:_esc}{_param:single_address}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300280 enabled: true
281 netmask: 255.255.255.0
282 proto: static
283 type: bridge
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300284 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
285 - bond0.2416
286 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300287 - bond0.2416
288 br_mgm:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300289 address: ${_param:_esc}{_param:deploy_address}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300290 enabled: true
291 gateway: 172.16.49.1
292 name_servers:
293 - 8.8.8.8
294 - 8.8.4.4
295 netmask: 255.255.255.192
296 proto: static
297 type: bridge
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300298 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
299 - eno1
300 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300301 - eno1
302 eth1:
303 enabled: true
304 master: bond0
305 name: eno2
306 proto: manual
307 type: slave
Dennis Dmitrievb4c48c12017-07-19 15:05:09 +0300308 ipflush_onchange: true
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300309 eth2:
310 enabled: true
311 name: eno1
312 proto: manual
313 type: eth
Dennis Dmitrievb4c48c12017-07-19 15:05:09 +0300314 ipflush_onchange: true
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300315
316 classes:
317 - environment.lab03_ovs_dpdk.common
318 stacklight_monitor_node03:
319 params:
320 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300321 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300322 classes:
323 - environment.lab03_ovs_dpdk.common
324 openstack_telemetry_node02:
325 params:
326 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300327 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300328 classes:
329 - environment.lab03_ovs_dpdk.common
330 stacklight_log_node02:
331 params:
332 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300333 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300334 classes:
335 - environment.lab03_ovs_dpdk.common
336 openstack_proxy_node01:
337 params:
338 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300339 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300340 classes:
341 - environment.lab03_ovs_dpdk.common
342 openstack_message_queue_node01:
343 params:
344 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300345 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300346 classes:
347 - environment.lab03_ovs_dpdk.common
348 stacklight_log_node01:
349 params:
350 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300351 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300352 classes:
353 - environment.lab03_ovs_dpdk.common
354 openstack_database_node01:
355 params:
356 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300357 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300358 classes:
359 - environment.lab03_ovs_dpdk.common
360 openstack_control_node03:
361 params:
362 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300363 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300364 classes:
365 - environment.lab03_ovs_dpdk.common
366 openstack_compute_node02:
367 params:
368 # Use interfaces configuration from the context file,
369 # or generate your own 'linux.network.interface' object using
370 # additional inventory.
371 # For example, you can take the 'inventory_node_name' and find it's config
372 # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml,
373 # or skip the original context from 'cookiecutter' object and iterate only custom inventory.
374 linux_network_interfaces:
obutenko48337632017-08-08 12:57:10 +0300375 iface1:
376 enabled: true
377 master: bond0
378 name: eth0
379 proto: manual
380 type: slave
381 ipflush_onchange: true
382 iface2:
383 enabled: true
384 master: bond0
385 name: eth3
386 proto: manual
387 type: slave
388 ipflush_onchange: true
obutenkoa2a07812017-08-03 18:27:38 +0300389 bond0:
390 enabled: true
391 mode: active-backup
392 ovs_bridge: br-floating
393 ovs_type: OVSPort
394 proto: manual
obutenko7b237ee2017-08-07 14:28:01 +0300395 slaves: eth0 eth3
obutenkoa2a07812017-08-03 18:27:38 +0300396 type: bond
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300397 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
obutenko7b237ee2017-08-07 14:28:01 +0300398 - eth0
399 - eth3
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300400 require_interfaces:
obutenko7b237ee2017-08-07 14:28:01 +0300401 - eth0
402 - eth3
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300403 bond0.2416:
404 enabled: true
405 proto: manual
406 type: vlan
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300407 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
408 - bond0
409 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300410 - bond0
411 br-prv:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300412 address: ${_param:_esc}{_param:tenant_address}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300413 enabled: true
414 netmask: 255.255.255.0
415 type: dpdk_ovs_bridge
416 br_ctl:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300417 address: ${_param:_esc}{_param:control_address}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300418 enabled: true
419 netmask: 255.255.255.0
420 proto: static
421 type: bridge
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300422 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
423 - bond0.2416
424 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300425 - bond0.2416
426 dpdk0:
427 bond: dpdkbond1
428 driver: igb_uio
429 enabled: true
430 n_rxq: 2
431 name: eth2
432 pci: '0000:05:00.1'
433 type: dpdk_ovs_port
434 dpdk1:
435 bond: dpdkbond1
436 driver: igb_uio
437 enabled: true
438 n_rxq: 2
439 name: eth4
440 pci: 0000:0b:00.0
441 type: dpdk_ovs_port
442 dpdkbond1:
443 bridge: br-prv
444 enabled: true
445 mode: active-backup
446 type: dpdk_ovs_bond
447
448 classes:
449 - environment.lab03_ovs_dpdk.common
450 openstack_gateway_node01:
451 params:
452 # Use interfaces configuration from the context file,
453 # or generate your own 'linux.network.interface' object using
454 # additional inventory.
455 # For example, you can take the 'inventory_node_name' and find it's config
456 # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml,
457 # or skip the original context from 'cookiecutter' object and iterate only custom inventory.
458 linux_network_interfaces:
459 bond0:
460 enabled: true
461 mode: active-backup
462 ovs_bridge: br-floating
463 ovs_type: OVSPort
464 proto: manual
465 slaves: enp2s0f1
466 type: bond
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300467 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
468 - enp2s0f1
469 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300470 - enp2s0f1
471 br-floating:
472 enabled: true
473 type: ovs_bridge
474 br-prv:
475 enabled: true
476 type: ovs_bridge
477 br_ctl:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300478 address: ${_param:_esc}{_param:single_address}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300479 bridge: br-floating
480 enabled: true
481 netmask: 255.255.255.0
482 ovs_options: tag=2416
483 proto: static
484 type: ovs_port
485 floating-to-prv:
486 bridge: br-floating
487 enabled: true
488 peer: prv-to-floating
489 port_type: patch
490 type: ovs_port
491 primary_first_nic:
492 enabled: true
493 master: bond0
494 name: enp2s0f1
495 proto: manual
496 type: slave
Dennis Dmitrievb4c48c12017-07-19 15:05:09 +0300497 ipflush_onchange: true
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300498 prv-to-floating:
499 bridge: br-prv
500 enabled: true
501 peer: floating-to-prv
502 port_type: patch
503 type: ovs_port
504
505 classes:
506 - environment.lab03_ovs_dpdk.common
507 stacklight_log_node03:
508 params:
509 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300510 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300511 classes:
512 - environment.lab03_ovs_dpdk.common
513 openstack_compute_node01:
514 params:
515 # Use interfaces configuration from the context file,
516 # or generate your own 'linux.network.interface' object using
517 # additional inventory.
518 # For example, you can take the 'inventory_node_name' and find it's config
519 # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml,
520 # or skip the original context from 'cookiecutter' object and iterate only custom inventory.
521 linux_network_interfaces:
obutenko48337632017-08-08 12:57:10 +0300522 iface1:
523 enabled: true
524 master: bond0
525 name: enp3s0f1
526 proto: manual
527 type: slave
528 ipflush_onchange: true
529 iface2:
530 enabled: true
531 master: bond0
532 name: enp5s0f0
533 proto: manual
534 type: slave
535 ipflush_onchange: true
obutenkoa2a07812017-08-03 18:27:38 +0300536 bond0:
537 enabled: true
538 mode: active-backup
539 ovs_bridge: br-floating
540 ovs_type: OVSPort
541 proto: manual
obutenko7b237ee2017-08-07 14:28:01 +0300542 slaves: enp3s0f1 enp5s0f0
obutenkoa2a07812017-08-03 18:27:38 +0300543 type: bond
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300544 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
obutenko7b237ee2017-08-07 14:28:01 +0300545 - enp3s0f1
546 - enp5s0f0
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300547 require_interfaces:
obutenko7b237ee2017-08-07 14:28:01 +0300548 - enp3s0f1
549 - enp5s0f0
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300550 bond0.2416:
551 enabled: true
552 proto: manual
553 type: vlan
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300554 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
555 - bond0
556 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300557 - bond0
558 br-prv:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300559 address: ${_param:_esc}{_param:tenant_address}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300560 enabled: true
561 netmask: 255.255.255.0
562 type: dpdk_ovs_bridge
563 br_ctl:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300564 address: ${_param:_esc}{_param:control_address}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300565 enabled: true
566 netmask: 255.255.255.0
567 proto: static
568 type: bridge
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300569 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
570 - bond0.2416
571 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300572 - bond0.2416
573 dpdk0:
574 bond: dpdkbond1
575 driver: igb_uio
576 enabled: true
577 n_rxq: 2
578 name: enp5s0f1
579 pci: '0000:05:00.1'
580 type: dpdk_ovs_port
581 dpdk1:
582 bond: dpdkbond1
583 driver: igb_uio
584 enabled: true
585 n_rxq: 2
586 name: enp5s0f2
587 pci: '0000:05:00.2'
588 type: dpdk_ovs_port
589 dpdkbond1:
590 bridge: br-prv
591 enabled: true
592 mode: active-backup
593 type: dpdk_ovs_bond
594
595 classes:
596 - environment.lab03_ovs_dpdk.common
597 openstack_database_node03:
598 params:
599 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300600 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300601 classes:
602 - environment.lab03_ovs_dpdk.common
603 infra_kvm_node03:
604 params:
605 # Use interfaces configuration from the context file,
606 # or generate your own 'linux.network.interface' object using
607 # additional inventory.
608 # For example, you can take the 'inventory_node_name' and find it's config
609 # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml,
610 # or skip the original context from 'cookiecutter' object and iterate only custom inventory.
611 linux_network_interfaces:
612 bond0:
613 enabled: true
614 mode: active-backup
615 proto: manual
616 slaves: eno2
617 type: bond
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300618 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
619 - eno2
620 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300621 - eno2
622 bond0.2416:
623 enabled: true
624 proto: manual
625 type: vlan
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300626 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
627 - bond0
628 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300629 - bond0
630 br_ctl:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300631 address: ${_param:_esc}{_param:single_address}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300632 enabled: true
633 netmask: 255.255.255.0
634 proto: static
635 type: bridge
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300636 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
637 - bond0.2416
638 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300639 - bond0.2416
640 br_mgm:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300641 address: ${_param:_esc}{_param:deploy_address}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300642 enabled: true
643 gateway: 172.16.49.1
644 name_servers:
645 - 8.8.8.8
646 - 8.8.4.4
647 netmask: 255.255.255.192
648 proto: static
649 type: bridge
Dennis Dmitrievaf652ac2017-08-04 22:19:05 +0300650 use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344
651 - eno1
652 require_interfaces:
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300653 - eno1
654 eth1:
655 enabled: true
656 master: bond0
657 name: eno2
658 proto: manual
659 type: slave
Dennis Dmitrievb4c48c12017-07-19 15:05:09 +0300660 ipflush_onchange: true
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300661 eth2:
662 enabled: true
663 name: eno1
664 proto: manual
665 type: eth
Dennis Dmitrievb4c48c12017-07-19 15:05:09 +0300666 ipflush_onchange: true
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300667
668 classes:
669 - environment.lab03_ovs_dpdk.common
670 stacklight_monitor_node01:
671 params:
672 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300673 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300674 classes:
675 - environment.lab03_ovs_dpdk.common
676 openstack_control_node01:
677 params:
678 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300679 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300680 classes:
681 - environment.lab03_ovs_dpdk.common
682 stacklight_telemetry_node02:
683 params:
684 linux_network_interfaces:
Dennis Dmitriev20a327c2017-07-21 16:07:56 +0300685 ens3: ${_param:_esc}{_param:linux_single_interface}
Dennis Dmitriev458aac32017-07-18 13:28:21 +0300686 classes:
687 - environment.lab03_ovs_dpdk.common