From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qDyWKsmqQWN9bAAAbAwnHQ (envelope-from ) for ; Sat, 08 Oct 2022 18:52:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2PmKKsmqQWNoNAAAauVa8A (envelope-from ) for ; Sat, 08 Oct 2022 18:52:25 +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 4773B274A for ; Sat, 8 Oct 2022 18:52:25 +0200 (CEST) Received: from localhost ([::1]:45878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohD3o-0005nl-9k for larch@yhetil.org; Sat, 08 Oct 2022 12:52:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohD3S-0005nO-SZ for guix-patches@gnu.org; Sat, 08 Oct 2022 12:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42280) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohD3S-0006sf-KP for guix-patches@gnu.org; Sat, 08 Oct 2022 12:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohD3S-0002YV-Aj for guix-patches@gnu.org; Sat, 08 Oct 2022 12:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58382] [PATCH 0/3] guile-netlink: Add support for bonds Resent-From: Alexey Abramov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 Oct 2022 16:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58382 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58382@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16652478679747 (code B ref -1); Sat, 08 Oct 2022 16:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Oct 2022 16:51:07 +0000 Received: from localhost ([127.0.0.1]:41358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohD2Y-0002X9-Oa for submit@debbugs.gnu.org; Sat, 08 Oct 2022 12:51:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:33364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohD2T-0002Wm-TI for submit@debbugs.gnu.org; Sat, 08 Oct 2022 12:51:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohD2T-0005bw-N0 for guix-patches@gnu.org; Sat, 08 Oct 2022 12:51:01 -0400 Received: from mail.mmer.org ([178.22.65.174]:52742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohD2S-0006kg-3M for guix-patches@gnu.org; Sat, 08 Oct 2022 12:51:01 -0400 Received: from mail.mmer.org (localhost [127.0.0.1]) by mail.mmer.org (OpenSMTPD) with ESMTP id 95e04c34 for ; Sat, 8 Oct 2022 16:50:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=mmer.org; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=dkim; bh=jza6BdWodyh/gbwewJySylTwgmdnoSeofGhJ0YxPQvY=; b=qs3+ Q23uPLbHp8PUR6X2lUzuPHWpX4vRB1GuL2+Ei53M0y9TI8X5d8Mzd29hPd6AFqBM ZDQrZYaq2kUYIPCsu3JGcgG8JPXrjJg+/R3TZLCLaSh4SRDHpvR+OVbIo9+1DZAw l+ImVPPh6fk5sSvdqBd8rOR05KWVq+Vb5jxit8M= Received: from delta (j74210.upc-j.chello.nl [24.132.74.210]) by mail.mmer.org (OpenSMTPD) with ESMTPSA id 7459747d (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sat, 8 Oct 2022 16:50:54 +0000 (UTC) Date: Sat, 8 Oct 2022 18:50:43 +0200 Message-Id: <20221008165043.13177-1-levenson@mmer.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.22.65.174; envelope-from=levenson@mmer.org; helo=mail.mmer.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: Alexey Abramov X-ACL-Warn: , Alexey Abramov via Guix-patches From: Alexey Abramov via Guix-patches via 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=1665247945; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=tJ5PPdhdRpJO+xeUPQ1KhvlEs3uz0e6hMm395TFFIpw=; b=UB7U1mRXMyKHp7QGU/pyzqNuvIUqV56bcPWlA/cUzchWtd3ciaBaELwH7QSR8v55OsKzVD 7yjROY1o7sj8cbzp/YYMhN1hd6tLfrN4Nz5/YvD6rf31GVOClAl+vkyjWUe8KtTlQ5gp3c 9w5J7RTnmBx2Qkrl22ThXt4KLsDF9Ozf37Oe80YLVzrouCADe3rp7b8zjRn2Pe9crSx2Yd 42pTj+k1+jnjDaNbOImTCA0uzJN4Aiql6v/F9CLw7GyyFhF6VMUIGZxVjGbr4IA8QxFjc6 u1r/1JFLYlYBYEbh+emnUL7M7/XUB3j93MVB4KNR0Ru+3Kxbc1Qk8GPz87VGfA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665247945; a=rsa-sha256; cv=none; b=hrVG/usnPbQO/MiOWY9ubNxIZ1i2ULSQkgypX/8wBgT57oN2WbwuFixkxyJPFtJK4Uwi11 yQuXyAon8+OpwER4F1lu9gLGe5/CadMm9Wjz/7Y/Z6CtdnCCYQv9Vz+enZiPbZ0e08VPd3 lF4iif+sdy2QhtM8fmVu7PVriMh9x3BLXhhG0xwhEeTVA+dZdSF86DNI3Nazlwt68PGqnq xzkQTQgPfNSVobzkMKDrjTtYwLTt85QKLUIcfXma6tPiNe+AN+bhVeSGMxf8hFNGk/79Ce Q9MlmkDwBIsGf9SEPL4IBeEv0cm2uAVjBZYvJhbXVfU/G3QoybHD98ZOD9GeYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mmer.org header.s=dkim header.b="qs3+ Q23"; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mmer.org header.s=dkim header.b="qs3+ Q23"; dmarc=pass (policy=none) header.from=gnu.org; 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: 4773B274A X-Spam-Score: -2.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: nwtYz6zp/i8U 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. Master field was also added to 'link-set' in order to bind interfaces to their masters in case of bonding. 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 ip/link.scm | 77 ++++++++++++++++++++++++++++++++++++++++++-- netlink/constant.scm | 30 +++++++++++++++++ 2 files changed, 104 insertions(+), 3 deletions(-) -- 2.36.1