@@ -1808,6 +1808,17 @@ Set up custom TX queue length for tap interfaces: | |||
network: | |||
tap_custom_txqueuelen: 10000 | |||
Open vSwitch native bond: | |||
.. code-block:: yaml | |||
bond1: | |||
enabled: true | |||
type: ovs_bond | |||
mode: balance-slb | |||
bridge: br-ex | |||
slaves: eno3 eno4 | |||
DPDK OVS interfaces | |||
**DPDK OVS NIC** |
@@ -168,7 +168,11 @@ ovs_bridge_up_{{ interface_name }}: | |||
- file: ovs_bridge_{{ interface_name }} | |||
- file: linux_interfaces_final_include | |||
{%- elif interface.type == 'ovs_bond' %} | |||
ovs_bond_{{ interface_name }}: | |||
cmd.run: | |||
- name: ovs-vsctl add-bond {{ interface.bridge }} {{ interface_name }} {{ interface.slaves }} bond_mode={{ interface.mode }} | |||
- unless: ovs-vsctl show | grep -A 2 'Port.*{{ interface_name }}.' | |||
{%- elif interface.type == 'ovs_port' %} | |||
@@ -48,3 +48,10 @@ linux: | |||
type: ovs_port | |||
ovs_bridge: br-ens0 | |||
bridge: br-ens0 | |||
bond1: | |||
enabled: true | |||
type: ovs_bond | |||
mode: balance-slb | |||
bridge: br-ex | |||
slaves: eno3 eno4 | |||