Message ID | cover.1742647810.git.45mg.writes@gmail.com |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AE43527BBEA; Sat, 22 Mar 2025 12:59:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8038B27BBE2 for <patchwork@mira.cbaines.net>; Sat, 22 Mar 2025 12:59:42 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tvyRe-0006zE-Oe; Sat, 22 Mar 2025 08:59:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tvyRL-0006xX-86 for guix-patches@gnu.org; Sat, 22 Mar 2025 08:59:07 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tvyRK-0007ir-OZ; Sat, 22 Mar 2025 08:59:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=+ZQqCT8CMwqgcv9dDwF2+xFqpSHJNYPr4jiB7pM+u8I=; b=beiTQiXXnZnoWjOlHsnJkkXsbhocZFaD0fygaBIdTnVivXDQYLXbC/exQGyxUD+0Z4GqtzSMLyGs8YEMR+fRgu2q6K4IC8UkNaiuowSqlHCVo/bENlA3ndVCMKbeuyYQmfXDh+qRhuG6FcY2CpBy8CDxTTtq6nR18V7p5pM+kqJQxhgzcKi0hyR42YBTQmPwW7Q70c03ZO2r7PwhDJy/8H4X3sCCoDCWyLUzC5PvuxTavacyA2NPsSTRmWXpJfJvrgHZz7pLwcwp6Q1GGRN3PaAHf+MHtxdmZKqXAIyLxT4HxgDW4l1Q5kGuXp9bPsUfEMf8ufl2VTtSxejUuZYvcA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tvyRK-0003wR-9E; Sat, 22 Mar 2025 08:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77153] [PATCH v2 0/3] doc: cookbook: Custom NAT-based libvirt networks. Resent-From: 45mg <45mg.writes@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: ludo@gnu.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Sat, 22 Mar 2025 12:59:02 +0000 Resent-Message-ID: <handler.77153.B77153.174264828515072@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77153@debbugs.gnu.org Cc: 45mg <45mg.writes@gmail.com>, Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org>, Maxim Cournoyer <maxim.cournoyer@gmail.com> X-Debbugs-Original-Xcc: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org>, Maxim Cournoyer <maxim.cournoyer@gmail.com> Received: via spool by 77153-submit@debbugs.gnu.org id=B77153.174264828515072 (code B ref 77153); Sat, 22 Mar 2025 12:59:02 +0000 Received: (at 77153) by debbugs.gnu.org; 22 Mar 2025 12:58:05 +0000 Received: from localhost ([127.0.0.1]:41471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tvyQO-0003v0-AD for submit@debbugs.gnu.org; Sat, 22 Mar 2025 08:58:04 -0400 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:47154) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <45mg.writes@gmail.com>) id 1tvyQJ-0003uS-3a for 77153@debbugs.gnu.org; Sat, 22 Mar 2025 08:58:00 -0400 Received: by mail-pl1-x642.google.com with SMTP id d9443c01a7336-22401f4d35aso62098985ad.2 for <77153@debbugs.gnu.org>; Sat, 22 Mar 2025 05:57:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742648272; x=1743253072; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+ZQqCT8CMwqgcv9dDwF2+xFqpSHJNYPr4jiB7pM+u8I=; b=WgVa5LD01PtRy7RYJwoJhXHenHFeI/Kvtbo4HytHYjz0ONK5TZdGkrdYRwDnIiAQk+ TErjmJYN8J+w4vr2pYXarEqUr8B3z1rt9BxWxs5zqUADdYnXi5RlyOrL6zCEvl/iJLcb 36VsDxmdERURT/iMESTbbmwtSZ23CfUAAzFl24+XRA2bGo2Vhg2XUdgYYWLDbk3l4gBF BC6popJcYGlj6tfeOFMsexf//tKyqc8a0BxuKoJyFOvQjAldio8AxMPRjsQ7mT1h81zT 18k4ZWn4KrtXANDwZUeIfYo1yduMPkwVCvVLC4yBovyzZf6bEJze/gPykkASdo7ZBZht q6xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742648272; x=1743253072; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+ZQqCT8CMwqgcv9dDwF2+xFqpSHJNYPr4jiB7pM+u8I=; b=UmbCAYjBlaNY/HFISbK5W+Lw4eh0axzlGc3jHQPCxyM5N8y99G6c7ufs2yp4SoyXH1 m41KdDiK1tx7z4Hh7O2uLy9QRIRiH5MwXuvJmYLjO51us96vnsfLvRQlm7IRL4o3kuBE VbeFd19IR44uZ/G5GtKE0yshDkGUNQwFifHosOE3iJBPuD8sjkZq9MWCotFYOgNeLGIY TjkhzhCC2h8d0zeVp51pzTDd7FoSCk0LYHDli2f3VwhxY7u/Zf7utXns/eF5nZtF6Y+J xoGgLY8SELgDyOXAGy5Sz1+ZPFUe37XX5w4txXyHtsnjJpflSLQztzcC36eg6UQLdlSV pfgA== X-Gm-Message-State: AOJu0YzEyb9z6LaBecRyjDq2j2oai9OwcM15C4CWLbid+VkWLW+Zdxjh DtSKunB136HYqnVocieE+W6otXLNaFzzn0EbGfKF/meYeAvQq9gmvaaPqD0q X-Gm-Gg: ASbGncsD6SQdS9M2cMfXf3dL2kcG9qI7vX7TOR8IrNxJjKeChYtqbajXVsRGi2hzi7A 2pJnN7UjXtQO8OvhKWRtFIVLMob9qdny6mqvSs+Xl/YZi60JSwCb8i6od5knj+oaTZnObXrDr0e OL6vjA9p85CiyDNp3PkirIdf5BIqKTH2bjnQv4bWCYtV25bNIF61F9SV9f9gXzKq0rSyaNSq5qV Qj3MQ1tiMnDTZj8lmwcjVzpvLnVTKd6Tcq4CcZtCrJXwYl8FmFDX4wtPZSiwq/DWMwnBE4GAss4 UE8L4JYS2Ax73YoLdKbtIQR/G9IqvKcJkH1+speFkFgvX/wp5i2+kvAPX0kIXfrKTzk= X-Google-Smtp-Source: AGHT+IGhAQH6hzyv1UMMsreo6OBBrYBOd2Pzzpn4VOZLM9mZjAK7DUtnSViDpgEl4zmOMBfr1jTeqg== X-Received: by 2002:a17:902:ccc3:b0:223:3396:15e8 with SMTP id d9443c01a7336-22780d9b9d4mr116226555ad.22.1742648272244; Sat, 22 Mar 2025 05:57:52 -0700 (PDT) Received: from localhost.localdomain (utm3.nitt.edu. [14.139.162.2]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-227811da561sm34786385ad.185.2025.03.22.05.57.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Mar 2025 05:57:51 -0700 (PDT) From: 45mg <45mg.writes@gmail.com> Date: Sat, 22 Mar 2025 18:27:35 +0530 Message-ID: <cover.1742647810.git.45mg.writes@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <cover.1742569449.git.45mg.writes@gmail.com> References: <cover.1742569449.git.45mg.writes@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
doc: cookbook: Custom NAT-based libvirt networks.
|
|
Message
45mg
March 22, 2025, 12:57 p.m. UTC
Changes from v1: 1/3: - Added copyright. - Modified commit message to include the discussed rationale for this change. 3/3: Addressed Maxim's review [1]. Unaddressed, pending items [2]: - Link to libvirt networking handbook - keep, move, or ditch? - What does 'stp_state' param for a bridge actually do? [1] https://yhetil.org/guix/87y0wxia9h.fsf@gmail.com/ [2] https://yhetil.org/guix/87frj570px.fsf@gmail.com/ 45mg (3): doc: cookbook: Fix terminology for libvirt virtual network switches. doc: cookbook: Clarify virtual network switches. doc: cookbook: Custom NAT-based libvirt networks. doc/guix-cookbook.texi | 162 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 146 insertions(+), 16 deletions(-) base-commit: 9eddd250b773043fcac5e7eaa4939e5a2d9940bd
Comments
Hi, 45mg <45mg.writes@gmail.com> writes: > Changes from v1: > 1/3: > - Added copyright. > - Modified commit message to include the discussed rationale for this change. > 3/3: Addressed Maxim's review [1]. > Unaddressed, pending items [2]: > - Link to libvirt networking handbook - keep, move, or ditch? Not sure. If we link to it, I'd do so from the first section covering material sourced from it. > - What does 'stp_state' param for a bridge actually do? Apparently it means this, per man 8 bridge: state STP_STATE The spanning tree state, see the state option of bridge link set for supported states. and from the same manual: state STP_STATE the operation state of the vlan. One may enter STP state name (case insensitive), or one of the numbers below. Negative inputs are ignored, and unrecognized names return an error. Note that the state is set only for the vlan of the specified device, e.g. if it is a bridge port then the state will be set only for the vlan of the port. 0 - vlan is in STP DISABLED state. Make this vlan completely inactive for STP. This is also called BPDU filter and could be used to disable STP on an untrusted vlan. 1 - vlan is in STP LISTENING state. Only valid if STP is enabled on the bridge. In this state the vlan listens for STP BPDUs and drops all other traffic frames. 2 - vlan is in STP LEARNING state. Only valid if STP is enabled on the bridge. In this state the vlan will accept traffic only for the purpose of updating MAC address tables. 3 - vlan is in STP FORWARDING state. This is the default vlan state. 4 - vlan is in STP BLOCKING state. Only valid if STP is enabled on the bridge. This state is used during the STP election process. In this state, the vlan will only process STP BPDUs. So you could add comment mentioning that this is to configure the bridge in the listening @acronym{STP, Spanning Tree State} or similar, or something nicer if you have a better understanding of why that is useful.