From patchwork Wed Oct 30 01:31:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russell Bryant X-Patchwork-Id: 1186444 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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=none (p=none dis=none) header.from=ovn.org 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 472rXS2ZP2z9sNw for ; Wed, 30 Oct 2019 12:31:51 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 49CF6D2E; Wed, 30 Oct 2019 01:31:48 +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 72221D07 for ; Wed, 30 Oct 2019 01:31:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id 9A38A876 for ; Wed, 30 Oct 2019 01:31:45 +0000 (UTC) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-120-7n9CNo3yPpOvSKEQhcrg_w-1; Tue, 29 Oct 2019 21:31:42 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C3E98800C80 for ; Wed, 30 Oct 2019 01:31:41 +0000 (UTC) Received: from t480s.redhat.com (ovpn-116-38.phx2.redhat.com [10.3.116.38]) by smtp.corp.redhat.com (Postfix) with ESMTP id 786245D9C3 for ; Wed, 30 Oct 2019 01:31:41 +0000 (UTC) From: Russell Bryant To: dev@openvswitch.org Date: Tue, 29 Oct 2019 21:31:32 -0400 Message-Id: <20191030013138.9390-1-russell@ovn.org> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: 7n9CNo3yPpOvSKEQhcrg_w-1 X-Mimecast-Spam-Score: 0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH ovn 0/6] Add IPv6 NAT support 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: , Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org This came up with reviewing the usage of ovn-kubernetes with IPv6. It's more straight forward to start with using IPv6 NAT, matching the IPv4 network topology with Kubernetes. Eventually, we'd want to allow routable IPv6 addresses everywhere, but this gives us the option of using NAT where it's helpful. [PATCH 1/6] northd: Fix table ID for IPv6 router ingress. [PATCH 2/6] actions: Add IPv6 support to lflow NAT actions [PATCH 3/6] ovn-nbctl: Allow IPv6 NAT rules to be added [PATCH 4/6] northd: Add lflows for IPv6 NAT. [PATCH 5/6] system-ovn: Add IPv6 NAT test cases [PATCH 6/6] NEWS: Add IPv6 NAT support NEWS | 6 include/ovn/actions.h | 6 lib/actions.c | 35 +- northd/ovn-northd.c | 378 ++++++++++++++++----- tests/ovn-nbctl.at | 41 +- tests/ovn.at | 18 - tests/system-ovn.at | 862 +++++++++++++++++++++++++++++++++++++++++++++++++- utilities/ovn-nbctl.c | 48 ++ utilities/ovn-trace.c | 14 9 files changed, 1266 insertions(+), 142 deletions(-) --- Russell Bryant