aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/ovs_dpdk.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-08-26 09:53:51 +0000
committerGerrit Code Review <review@openstack.org>2016-08-26 09:53:51 +0000
commit6d046bca3c7c63993782ba6646ecdf530a643297 (patch)
treed8aacf95f1919949c1939da965b9712c2b8ab30b /etc/os-net-config/samples/ovs_dpdk.yaml
parent4147c5a7a08dea9a054a1448e0314f8f276f2067 (diff)
parentbb1fcc4e0dbfa2e575570d75d209c5308be41f6d (diff)
Merge "Add support for OVS DPDK Bridge and Port"
Diffstat (limited to 'etc/os-net-config/samples/ovs_dpdk.yaml')
-rw-r--r--etc/os-net-config/samples/ovs_dpdk.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/ovs_dpdk.yaml b/etc/os-net-config/samples/ovs_dpdk.yaml
new file mode 100644
index 0000000..18fee31
--- /dev/null
+++ b/etc/os-net-config/samples/ovs_dpdk.yaml
@@ -0,0 +1,21 @@
+# 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
+ # nic style number does not work as of now. real interface name has
+ # to be provided here.
+ name: eth1