From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 057661FF09B for ; Mon, 09 Nov 2026 15:31:31 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 4F4182125E; Mon, 09 Nov 2026 15:31:30 +0100 (CET) From: Christoph Heiss To: pbs-devel@lists.proxmox.com Subject: [PATCH proxmox{,-backup} v2 0/3] fix #6121: add 'bond-miimon' option for network interfaces Date: Mon, 9 Nov 2026 15:28:13 +0100 Message-ID: <20261109143117.778971-1-c.heiss@proxmox.com> X-Mailer: git-send-email 2.56.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1794234684477 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.135 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: XXVPPXGY62FMZQBU2H37O2JBB5ZCZE7O X-Message-ID-Hash: XXVPPXGY62FMZQBU2H37O2JBB5ZCZE7O X-MailFrom: c.heiss@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Backup Server development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Fixes #6121 [0], for both PBS and PDM. Adds a new 'bond-miimon' option to the network interface API for specifying the link monitoring interval. This is needed so that (at least) in active-backup mode, the bond correctly switches over to the backup link if the active one goes down. [0] https://bugzilla.proxmox.com/show_bug.cgi?id=6121 History ======= v1: https://lore.proxmox.com/pbs-devel/20260925123459.424903-1-c.heiss@proxmox.com/ Changes v1 -> v2: * rebased on latest masters * changed underlying value type from u8 to u32 (see also v1 discussion) Diffstat ======== proxmox: Christoph Heiss (2): fix #6121: network-api: api: add `bond-miimon` option for interfaces fix #6121: network-api: config: add support for `bond-miimon` option proxmox-network-api/src/api_impl.rs | 9 +++ proxmox-network-api/src/api_types.rs | 22 ++++++++ proxmox-network-api/src/config/lexer.rs | 3 + proxmox-network-api/src/config/mod.rs | 70 ++++++++++++++++++++++++ proxmox-network-api/src/config/parser.rs | 23 ++++++++ 5 files changed, 127 insertions(+) proxmox-backup: Christoph Heiss (1): api: network: reuse interface create/update methods from network-api src/api2/node/network.rs | 674 ++------------------------------------- 1 file changed, 18 insertions(+), 656 deletions(-)