From patchwork Thu May 9 18:00:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Numan Siddique X-Patchwork-Id: 1933559 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=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (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 4Vb0Db4j9dz20fZ for ; Fri, 10 May 2024 04:00:45 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 3E16E404EB; Thu, 9 May 2024 18:00:42 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id SADgDxoFOUGf; Thu, 9 May 2024 18:00:41 +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 smtp2.osuosl.org 4751440180 Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp2.osuosl.org (Postfix) with ESMTPS id 4751440180; Thu, 9 May 2024 18:00:41 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 26D98C0077; Thu, 9 May 2024 18:00:41 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 3C3C7C0037 for ; Thu, 9 May 2024 18:00:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 20A60415B7 for ; Thu, 9 May 2024 18:00:40 +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 gyebDyoaOl9I for ; Thu, 9 May 2024 18:00:39 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=217.70.183.199; helo=relay9-d.mail.gandi.net; envelope-from=numans@ovn.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 9038141547 Authentication-Results: smtp4.osuosl.org; dmarc=none (p=none dis=none) header.from=ovn.org DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 9038141547 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by smtp4.osuosl.org (Postfix) with ESMTPS id 9038141547 for ; Thu, 9 May 2024 18:00:37 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 99F54FF802; Thu, 9 May 2024 18:00:34 +0000 (UTC) From: numans@ovn.org To: dev@openvswitch.org Date: Thu, 9 May 2024 14:00:15 -0400 Message-ID: <20240509180015.1463789-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 v2 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. 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 | 440 ++++++++++++++++++++------------ 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, 1020 insertions(+), 171 deletions(-)