From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8EUwMK3QQmN75QAAbAwnHQ (envelope-from ) for ; Sun, 09 Oct 2022 15:46:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WNlnL63QQmNYFwAAG6o9tA (envelope-from ) for ; Sun, 09 Oct 2022 15:46:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8B8FB278A8 for ; Sun, 9 Oct 2022 15:46:21 +0200 (CEST) Received: from localhost ([::1]:56690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohWdI-0003No-N5 for larch@yhetil.org; Sun, 09 Oct 2022 09:46:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohWd2-0003MA-6D for guix-patches@gnu.org; Sun, 09 Oct 2022 09:46:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43258) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohWd0-0006Dv-SQ for guix-patches@gnu.org; Sun, 09 Oct 2022 09:46:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohWd0-0004yB-NR for guix-patches@gnu.org; Sun, 09 Oct 2022 09:46:02 -0400 Subject: bug#58382: [PATCH 0/3] guile-netlink: Add support for bonds Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 09 Oct 2022 13:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 58382 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Alexey Abramov Cc: 58382-done@debbugs.gnu.org Mail-Followup-To: 58382@debbugs.gnu.org, julien@lepiller.eu, levenson@mmer.org Received: via spool by 58382-done@debbugs.gnu.org id=D58382.166532313119059 (code D ref 58382); Sun, 09 Oct 2022 13:46:02 +0000 Received: (at 58382-done) by debbugs.gnu.org; 9 Oct 2022 13:45:31 +0000 Received: from localhost ([127.0.0.1]:42336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohWcU-0004xK-NS for submit@debbugs.gnu.org; Sun, 09 Oct 2022 09:45:30 -0400 Received: from lepiller.eu ([89.234.186.109]:56378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohWcR-0004xB-Vi for 58382-done@debbugs.gnu.org; Sun, 09 Oct 2022 09:45:28 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 3575c3c6; Sun, 9 Oct 2022 13:45:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=SpJQsq6FewPR e0Im/dJEIlvrNeeAy8w7FsYyfjoe018=; b=L1HeQmu0MetRHLbHAzXXY+sdslk9 gU53Iq4mPMcyYoeFvqPUnsmh4e81ps+kDfUz9Ww206ZT36u5wUBsta0GBxyBL9oo ajf/KpV+jLKWGgpfsqnv9IN/JCsfaYKZLPfWO8FpaCCqBvWR2h58qn7Kscjw+glr VLLrfsDzuTsfaQuXtu8PWvlmIB0O9FE+tiUu4Mrb+ZQMA119XGsRMB2Q3q1QQ3nm y0Z9zs7gzm5gTX8vZMyiYsW0vl3uTG8p6ejXGN+K3JeqAmwOYfymGPEsQZ5NDdTC GiMUFJdKFDNYbxt2mjsi6THS3N501VSIkfTSBgUR080exkU3h57wBqKaOQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 690e8cbe (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 9 Oct 2022 13:45:25 +0000 (UTC) Date: Sun, 9 Oct 2022 15:45:09 +0200 From: Julien Lepiller Message-ID: <20221009154509.424df1c8@sybil.lepiller.eu> In-Reply-To: <20221008165043.13177-1-levenson@mmer.org> References: <20221008165043.13177-1-levenson@mmer.org> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665323181; h=from:from:sender:sender: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:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Px7LeRFdcgFI2goq1Mczrr1OMSlZ2zg13UvZCzFBVFw=; b=d4oc2YBVfyGCFuUKlDRQ1ZSz3+n9b1mE3kodiCE+XcZ74c1sYdsi6IbhK0nJCYuvhYosF3 l8VZ60zo83Ulat4zmJsp4S+LwRNnH35rUMuin5Hb85cENUr2iBrtufJrxP5GQRLWv2HmdT 3aSzRxHibd5sNBmGCwpUIRMY5Cy6tYrG80wMem6cDq9D/kVg8Bg1xKnXTS3MVnrC7RB9rS 6P0KYxxVJyO4r8MG9iWNjK1xMwR6/aKehM/2ZXW3D+CRhnPfjL0Vq1EQB+fm5/vHTrhCMj e+EHPt82J0eMlP6wp4XP98DXHBJQtVxjT4hH79Qcc49VyH0Rl3LAc9ZH9iXZrg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665323181; a=rsa-sha256; cv=none; b=klQBO5MY9EU3vt4JBwsuYIw+VKdYqFh65P+ykt3tdumfh07aEwKAhIljzzKpYkKHoTUyNu zjuy+qXW18pCv9XbyfRlUMySuHByx9fnUOt8jUpxsw8EaUjK2537g1zaKEBjQOmPiQEw6M SuR2Qa9Q5yZP6sBemjK+iLXJC2XykBv0wpuwIt4YafoT2MYOmGESgdn9aHakNfNekuqd// xE9UJJUh7bX+Z+b4eM+B4BE7BN1d/kffTjglzWl+pyq9PByzB+ApeEeN7TKZlisqZ0B4EI v/byQafqsNp2sU08zFIjJ7ooXjTVcgSzuEInckydq4+tqkyKCrFQN+F/TmArYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=L1HeQmu0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=L1HeQmu0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8B8FB278A8 X-Spam-Score: 7.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: CVdalQgDqVug Le Sat, 8 Oct 2022 18:50:43 +0200, Alexey Abramov via Guix-patches via a =C3=A9crit : > With these patches, guile-netlink can be used to build bonds. > bond-type-args function accepts keys that people would be set to bond > interfaces via 'ip link set'. 'ip link help bond' shows the list of > all passable settings. Only few of them are implemented right now. >=20 > Master field was also added to 'link-set' in order to bind interfaces > to their masters in case of bonding. >=20 > Alexey Abramov (3): > link: Pass correct attribute and a payload to rename a link > link: Allow to bound interfaces to bonds > link: Add partial support for bond interfaces >=20 > ip/link.scm | 77 > ++++++++++++++++++++++++++++++++++++++++++-- netlink/constant.scm | > 30 +++++++++++++++++ 2 files changed, 104 insertions(+), 3 > deletions(-) >=20 Thanks, applied to guile-netlink :) I adjusted the commit messages a bit, and used define-enum for bond mode. I didn't test though, so I hope it works :)