From patchwork Fri May 25 16:47:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Tu X-Patchwork-Id: 920662 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ctvxyJAM"; dkim-atps=neutral Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40sscp68rSz9ry1 for ; Sat, 26 May 2018 02:47:53 +1000 (AEST) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id AFA5AD84; Fri, 25 May 2018 16:47:49 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id E316F9DA for ; Fri, 25 May 2018 16:47:48 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id EEA0B6D8 for ; Fri, 25 May 2018 16:47:47 +0000 (UTC) Received: by mail-pl0-f67.google.com with SMTP id ay10-v6so3483369plb.1 for ; Fri, 25 May 2018 09:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=OgolDimQYg50A3JLLZ1o3Jr2G7GCb+wcMmwZW31xHGc=; b=ctvxyJAMPcvObivoMRI0LGWBAcyZPgRFQjf3HI0Iq8aKIcYsqptaFGhcAOzthJXYRw 0piQXE+/ixtYrRqxM9LqsliUdpHuP/8hq3pmbX4BWb3lLS64iyqczt8SbjnZM2o9qpuP xeAl9v0oO7AJIyrO2Nlmm6jB5cmiUXaLMHQ2JvkqsK2yFYYb4nuLYV73dkv1NSBoQ8We MHTCTxcPUYkyODg7CwpQRaf46r2YDu3QLfAAinpz4tEuVgeXuXdTzKVei+XDcCXkOrbB bmFK8BtW6x8ZFPm53pSoxMxT+v+j//L1PyfCY++iY7yAWvBoZCFqZSZWZnVzxErC9jsy PVWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=OgolDimQYg50A3JLLZ1o3Jr2G7GCb+wcMmwZW31xHGc=; b=tIrbMwU/rBsyn3CrC/7S2TOf8XU2Pe/D2y9O6Ej8qg2W7UAQQtq+udTxPZEaV/Wb5x Nill8V/pTjgH1vWs0ohxLctBLaNdUysfDPNT3O/IcI6kG9w5DG8TPvJz14BfzanEX+z5 9kmd2a328N2qbtbSHP+ek1FwdK1kSUQ6KkGt/Tkk7MouhFxQGdWiJZYhI5xCUx/Bt29b oElwMlnA1KWOjSdPJxTV60iKkbruGBQxbFnXRozVSMaPmB8d/gif54p/FYK+Q9teV/zs aUlw2v7EI0lqNK1Je80f8Xu3yMMtPXl8JkKuqpB4F/m5AS2BV2ZbZ/UvvFEB1f+xmdP3 jLbg== X-Gm-Message-State: ALKqPwePfd9SnKgOlTpjTW4UWLVa4fCtcAEO0w68YaXV0Ys4UmgHI1KB cTIoc/41CQoHz+iS0vRpDh76df0s X-Google-Smtp-Source: AB8JxZrLFC7KrvHrm5I+/jl3ZrYDoh2lEYRp4pmilDqLZaoIvh5FH0/onyCoFHWi38xjW4FWsLsRUg== X-Received: by 2002:a17:902:56e:: with SMTP id 101-v6mr3403777plf.25.1527266867229; Fri, 25 May 2018 09:47:47 -0700 (PDT) Received: from sc9-mailhost2.vmware.com ([66.170.99.2]) by smtp.gmail.com with ESMTPSA id j11-v6sm29898255pgp.2.2018.05.25.09.47.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 May 2018 09:47:46 -0700 (PDT) From: William Tu To: dev@openvswitch.org Date: Fri, 25 May 2018 09:47:20 -0700 Message-Id: <1527266840-63498-1-git-send-email-u9012063@gmail.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH] erspan: update NEWS and FAQ. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org 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 --------------------