From patchwork Fri Jun 7 13:54:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladislav Odintsov X-Patchwork-Id: 1945099 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=mmIC82IP; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (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 4VwjNl3Q7bz20PW for ; Fri, 7 Jun 2024 23:54:15 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id DA79D8122A; Fri, 7 Jun 2024 13:54:13 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id R7NI7TS9mCXK; Fri, 7 Jun 2024 13:54:13 +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 smtp1.osuosl.org D2A57812AB Authentication-Results: smtp1.osuosl.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=mmIC82IP Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp1.osuosl.org (Postfix) with ESMTPS id D2A57812AB; Fri, 7 Jun 2024 13:54:12 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id A6F7AC0012; Fri, 7 Jun 2024 13:54:12 +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 B3A4BC0011 for ; Fri, 7 Jun 2024 13:54:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 950DE405EC for ; Fri, 7 Jun 2024 13:54:11 +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 YWKHo-GJb1wI for ; Fri, 7 Jun 2024 13:54:10 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::129; helo=mail-lf1-x129.google.com; envelope-from=odivlad@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 7843140595 Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 7843140595 Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=mmIC82IP Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by smtp4.osuosl.org (Postfix) with ESMTPS id 7843140595 for ; Fri, 7 Jun 2024 13:54:09 +0000 (UTC) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-52b919d214cso2107634e87.2 for ; Fri, 07 Jun 2024 06:54:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717768447; x=1718373247; darn=openvswitch.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QGbksODmgk5OzlW367GMsjIJdNlKzB8geCmFPndt74Q=; b=mmIC82IPS13+2hGlJzrKlZqPDJWdoIO+4edL5bsW2d9+RSMfohRnHfnRvD5GW8Fwdx bldBELqW/x67FgdJH2S1A2jfgA2cptM6NH3Of5qvYQUrfiL6cJ5mcdUTRGm/A4j7gjnO kmKAIB2hzzI30brwx3BARdRewPrqBY7OPBMqOW8WrfIFWV3vyjXVHFFxaH86/hRxOe+f dY7dyO6XSurJs7WXVyQ0SE5ikCylWHPtTGG1hxezWGM+STxP7I64XV1HCbcynGIEGUo7 4g0CiP25/0H2bCakD0LEWGJtepqq0KKejOaMTFsDusy4D2EW1VpVmYlB7CaMWFBFSjyZ uUkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717768447; x=1718373247; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QGbksODmgk5OzlW367GMsjIJdNlKzB8geCmFPndt74Q=; b=POR2AN1wasuBNJdXnPWKt5U9PuBR3UnkJBe7bLV1MmgeKGmzdZsVIkdQvtym79Isn8 vJamOBA2UwNTwZsAyLzGO2NJS+1bJLMozafWjUsgy4mV2oTnKDtLXYZs6ggsOSrJw1rh RRfd4/r/AIRh2Hd2RtRPe+VZKVj2ovsraMWJ8X/2ZOcOptDIU7+579n8vHilfYBzRPVI rPBoxfZOsBivySHDiQzykhCqWWuigT4yhzYU/JoKFXLfR4AjEM2CbM/nvoRF3U6j6Eh0 6OopxUHEM2Ya65InKezl1lnyhHS4JWtnwRwV7LXXt16rOVbBD9BhyGb58SbMElIJuN9L V7PA== X-Gm-Message-State: AOJu0YwbIgwidUyssUP/fMB0iuBYBQ7+pi5gD+ANW5FE09oBgVFSNAd1 BuzfNFy1oZjVSyKhChDbQPkjlnpb/08Qe8vaUsjFq2gJyf7I6z2n1vHw2A== X-Google-Smtp-Source: AGHT+IEdSjjSfA9qzIFgB68W4IsvxJNrJn/fwQiETmv0vpOlHIMiAakcqdFxL1mZjlt1RAmsF/61rQ== X-Received: by 2002:ac2:464b:0:b0:52b:98ab:6100 with SMTP id 2adb3069b0e04-52bb9f79b3fmr1737241e87.15.1717768447073; Fri, 07 Jun 2024 06:54:07 -0700 (PDT) Received: from ip-10-70-112-12.vpc-1e810be1.internal (c2-185-102-122-48.elastic.cloud.croc.ru. [185.102.122.48]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52bb421671bsm536610e87.134.2024.06.07.06.54.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 06:54:06 -0700 (PDT) From: Vladislav Odintsov To: dev@openvswitch.org Date: Fri, 7 Jun 2024 16:54:01 +0300 Message-ID: <20240607135404.758245-1-odivlad@gmail.com> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 Subject: [ovs-dev] [PATCH ovn v6 0/2] Add support to disable VXLAN mode. 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: , Cc: Vladislav Odintsov Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" v6: - Addressed Mark's review comments: 1. Removed global variable "vxlan_mode" change from "global" engine node. 2. Configuration knob "disable_vxlan_mode" was renamed to "vxlan_mode" v5: - Addressed Ihar's review comments: 1. fixed errors after incorrect conflicts solving on rebase; 2. changed VXLAN mode naming to capitalized; 3. clarified VXLAN mode in ovn-architecture man page. v4: - Addressed Dumitru's and Ihar's review comments; - single patch was split into two: 1. function call replaced with a global variable `vxlan_mode`; 2. introduced `disable_vxlan_mode` configuration knob; - rebased onto latest main branch. v3: - Removed accidental ovs submodule change. v2: - Added NEWS item. Vladislav Odintsov (2): northd: Make `vxlan_mode` a global variable. northd: Add support for disabling vxlan mode. NEWS | 4 ++ northd/en-global-config.c | 9 ++++- northd/northd.c | 84 +++++++++++++++++---------------------- northd/northd.h | 6 ++- ovn-architecture.7.xml | 16 +++++--- ovn-nb.xml | 10 +++++ tests/ovn-northd.at | 29 ++++++++++++++ 7 files changed, 104 insertions(+), 54 deletions(-)