os-net-config/etc/os-net-config/samples/ovs_dpdk.yaml
Saravanan KR f79d534c3e Supporting numbered nics for DPDK Port and DPDK Bond
Modified the sample code to use numbered nics instead of physical
device name and added test code for testing the numbered nic usecases.

Implements: blueprint tripleo-ovs-dpdk
Depends-On: If1c91402d2d393140dc1b4a678e68a1bcdbe81e4

Change-Id: Ifadb495be57fcef56a97250de0c52fd03f2dd817
2016-08-26 15:30:58 +05:30

20 lines
644 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'.
network_config:
-
type: ovs_user_bridge
name: br-link
members:
-
type: ovs_dpdk_port
# dpdk0 name is generated by dpdk drivers after dpdk_nic_bind
name: dpdk0
# driver is optional argument, default driver is 'vfio-pci'
driver: igb_uio
members:
- type: interface
name: nic2