blob: 39bc0134f1848d465402ed26365edca0e915c1b8 [file] [log] [blame]
Dennis Dmitrievf4826bc2017-09-28 19:03:54 +03001{#- Provides: #}
2{#- br-prv (OVS bridge) #}
3{#- Requirements: #}
4{#- _param:tenant_address #}
5{#- _param:tenant_netmask #}
6
7 # {{ interfaces_role }}
8 {%- for interface_name, interface in interfaces.items() %}
9 {{ interface_name }}:
10 bond: bonddpdk2
11 driver: igb_uio
12 enabled: true
13 n_rxq: 2
14 name: {{ interface_name }}
15 pci: '{{ interface['dpdk_pci'] }}'
16 type: dpdk_ovs_port
17 {%- endfor %}
18 bonddpdk2:
19 bridge: br-prv
20 enabled: true
21 mode: active-backup
22 type: dpdk_ovs_bond
23 br-prv:
24 address: ${_param:_esc}{_param:tenant_address}
25 enabled: true
26 netmask: ${_param:_esc}{_param:tenant_netmask}
27 type: dpdk_ovs_bridge