sgudz | 1a84399 | 2018-05-24 16:15:26 +0300 | [diff] [blame^] | 1 | {#- 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 |