From patchwork Mon Nov 15 22:30:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 455 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5FB0727BBE3; Mon, 15 Nov 2021 22:32:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 283BA27BBE1 for ; Mon, 15 Nov 2021 22:32:29 +0000 (GMT) Received: from localhost ([::1]:56392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmkWZ-0000fU-Vq for patchwork@mira.cbaines.net; Mon, 15 Nov 2021 17:32:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmkWA-0008VL-Fh for guix-patches@gnu.org; Mon, 15 Nov 2021 17:32:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmkWA-0002A8-6W for guix-patches@gnu.org; Mon, 15 Nov 2021 17:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmkWA-0003lC-2t for guix-patches@gnu.org; Mon, 15 Nov 2021 17:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51440] [PATCH v2 00/10] Declarative static networking interface Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Nov 2021 22:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51440 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51440@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 51440-submit@debbugs.gnu.org id=B51440.163701546914265 (code B ref 51440); Mon, 15 Nov 2021 22:32:02 +0000 Received: (at 51440) by debbugs.gnu.org; 15 Nov 2021 22:31:09 +0000 Received: from localhost ([127.0.0.1]:56420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmkVC-0003hg-Bq for submit@debbugs.gnu.org; Mon, 15 Nov 2021 17:31:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmkVA-0003gl-HI for 51440@debbugs.gnu.org; Mon, 15 Nov 2021 17:31:00 -0500 Received: from [2001:470:142:3::e] (port=52016 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmkV4-0001yS-Up; Mon, 15 Nov 2021 17:30:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=LZLjxIIlgf1IdNnzBLbG3qrn1y5Z/awTGy01oaCGgYE=; b=OzGeefZb7fnxo6BrTj5s ojv6IzF9DOA6TxK1ZBduTZtoshRtxLuWLa0VSTFJt2bLoAX+VhPW6pZulrQdXOQuFSIOBZKzvv/LP jEO134nF8dyURCKku3W7zQ8obXRsYaMsd/VASFNe6bgy65uuALCSL1f6ycthEN04UW0qEeEFiyLDm 0RTxtTxRI85WeDDV5cgAKFhq9QAx5yE4GGrknfY6fRURNd2j3mgaMpOozSo3y3a9w8pIolfhQPQKS KugAiRdli0joQXSBuXUb050ZXOeoVSv34iRq74VcEZJkGXKnwluaxD53yA1xSdYboXNqX0OTNwfth OSiefyWIsK2xgg==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44414 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmkV4-0001jO-Mn; Mon, 15 Nov 2021 17:30:54 -0500 From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Mon, 15 Nov 2021 23:30:34 +0100 Message-Id: <20211115223044.10943-1-ludo@gnu.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211027135918.18833-1-ludo@gnu.org> References: <20211027135918.18833-1-ludo@gnu.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi! Changes since v1: • ‘herd stop networking’ fixed, as reported by David Aaron Fendley. • Guile-Netlink cross-compilation simplified thanks to changes in Guile-Netlink 1.1. • ‘provision’ field of defaults to '(networking), as suggested by Julien. • “network-tear-down” script wraps calls in ‘false-if-netlink-error’ to go as far as possible. • Documentation fixed as suggested by Julien. Thoughts? Test reports? :-) Note: It requires Guile-Netlink 1.1 as added in 46432cceebe392a1744980f370a48ef73afbac2c (it fixes another issue David reported earlier.) Ludo’. Ludovic Courtès (10): tests: Add 'static-networking' test. tests: openvswitch: Check whether ovs0 is up. doc: Add new "Networking Setup" node for the main setup options. gnu: guile-netlink: Allow cross-compilation. services: static-networking: Use Guile-Netlink on GNU/Linux. services: secret-service: Turn into a Shepherd service. services: static-networking: Change interface to mimic netlink. services: Define '%qemu-static-networking'. services: Define '%loopback-static-networking'. tests: Replace uses of deprecated 'static-networking-service'. doc/guix.texi | 504 ++++++++++++++++++++++---------- gnu/build/hurd-boot.scm | 10 +- gnu/build/secret-service.scm | 17 +- gnu/packages/guile-xyz.scm | 3 +- gnu/services/base.scm | 406 +++++++++++++++++++------ gnu/services/virtualization.scm | 45 ++- gnu/system/hurd.scm | 12 +- gnu/system/install.scm | 5 +- gnu/tests/ganeti.scm | 7 +- gnu/tests/networking.scm | 141 ++++++++- 10 files changed, 855 insertions(+), 295 deletions(-) base-commit: 21332f3b8cb8f407a89cdfe7d0460a9947675872