aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSaravanan KR <skramaja@redhat.com>2016-07-05 14:47:00 +0530
committerSaravanan KR <skramaja@redhat.com>2016-08-25 11:07:43 +0530
commitbb1fcc4e0dbfa2e575570d75d209c5308be41f6d (patch)
tree0c4bf3178405ddf4961100a43251c38fd00c8cdb /etc
parentc6e21c8bf6c80cd0daeec6ed3c6b957dc9ad2e74 (diff)
Add support for OVS DPDK Bridge and Port
Add support in os-net-config for DPDK ports and OVS user bridges, and implement parameters which will be set by the TripleO Heat Templates when using TripleO. Implements: blueprint tripleo-ovs-dpdk Change-Id: Id4a23ced28b92a642c180a35c55080e5f4e2e05d
Diffstat (limited to 'etc')
-rw-r--r--etc/os-net-config/samples/ovs_dpdk.json20
-rw-r--r--etc/os-net-config/samples/ovs_dpdk.yaml21
2 files changed, 41 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/ovs_dpdk.json b/etc/os-net-config/samples/ovs_dpdk.json
new file mode 100644
index 0000000..dc6706d
--- /dev/null
+++ b/etc/os-net-config/samples/ovs_dpdk.json
@@ -0,0 +1,20 @@
+{ "network_config": [
+ {
+ "type": "ovs_user_bridge",
+ "name": "br-link",
+ "members": [
+ {
+ "type": "ovs_dpdk_port",
+ "name": "dpdk0",
+ "driver": "igb_uio",
+ "members": [
+ {
+ "type": "interface",
+ "name": "eth1",
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
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