From patchwork Fri Jul 2 08:57:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Gray X-Patchwork-Id: 1499904 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.166.133; helo=smtp2.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=RZZ9of2M; dkim-atps=neutral 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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GGTVm3Xf4z9sV8 for ; Fri, 2 Jul 2021 18:57:36 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 6F702405C5; Fri, 2 Jul 2021 08:57:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SFqrsz3NZVov; Fri, 2 Jul 2021 08:57:33 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp2.osuosl.org (Postfix) with ESMTPS id 91D4D40189; Fri, 2 Jul 2021 08:57:32 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 5644DC001A; Fri, 2 Jul 2021 08:57:32 +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 B892DC000E for ; Fri, 2 Jul 2021 08:57:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id A250C60A76 for ; Fri, 2 Jul 2021 08:57:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hj0VMg1WkaVh for ; Fri, 2 Jul 2021 08:57:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by smtp3.osuosl.org (Postfix) with ESMTPS id B62BD60629 for ; Fri, 2 Jul 2021 08:57:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625216248; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FHRzxtIWNLQF9J+Nve4SKvXDUsOmv7wZuaOqcxdfWuw=; b=RZZ9of2MjBYekNSb2FzAGZNfaWM9eGD/YjdiWkVkGMms4RA5YTMY4lcj6haz8toipRmWuX T4SuaQqiMSS+QyO9d5y7bcWxgTgD13/gEpuIHBUusvrdsa3htQNsI/Gh6c1D0ceQEkof+Q R1VmedF7wzw2it3WBpsHm1SAO387YCM= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-119-M5Y8l2dbOj-UCxDjXzCOug-1; Fri, 02 Jul 2021 04:57:27 -0400 X-MC-Unique: M5Y8l2dbOj-UCxDjXzCOug-1 Received: by mail-qt1-f198.google.com with SMTP id 44-20020aed30af0000b029024e8ccfcd07so5170738qtf.11 for ; Fri, 02 Jul 2021 01:57:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lyjgYAqiH8BggFbPBQEWdV8ya806spFMfLqGwABA/ko=; b=XV3yqkg7u55EaRDL0YlJMYw5HUfV1+aNgXboVYbg1J15Kxuhd4xV35T51SkUj+m6Ez LP9LYTiJflsjolJ2wVRsxQ1flFDP5V5rz8aHZD1moSBkPHD9D6k6zP9Zyuu6/E6orMel CkmDJrvXDKByilUyUD6PnBY3r2WjWbfJULfbaLAS/uGn23EnqjP2i9+A2Jicr8zbUahG rjMizPokUrS8s5jRQjrK27ndTtDOLoDk0YsQ/W63hPuHXFgHnTPVHVg+GrKlgEMxRy+6 ghft37C4ZQa+7WMLz3tcoFuehCe8tLjbRyr8v+J9pODbd4Z6Sl6cENkLR3ZJmFzOY4l/ G0pA== X-Gm-Message-State: AOAM530WvVoNAg+2xS5S/lQMJNCdTNsr3u91WLZkYLAhQS+BU5lZdtVq zw7+AIZazD7dSEwDh0kJl/9RBaFIC569At6Ig1ljvvmjIQ6NUpRQ92NH9EBWCaGI9Sh38I6Wkb1 dAWLoen1EPfxu63Zb9Ev8VRc00gGxMT6KwNe4d2PRQqelUucoHzHm9XMm9258O3eehMBv X-Received: by 2002:ac8:4e89:: with SMTP id 9mr4037122qtp.356.1625216246173; Fri, 02 Jul 2021 01:57:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrdasJQ7A+hSPzWojtIOMhM7sDPb6DXtNiD6wvYsEKUH0gsrC/OrhgBiErumbt9KE4R0A5tg== X-Received: by 2002:ac8:4e89:: with SMTP id 9mr4037113qtp.356.1625216245937; Fri, 02 Jul 2021 01:57:25 -0700 (PDT) Received: from wsfd-netdev91.ntdv.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id p14sm1118805qkg.123.2021.07.02.01.57.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jul 2021 01:57:25 -0700 (PDT) From: Mark Gray To: dev@openvswitch.org Date: Fri, 2 Jul 2021 04:57:19 -0400 Message-Id: <20210702085723.3188021-1-mark.d.gray@redhat.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mark.d.gray@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Cc: i.maximets@ovn.org, dceara@redhat.com Subject: [ovs-dev] [PATCH ovn v3 0/4] northd: Refactor Logical Flows for routers with DNAT/Load Balancers 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" There are a number of issues with logical flows in the DNAT/SNAT/DEFRAG tables. This series addresses these issues. This is a continuation of the series https://patchwork.ozlabs.org/project/ovn/list/?series=245191. As additional changes and patches have been added and the scope of the patch is broader, the series starts from v1. v3: resending as my mail client gave an error message for patch 4/4 Mark Gray (4): northd: update stage-name if changed northd: Refactor Logical Flows for routers with DNAT/Load Balancers ovn.at: Fix whitespace AUTHORS: update email for Mark Gray .mailmap | 1 + AUTHORS.rst | 2 +- lib/ovn-util.c | 6 +- northd/ovn-northd.8.xml | 285 ++++++++++------- northd/ovn-northd.c | 275 ++++++++++------ northd/ovn_northd.dl | 136 +++++--- tests/ovn-northd.at | 685 +++++++++++++++++++++++++++++++++++----- tests/ovn.at | 18 +- tests/system-ovn.at | 58 +++- 9 files changed, 1096 insertions(+), 370 deletions(-)