os-net-config/etc/os-net-config/samples/ovs_dpdk_bond.yaml

33 lines
997 B
YAML

# ovs_user_bridge type refers to the OVSUserBridge OVS ifup type, which will
# have the datapath type set as 'netdev' for DPDK processing.
# ovs_dpdk_port type refers to the OVSDPDKPort OVS ifup type, which will
# add the port to the bridge with the interface type as 'dpdk'.
# ovs_dpdk_bond type refers to the OVSDPDKBond OVS ifup type, which will
# create the bond with dpdk interface type for dpdk ports
network_config:
-
type: ovs_user_bridge
name: br-link
members:
-
type: ovs_dpdk_bond
name: dpdkbond0
# MTU is optional, e.g. for jumbo frames
mtu: 9000
members:
-
type: ovs_dpdk_port
name: dpdk0
members:
-
type: interface
name: nic2
-
type: ovs_dpdk_port
name: dpdk1
members:
-
type: interface
name: nic3