From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 18CD11FF0E3 for ; Tue, 27 Oct 2026 10:01:18 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 2503421AA3; Tue, 27 Oct 2026 09:56:40 +0100 (CET) From: Hannes Laimer To: pve-devel@lists.proxmox.com Subject: [PATCH pve-manager v3 35/45] ui: sdn: dry-run: show pending microseg diff Date: Tue, 27 Oct 2026 09:55:17 +0100 Message-ID: <20261027085527.702738-36-h.laimer@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261027085527.702738-1-h.laimer@proxmox.com> References: <20261027085527.702738-1-h.laimer@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1793091371637 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.353 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: 6UPZAY4SFQT2FWKNQLE6UNX65S725POI X-Message-ID-Hash: 6UPZAY4SFQT2FWKNQLE6UNX65S725POI X-MailFrom: h.laimer@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 VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Hannes Laimer --- www/manager6/sdn/SdnDiffView.js | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/www/manager6/sdn/SdnDiffView.js b/www/manager6/sdn/SdnDiffView.js index 2bc52049585f..b835c8503044 100644 --- a/www/manager6/sdn/SdnDiffView.js +++ b/www/manager6/sdn/SdnDiffView.js @@ -17,6 +17,8 @@ Ext.define('PVE.sdn.SdnDiffView', { node: undefined, frr_diff: '', interfaces_diff: '', + microseg_diff: '', + microseg_withheld: false, }, }, @@ -44,6 +46,11 @@ Ext.define('PVE.sdn.SdnDiffView', { 'interfaces_diff', Ext.htmlEncode(diff['interfaces-diff'] ?? gettext('No changes')), ); + vm.set( + 'microseg_diff', + Ext.htmlEncode(diff['microseg-diff'] ?? gettext('No changes')), + ); + vm.set('microseg_withheld', diff['microseg-diff'] === undefined); }) .catch(Proxmox.Utils.alertResponseFailure) .finally(() => { @@ -102,6 +109,28 @@ Ext.define('PVE.sdn.SdnDiffView', { }, ], }, + { + xtype: 'panel', + title: gettext('Microsegmentation'), + flex: 1, + scrollable: true, + bind: { + hidden: '{microseg_withheld}', + }, + items: [ + { + xtype: 'component', + padding: 5, + style: { + 'white-space': 'pre', + 'font-family': 'monospace', + }, + bind: { + html: '{microseg_diff}', + }, + }, + ], + }, ], buttons: [ { -- 2.47.3