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 DE63A1FF0E3 for ; Tue, 27 Oct 2026 10:30:56 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id D4C702166C; Tue, 27 Oct 2026 10:30:55 +0100 (CET) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792958730; x=1793563530; h=content-type:to:subject:message-id:date:references:in-reply-to:from :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=KkFXVCcDXS8/tTSVhNtoNc9Bot1bGK3ntp0txflWCHc=; b=noiOdx3720CjOiWvtEiZp+fMSZ8mMe6vlx583lgW9ekUoAKUWCgrm4mUCcl+32L30w sHETMNp43d3mWxziwgdvCgq5LfJQJb5tpTbkHNlbdBacHWfUJlJ4LRVgMVuoZeDd3qzv l6stOKrk5+RobcfFUi+7B0svAdQemBD5opSqDnlMRKGLoOi+0yl10MvQ4r4+tBXYuPJr NAkM+dEDS4ELTEKA9GOZUt4ewGJDfsIlj5XzXUK2T+hNRyK7VAX1j/XY1gVyhPtzHGXZ B0P4LRUbVUOe84DwAtNeuudPYET4CdcnaUXRzFN5ja/g4u1CkB8AOHT2QGFOm/6wBPEw grQg== X-Gm-Message-State: AFq9FYJizpk63cKPjjSDgezDVX6kk6gk28MxszIgeHbsKuG0lohgnlY2 zfAfIu4TzRxvfozp/QaJFxNTZvZFH5kUfjToR0hO3zJSt/PAkAdIGVhX2I1Rv+JC X-Gm-Gg: AYBFou3TTgzmxNMNGeBsYq8DnrYqjkudHaFst4VRYvN9ew5H7j3CEEViVwm0+bv1ewu NEaf+jfuJZYPFXVyCVTqaBG45D/aVLHpCXc/g9iY7MywFaRaPMSJ9VlSISpqU/1zg6Z4qoK8z3y P9f2dIBC707LgBRFSNWytBfM64FvzXaP+ep9RwH09WACxdtNaaw8PonDZYon9e4uLdBpgzQafjc Bl+hMkHiIvhqlaAq5W2T/mFJdf8FatRQK8ouwjYvDUyMxEAzqVvisMhyKCnOpX0ygQbNjSwtzHg P9esQ7CB7FZvN6dAAJWAHHLGIZyjUVPRPtOaOsi7UhAfkdQVSaFFL0Bba8o03QV/icHoSKoPKWh a4qXtuYWk3uunWDyBXnMNj2c1q/3MlRqM4voPXV65NCeIc3UijdHAKp8zlqZiuGMvB0k5gxZrv0 JV5Dt31H4jNaP+BxBIQ+B6bg/ypwGfrIvJvB4aPYj1+O8p3iZzszm1VAOg/yGLSzutLW3gnBGZI WDNJc7jIbKnjCsKSBv5h0Vb5ECNHuM7z7GLJqCennAr3q2xA3Jbk4gNiGp3+iI1DfiMIPQ2cXP8 Y/rdVRDp2zFSI1Mm5aQWPEmgUPgA X-Received: by 2002:a05:6820:3409:20b0:706:4a84:20d5 with SMTP id 006d021491bc7-70ba0f4e91bmr1714272eaf.56.1792958310526; Sun, 25 Oct 2026 12:58:30 -0700 (PDT) X-Received: by 2002:a05:6808:6f97:b0:53c:af69:84dd with SMTP id 5614622812f47-55c0023cd9bmr3198235b6e.12.1792958309491; Sun, 25 Oct 2026 12:58:29 -0700 (PDT) MIME-Version: 1.0 From: i@leaskh.com In-Reply-To: References: Date: Sun, 25 Oct 2026 14:58:29 -0500 X-Gmail-Original-Message-ID: X-Gm-Features: AclHuK8-FLbTwLQcLymU9_b4rWKQqJ2Cj-iiVNF_B1BYis95LRvBBXeF0f6PXnQ Message-ID: Subject: [PATCH widget-toolkit 2/2] fix #8227: ui: offer encapsulated bond transmit hash policies To: pbs-devel@lists.proxmox.com Content-Type: text/plain; charset="UTF-8" X-SPAM-LEVEL: Spam detection results: 0 DMARC_NONE 0.1 DMARC none policy FREEMAIL_FORGED_FROMDOMAIN 0.001 2nd level domains in From and EnvelopeFrom freemail headers are different FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider HEADER_FROM_DIFFERENT_DOMAINS 0.25 From and EnvelopeFrom 2nd level mail domains are different KAM_DMARC_NONE 0.25 DKIM has Failed or SPF has failed on the message and the domain has a DMARC none policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust RCVD_IN_MSPIKE_H2 0.001 Average reputation (+2) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record X-MailFrom: leaskh@gmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation Message-ID-Hash: KFURMDU7PMYVPOL6AD6E7YHD3BRQNY5F X-Message-ID-Hash: KFURMDU7PMYVPOL6AD6E7YHD3BRQNY5F X-Mailman-Approved-At: Tue, 27 Oct 2026 10:30:47 +0100 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: From: Leask Wong Add encap2+3 and encap3+4 to the shared policy selector, matching the accompanying proxmox-network-api extension. Keep the existing policy values, labels and default ordering. JavaScript syntax and a runtime selector-definition check pass. Signed-off-by: Leask Wong --- src/form/BondModeSelector.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/form/BondModeSelector.js b/src/form/BondModeSelector.js index cb87f81..2c24bbd 100644 --- a/src/form/BondModeSelector.js +++ b/src/form/BondModeSelector.js @@ -37,5 +37,7 @@ Ext.define('Proxmox.form.BondPolicySelector', { ['layer2', 'layer2'], ['layer2+3', 'layer2+3'], ['layer3+4', 'layer3+4'], + ['encap2+3', 'encap2+3'], + ['encap3+4', 'encap3+4'], ], }); -- 2.56.0 On Sun, 25 Oct 2026 14:57:50 -0500, i@leaskh.com wrote: > Hi, > > This series fixes PBS bug #8227: > https://bugzilla.proxmox.com/show_bug.cgi?id=8227 > > An operational Linux 802.3ad bond using encap3+4 makes PBS reject > /etc/network/interfaces and prevents the Network Interfaces list from > loading. Linux and ifupdown2 support the policy; the shared Rust API's > enum and the shared UI selector currently list only the three layer* > policies. > > Patch 1/2 targets proxmox.git and adds encap2+3 and encap3+4 to the enum, > generated schema and Display implementation. It includes validation and > configuration round-trip regression tests. Existing values and invalid > name validation are preserved. > > Patch 2/2 targets proxmox-widget-toolkit.git and exposes the two policies > in the shared selector. It is the companion UI change to patch 1/2. > > Validation: > - Native Linux x86_64: all 30 network API library tests pass with the > impl feature. Against the old enum, the two new acceptance/round-trip > tests fail with the expected policy rejection. > - Round trips cover five policies, both 802.3ad/balance-xor modes and > both keyword spellings, including an unrelated following bridge. > - JavaScript syntax and selector-definition runtime checks pass. > - Rust formatting, whitespace and patch application checks pass. > > The Linux build used a disposable workspace restricted to ten local > crates, including the network API, omitting non-target dev resolution. > The build setup did not alter library sources. Dependencies came from > crates.io and OpenSSL headers were unpacked privately. This is not a > full Debian package build or an end-to-end GUI test, and no running > host's network configuration was changed. > > I emailed my Individual CLA privately to office@proxmox.com today, > identifying Leask Wong as my Git author identity. > CLA registration has not yet been verified. > > The existing Bugzilla attachments contain the same code changes: > https://bugzilla.proxmox.com/attachment.cgi?id=2193 > https://bugzilla.proxmox.com/attachment.cgi?id=2194 > These mail patches additionally include the requested sign-off trailer. > > Please review, and let me know if any changes are needed. > > Thanks, > Leask