summaryrefslogtreecommitdiff
path: root/vswitchd
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2018-05-15 16:10:48 -0400
committerBen Pfaff <blp@ovn.org>2018-05-21 20:33:30 -0700
commit7dc18ae96d33813a68367e72da5edbdd95d1a35a (patch)
tree95e43e27a4162c816fb483057367414db6a55885 /vswitchd
parent0ffff4975308369d9beeeb8fb24e05a19aa155bd (diff)
downloadopenvswitch-7dc18ae96d33813a68367e72da5edbdd95d1a35a.tar.gz
userspace: add erspan tunnel support.
ERSPAN is a tunneling protocol based on GRE tunnel. The patch add erspan tunnel support for ovs-vswitchd with userspace datapath. Configuring erspan tunnel is similar to gre tunnel, but with additional erspan's parameters. Matching a flow on erspan's metadata is also supported, see ovs-fields for more details. Signed-off-by: William Tu <u9012063@gmail.com> Signed-off-by: Greg Rose <gvrose8192@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'vswitchd')
-rw-r--r--vswitchd/vswitch.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index acc1b0314..3940b8de6 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -2633,6 +2633,40 @@
</group>
</group>
+ <group title="Tunnel Options: erspan only">
+ <p>
+ Only <code>erspan</code> interfaces support these options.
+ </p>
+ <column name="options" key="erspan_idx">
+ <p>
+ 20 bit index/port number associated with the ERSPAN traffic's
+ source port and direction (ingress/egress). This field is
+ platform dependent.
+ </p>
+ </column>
+
+ <column name="options" key="erspan_ver">
+ <p>
+ ERSPAN version: 1 for version 1 (type II)
+ or 2 for version 2 (type III).
+ </p>
+ </column>
+
+ <column name="options" key="erspan_dir">
+ <p>
+ Specifies the ERSPAN v2 mirrored traffic's direction.
+ 1 for egress traffic, and 0 for ingress traffic.
+ </p>
+ </column>
+
+ <column name="options" key="erspan_hwid">
+ <p>
+ ERSPAN hardware ID is a 6-bit unique identifier of an
+ ERSPAN v2 engine within a system.
+ </p>
+ </column>
+ </group>
+
<group title="Patch Options">
<p>
These options apply only to <dfn>patch ports</dfn>, that is, interfaces