From patchwork Wed Nov 11 01:24:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Pfaff X-Patchwork-Id: 1397893 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.138; helo=whitealder.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 whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CW6VK5zWkz9s1l for ; Wed, 11 Nov 2020 12:25:13 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3986586B5C; Wed, 11 Nov 2020 01:25:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cyqN+zaRs7f4; Wed, 11 Nov 2020 01:25:08 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id CE19B86B88; Wed, 11 Nov 2020 01:25:08 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id B3DDCC1AD8; Wed, 11 Nov 2020 01:25:08 +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 5975FC088B for ; Wed, 11 Nov 2020 01:25:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 474C3273FC for ; Wed, 11 Nov 2020 01:25:07 +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 uq2v2nexgYFx for ; Wed, 11 Nov 2020 01:25:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by silver.osuosl.org (Postfix) with ESMTPS id 9951620480 for ; Wed, 11 Nov 2020 01:25:04 +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 relay2-d.mail.gandi.net (Postfix) with ESMTPSA id A60A240005; Wed, 11 Nov 2020 01:25:00 +0000 (UTC) From: Ben Pfaff To: dev@openvswitch.org Date: Tue, 10 Nov 2020 17:24:47 -0800 Message-Id: <20201111012454.2574461-1-blp@ovn.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Cc: Ben Pfaff Subject: [ovs-dev] [PATCH ovn v4.1 0/7] Add 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" v1->v2: - Applied several patches. - New commit to add documentation for the system-userspace testsuite. - New patches to improve the testsuite a couple of ways. - Revised "Prepare for multiple northd types" to fix system-userspace testsuite. - Updated DDlog implementation of northd to match latest master. - Updated copyright notices in DDlog implementation. v2->v3: - Applied documentation patch. - Added some test improvements to fix reported problems. - Really updated copyright notices (didn't commit, last time). - Correctly skip ddlog tests when ddlog not compiled. v3->v4: - Fix dependencies for parallel build. - Fix spelling error in documentation. - Use --wait=sb, not --wait=hv, when no chassis are running. - Fixed IGMP and MLD tests by porting commit 9d2e8d32fb98 ("ofctrl.c: Fix duplicated flow handling in I-P while merging opposite changes."), which I had missed before. v4->v4.1: - Squash last two patches as I'd intended. Ben Pfaff (4): tests: Prepare for multiple northd types. tests: Use portable "test a = b", not "test a == b". tests: Eliminate most "sleep" calls. tests: Improve debuggability of tests. Flavio Fernandes (1): northd: Enhance the implementation of ACL log meters. 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 | 31 +- 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/ovn-util.c | 17 + lib/ovn-util.h | 6 + m4/ovn.m4 | 16 + northd/.gitignore | 4 + northd/automake.mk | 104 + northd/helpers.dl | 128 + northd/ipam.dl | 506 ++ northd/lrouter.dl | 715 ++ northd/lswitch.dl | 638 ++ northd/multicast.dl | 263 + northd/ovn-nb.dlopts | 13 + northd/ovn-northd-ddlog.c | 1752 ++++ northd/ovn-northd.c | 201 +- northd/ovn-sb.dlopts | 28 + northd/ovn.dl | 387 + northd/ovn.rs | 857 ++ northd/ovn.toml | 2 + northd/ovn_northd.dl | 7528 +++++++++++++++++ northd/ovsdb2ddlog2c | 127 + ovn-nb.xml | 14 + tests/atlocal.in | 7 + tests/ovn-controller-vtep.at | 6 +- tests/ovn-ic.at | 11 +- tests/ovn-macros.at | 99 +- tests/ovn-northd.at | 485 +- tests/ovn.at | 819 +- tests/ovs-macros.at | 43 +- tests/system-ovn.at | 124 +- tutorial/ovs-sandbox | 24 +- utilities/checkpatch.py | 2 +- utilities/ovn-ctl | 20 +- 40 files changed, 15046 insertions(+), 631 deletions(-) create mode 100644 Documentation/topics/debugging-ddlog.rst create mode 100644 Documentation/tutorials/ddlog-new-feature.rst 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