From patchwork Wed Jul 7 08:28:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Gray X-Patchwork-Id: 1501625 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.137; helo=smtp4.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=fsV0ZRlJ; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 4GKXdF1vYbz9sjD for ; Wed, 7 Jul 2021 18:28:48 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 6259E405FF; Wed, 7 Jul 2021 08:28:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zOQVZjVQBnB6; Wed, 7 Jul 2021 08:28:45 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp4.osuosl.org (Postfix) with ESMTPS id 64BA3401E8; Wed, 7 Jul 2021 08:28:44 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 2D3F9C0024; Wed, 7 Jul 2021 08:28:44 +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 AAF6BC000E for ; Wed, 7 Jul 2021 08:28:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 9A156401E8 for ; Wed, 7 Jul 2021 08:28:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ni-dgPFOz-Ze for ; Wed, 7 Jul 2021 08:28:40 +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 [170.10.133.124]) by smtp4.osuosl.org (Postfix) with ESMTPS id 40448401E7 for ; Wed, 7 Jul 2021 08:28:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625646519; 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=KZ4xGywus5kgjNx+3k3DVQH989tHnCJ0oz8lw6WqKRU=; b=fsV0ZRlJfvJtIjrO3tXu5qOIMh6LZ22ciDUBQPCbYLZvluC4GKtmb0PQqYMpclha8nI/9I QW2e0t2dMyeVOybpz5skp1sAyPHECR+9i4yX5DQwcHKc0nwuBqzP2sSPmNSkxunT8GrU0C om7foudbcmNGmOh3poq1+QYPPQK7qp4= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-18-cbWt7mnSO2aAKbrOUDjPMQ-1; Wed, 07 Jul 2021 04:28:35 -0400 X-MC-Unique: cbWt7mnSO2aAKbrOUDjPMQ-1 Received: by mail-qk1-f198.google.com with SMTP id 4-20020a3709040000b02903b4d0f603a9so999335qkj.21 for ; Wed, 07 Jul 2021 01:28:35 -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=uxMBnacGQqwIeeE1t27dOasUxJs71Y9wK+f/bD2zEX4=; b=FX12b11WQMLbaTVAmwuOmWI/zCBcdH89UYN27nurb0Cl/GOgl8NeFI34ZpT1wVwcLm FOFfyCAKxf+l58y+AcAvQ4nwR8GDW6g4YyJTx6ZvrofuhIzD2I8TleWLcwFK9zzRmJPw mfB5peefgWAV2h8+Odp9XryWLVwcNfe/uGF1K0c5Wm/LbS5AOwPwsGHw7J9z69aadqet TYwwseP9nv7qlUMplhSsfVYLW0fOYb9Pj8omDvgvXumSBcCHHIdxnPSp+NcdgFBNDAKa 81aw93//4wCEZ1iKikE0FJG+vlFsXMeA8a5J5cWlRiCSyyNnAnIs/Nn6pJ44qJw2BrRK KdhQ== X-Gm-Message-State: AOAM532wXlC6uSn51OmHn7+ydXj08UghlvI+4XpVROCutI35HB550pxU lonReMKSdb9vUOMw1WRLbnwDDx9dmmpe2GYKV24VbPmdt8NnA3lYLQhkP0aqXww6iy/t01KJvoH UQjCBPZELcjPYVNH6s14V6NTEfYkuEhnEskQ7hmLZycNTrPmJ+25zHqC2qN6dd6f8vXU9 X-Received: by 2002:a0c:d7c4:: with SMTP id g4mr22160738qvj.23.1625646514464; Wed, 07 Jul 2021 01:28:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9fSlgqqkpYLIcWBh5J0QYab8Oxh3c8b7FW3i79KMQCOF3QiOpc0mwZbJycNMUtBoACjVRfw== X-Received: by 2002:a0c:d7c4:: with SMTP id g4mr22160720qvj.23.1625646514162; Wed, 07 Jul 2021 01:28:34 -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 k17sm1734413qta.85.2021.07.07.01.28.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 01:28:33 -0700 (PDT) From: Mark Gray To: dev@openvswitch.org Date: Wed, 7 Jul 2021 04:28:27 -0400 Message-Id: <20210707082831.2074661-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 v7 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 v4: fix line length errors from 0-day v6: rebase v7: rebase 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 | 219 ++++++++----- northd/ovn_northd.dl | 136 +++++--- tests/ovn-northd.at | 685 +++++++++++++++++++++++++++++++++++----- tests/ovn.at | 18 +- tests/system-ovn.at | 58 +++- 9 files changed, 1068 insertions(+), 342 deletions(-)