diff mbox series

[ovs-dev] erspan: update NEWS and FAQ.

Message ID 1527266840-63498-1-git-send-email-u9012063@gmail.com
State Accepted
Headers show
Series [ovs-dev] erspan: update NEWS and FAQ. | expand

Commit Message

William Tu May 25, 2018, 4:47 p.m. UTC
Update Documentation/faq/configuration.rst about ERSPAN
and Update NEWS.

Cc: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: William Tu <u9012063@gmail.com>
---
 Documentation/faq/configuration.rst | 20 ++++++++++++++++++--
 NEWS                                |  5 +++++
 2 files changed, 23 insertions(+), 2 deletions(-)

Comments

Ben Pfaff May 25, 2018, 8:56 p.m. UTC | #1
On Fri, May 25, 2018 at 09:47:20AM -0700, William Tu wrote:
> Update Documentation/faq/configuration.rst about ERSPAN
> and Update NEWS.
> 
> Cc: Greg Rose <gvrose8192@gmail.com>
> Signed-off-by: William Tu <u9012063@gmail.com>

Thanks!  Applied to master.
diff mbox series

Patch

diff --git a/Documentation/faq/configuration.rst b/Documentation/faq/configuration.rst
index 1c93a55cc720..2b9d9b0f57d9 100644
--- a/Documentation/faq/configuration.rst
+++ b/Documentation/faq/configuration.rst
@@ -191,8 +191,24 @@  Q: How do I configure mirroring of all traffic to a GRE tunnel?
 
 Q: Does Open vSwitch support ERSPAN?
 
-    A: No.  As an alternative, Open vSwitch supports mirroring to a GRE tunnel
-    (see above).
+    A: Yes. ERSPAN version I and version II over IPv4 GRE and
+    IPv6 GRE tunnel are supported.  See ovs-fields(7) for matching
+    and setting ERSPAN fields.
+
+    ::
+
+        $ ovs-vsctl add-br br0
+        $ #For ERSPAN type 2 (version I)
+        $ ovs-vsctl add-port br0 at_erspan0 -- \
+                set int at_erspan0 type=erspan options:key=1 \
+                options:remote_ip=172.31.1.1 \
+                options:erspan_ver=1 options:erspan_idx=1
+        $ #For ERSPAN type 3 (version II)
+        $ ovs-vsctl add-port br0 at_erspan0 -- \
+                set int at_erspan0 type=erspan options:key=1 \
+                options:remote_ip=172.31.1.1 \
+                options:erspan_ver=2 options:erspan_dir=1 \
+                options:erspan_hwid=4
 
 Q: How do I connect two bridges?
 
diff --git a/NEWS b/NEWS
index ec548b02a8b0..a7f258328a72 100644
--- a/NEWS
+++ b/NEWS
@@ -36,6 +36,11 @@  Post-v2.9.0
          ovs-appctl dpif-netdev/pmd-perf-show
      * Supervision of PMD performance metrics and logging of suspicious
        iterations
+   - ERSPAN:
+     * Implemented ERSPAN protocol (draft-foschiano-erspan-00.txt) for
+       both kernel datapath and userspace datapath.
+     * Added port-based and flow-based ERSPAN tunnel port support, added
+       OpenFlow rules matching ERSPAN fields. See ovs-fields(7).
 
 v2.9.0 - 19 Feb 2018
 --------------------