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

2018-05-25 Thread Ben Pfaff
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 
> Signed-off-by: William Tu 

Thanks!  Applied to master.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


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

2018-05-25 Thread William Tu
Update Documentation/faq/configuration.rst about ERSPAN
and Update NEWS.

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

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
 
-- 
2.7.4

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev