From patchwork Tue May 21 20:15:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Numan Siddique X-Patchwork-Id: 1937531 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VkQft5ywcz1ydW for ; Wed, 22 May 2024 06:15:50 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 95B11406CB; Tue, 21 May 2024 20:15:48 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id QhuzzNAoiqxx; Tue, 21 May 2024 20:15:47 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.9.56; helo=lists.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 4B74E405E2 Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id 4B74E405E2; Tue, 21 May 2024 20:15:47 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 10D07C0077; Tue, 21 May 2024 20:15:47 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 9619FC0037 for ; Tue, 21 May 2024 20:15:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 7940C60A50 for ; Tue, 21 May 2024 20:15:45 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id LRlCGAH8reMD for ; Tue, 21 May 2024 20:15:44 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=217.70.183.195; helo=relay3-d.mail.gandi.net; envelope-from=numans@ovn.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 262E0608F3 Authentication-Results: smtp3.osuosl.org; dmarc=none (p=none dis=none) header.from=ovn.org DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 262E0608F3 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by smtp3.osuosl.org (Postfix) with ESMTPS id 262E0608F3 for ; Tue, 21 May 2024 20:15:43 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 91DAD60002; Tue, 21 May 2024 20:15:40 +0000 (UTC) From: numans@ovn.org To: dev@openvswitch.org Date: Tue, 21 May 2024 16:15:28 -0400 Message-ID: <20240521201528.758953-1-numans@ovn.org> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-GND-Sasl: numans@ovn.org Subject: [ovs-dev] [PATCH ovn v3 0/3] Overlay provider network support. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" From: Numan Siddique This patch series adds support of overlay provider networks so that NAT can be supported on the logical switch subnet even if there are no localnet ports. v2 -> v3 ------ * Rebased and resolved conflicts. v1 -> v2 ------ * Added a new patch, patch 2 to the series to refactor the cr port code. This patch was earlier submitted separately here: https://patchwork.ozlabs.org/project/ovn/patch/20240507215713.902148-1-numans@ovn.org/ * Patch 2 of v1 is now patch 3. * Addressed review comments from Mark. Numan Siddique (3): northd: Don't reparse lport's addresses while adding L2_LKUP flows. northd: Refactor chassisresident port checking. Add support for overlay provider networks. NEWS | 2 + controller/physical.c | 4 + northd/northd.c | 450 +++++++++++++++++++++------------ northd/northd.h | 11 +- ovn-nb.xml | 27 ++ tests/multinode-macros.at | 2 +- tests/multinode.at | 177 +++++++++++++ tests/ovn-northd.at | 520 +++++++++++++++++++++++++++++++++++++- tests/ovn.at | 8 +- 9 files changed, 1025 insertions(+), 176 deletions(-)