From patchwork Wed Nov 4 07:02:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Pfaff X-Patchwork-Id: 1393674 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=fraxinus.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ovn.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CQyKT2gwTz9sTK for ; Wed, 4 Nov 2020 18:03:09 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9B353864AA; Wed, 4 Nov 2020 07:03:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h1eV7R4F7JyI; Wed, 4 Nov 2020 07:03:04 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by fraxinus.osuosl.org (Postfix) with ESMTP id 30DCC862A9; Wed, 4 Nov 2020 07:03:02 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 0E602C1AD7; Wed, 4 Nov 2020 07:03:02 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 159B4C0051 for ; Wed, 4 Nov 2020 07:03:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0009520797 for ; Wed, 4 Nov 2020 07:02:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lj++xs7CA0jN for ; Wed, 4 Nov 2020 07:02:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by silver.osuosl.org (Postfix) with ESMTPS id 1479E203B1 for ; Wed, 4 Nov 2020 07:02:56 +0000 (UTC) X-Originating-IP: 75.54.222.30 Received: from sigfpe.attlocal.net (75-54-222-30.lightspeed.rdcyca.sbcglobal.net [75.54.222.30]) (Authenticated sender: blp@ovn.org) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id DF99520016; Wed, 4 Nov 2020 07:02:52 +0000 (UTC) From: Ben Pfaff To: dev@openvswitch.org Date: Tue, 3 Nov 2020 23:02:34 -0800 Message-Id: <20201104070246.2847579-1-blp@ovn.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Cc: Ben Pfaff Subject: [ovs-dev] [PATCH ovn 00/12] DDlog implementation of ovn-northd 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" This is also available at: https://github.com/blp/ovs-reviews/tree/ddlog7 Ben Pfaff (9): tests: Improve "dhcpv4 : 1 HV, 2 LS, 2 LSPs/LS". tests: Improve "ipam" test. tests: Fix port numbering in "1 LR with distributed gateway port". tests: More careful checking. tests: Improve "check allowed/disallowed external dnat..." test. tests: Improve "reject ACL" test. Documentation: Update repo information and prerequisites. ovn-l7: Move ipv6_addr_is_routable_multicast() into new .c file. tests: Prepare for multiple northd types. Justin Pettit (1): northd: Move functions from ovn-northd.c into ovn-util. Leonid Ryzhyk (2): Export `VLOG_WARN` and `VLOG_ERR` from libovn for use in ddlog ovn-northd-ddlog: New implementation of ovn-northd based on ddlog. Documentation/automake.mk | 2 + Documentation/intro/install/general.rst | 58 +- Documentation/topics/debugging-ddlog.rst | 280 + Documentation/topics/index.rst | 1 + Documentation/tutorials/ddlog-new-feature.rst | 362 + Documentation/tutorials/index.rst | 1 + NEWS | 6 + acinclude.m4 | 43 + configure.ac | 5 + lib/automake.mk | 1 + lib/ovn-l7.c | 39 + lib/ovn-l7.h | 19 +- lib/ovn-util.c | 96 +- lib/ovn-util.h | 17 + m4/ovn.m4 | 16 + northd/.gitignore | 4 + northd/automake.mk | 104 + northd/helpers.dl | 114 + northd/ipam.dl | 492 ++ northd/lrouter.dl | 701 ++ northd/lswitch.dl | 607 ++ northd/multicast.dl | 260 + northd/ovn-nb.dlopts | 13 + northd/ovn-northd-ddlog.c | 1752 ++++ northd/ovn-northd.c | 51 - northd/ovn-sb.dlopts | 28 + northd/ovn.dl | 373 + northd/ovn.rs | 843 ++ northd/ovn.toml | 2 + northd/ovn_northd.dl | 7456 +++++++++++++++++ northd/ovsdb2ddlog2c | 127 + tests/atlocal.in | 8 + tests/network-functions.at | 18 + tests/ovn-ic.at | 11 +- tests/ovn-macros.at | 99 +- tests/ovn-northd.at | 432 +- tests/ovn.at | 1021 +-- tests/ovs-macros.at | 20 +- tests/system-ovn.at | 50 +- tutorial/ovs-sandbox | 24 +- utilities/checkpatch.py | 2 +- utilities/ovn-ctl | 20 +- 42 files changed, 14794 insertions(+), 784 deletions(-) create mode 100644 Documentation/topics/debugging-ddlog.rst create mode 100644 Documentation/tutorials/ddlog-new-feature.rst create mode 100644 lib/ovn-l7.c create mode 100644 northd/helpers.dl create mode 100644 northd/ipam.dl create mode 100644 northd/lrouter.dl create mode 100644 northd/lswitch.dl create mode 100644 northd/multicast.dl create mode 100644 northd/ovn-nb.dlopts create mode 100644 northd/ovn-northd-ddlog.c create mode 100644 northd/ovn-sb.dlopts create mode 100644 northd/ovn.dl create mode 100644 northd/ovn.rs create mode 100644 northd/ovn.toml create mode 100644 northd/ovn_northd.dl create mode 100755 northd/ovsdb2ddlog2c