aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/vpp_interface.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-04-05 17:31:14 +0000
committerGerrit Code Review <review@openstack.org>2017-04-05 17:31:14 +0000
commitf26b56c8f2515ea7bbd349d3367ccdf6600d720a (patch)
treea2a586f7ea69c9508de10783f0a64287b64e9ed5 /etc/os-net-config/samples/vpp_interface.yaml
parent1b83afb07ddec59845ea3ca47fb9b20eefba1c5d (diff)
parentc5e11bbfcda78f021b38bf9177f0c661b8f59b20 (diff)
Merge "Add support for VPP interface"
Diffstat (limited to 'etc/os-net-config/samples/vpp_interface.yaml')
-rw-r--r--etc/os-net-config/samples/vpp_interface.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/vpp_interface.yaml b/etc/os-net-config/samples/vpp_interface.yaml
new file mode 100644
index 0000000..de790d5
--- /dev/null
+++ b/etc/os-net-config/samples/vpp_interface.yaml
@@ -0,0 +1,18 @@
+network_config:
+ -
+ type: vpp_interface
+ name: nic2
+ addresses:
+ -
+ ip_netmask: 192.0.2.1/24
+ # DPDK poll-mode driver name. Defaults to 'vfio-pci', other possible value
+ # is 'uio_pci_generic'. It is also possible to specify other driver names
+ # such as 'igb_uio', however, it is assumed that any required kernel
+ # modules for those drivers are already loaded when os-net-config is
+ # invoked.
+ uio_driver: uio_pci_generic
+ # Interface options such as vlan stripping and tx/rx transmit queues
+ # specification. Reference for those configurations can
+ # be found at https://wiki.fd.io/view/VPP/Command-line_Arguments
+ # Example: 'vlan-strip-offload on num-rx-queues 3'
+ #options: "vlan-strip-offload off"