From patchwork Thu Jun 6 21:44:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Numan Siddique X-Patchwork-Id: 1944778 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.136; helo=smtp3.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 4VwK4F0TcYz20Q6 for ; Fri, 7 Jun 2024 08:38:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id B6BEB614B1; Thu, 6 Jun 2024 22:38:32 +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 2WVr4umFPf7E; Thu, 6 Jun 2024 22:38:31 +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 smtp3.osuosl.org 538CC608A3 Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTPS id 538CC608A3; Thu, 6 Jun 2024 22:38:31 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 1A827C0012; Thu, 6 Jun 2024 22:38:31 +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 405C7C0011 for ; Thu, 6 Jun 2024 22:38:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 981F04059B for ; Thu, 6 Jun 2024 21:44:22 +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 UepaLntBcSe8 for ; Thu, 6 Jun 2024 21:44:21 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:4b98:dc4:8::226; helo=relay6-d.mail.gandi.net; envelope-from=numans@ovn.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 2DD7740584 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 2DD7740584 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::226]) by smtp4.osuosl.org (Postfix) with ESMTPS id 2DD7740584 for ; Thu, 6 Jun 2024 21:44:20 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 63242C0002; Thu, 6 Jun 2024 21:44:17 +0000 (UTC) From: numans@ovn.org To: dev@openvswitch.org Date: Thu, 6 Jun 2024 17:44:12 -0400 Message-ID: <20240606214412.168715-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 v4 0/1] Overlay provider network support. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.30 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 adds support of overlay provider networks so that NAT can be supported on the logical switch subnet even if there are no localnet ports. v3 -> v4 ------ * Patches 1 and 2 of v3 are merged. * Renamed the function name in the patch 3 of v3 as suggested by Mark. 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 (1): Add support for overlay provider networks. NEWS | 2 + controller/physical.c | 4 + northd/northd.c | 239 ++++++++++++++---- northd/northd.h | 1 + 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, 928 insertions(+), 52 deletions(-)