blob: 9cd3de8c2f6cb44c717d6b5ed36a8ee8e54e9b81 [file] [log] [blame]
sgudz1a843992018-05-24 16:15:26 +03001{#- Provides: #}
2{#- br-prv (OVS bridge) #}
3{#- Requirements: #}
4{#- _param:tenant_address #}
5{#- _param:tenant_network_netmask #}
6 # {{ interfaces_role }}
7 {{- set_param('linux_network_bridge', 'openvswitch') }}
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 ipflush_onchange: true
18 proto: manual
19 {%- endfor %}
20 bonddpdk2:
21 bridge: br-prv
22 enabled: true
23 mode: balance-slb
24 type: dpdk_ovs_bond
25 br-prv:
26 address: ${_param:_esc}{_param:tenant_address}
27 enabled: true
28 netmask: ${_param:_esc}{_param:tenant_network_netmask}
29 type: dpdk_ovs_bridge