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 7C3221FF0E0 for ; Thu, 09 Jul 2026 11:20:49 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 18332215CB; Thu, 09 Jul 2026 11:19:39 +0200 (CEST) From: Hannes Laimer To: pve-devel@lists.proxmox.com Subject: [PATCH pve-manager v2 21/27] ui: sdn: dry-run: show pending microseg diff Date: Thu, 9 Jul 2026 11:18:46 +0200 Message-ID: <20260709091852.538885-22-h.laimer@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260709091852.538885-1-h.laimer@proxmox.com> References: <20260709091852.538885-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: 1783588749940 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.278 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) 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: 5Z3OMXUQP5REFUCVMC3C4T66UD3S35K5 X-Message-ID-Hash: 5Z3OMXUQP5REFUCVMC3C4T66UD3S35K5 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: Show the microseg diff the apply dry-run now returns next to the interfaces and frr diffs, so pending identity and membership changes are visible before applying. Signed-off-by: Hannes Laimer --- www/manager6/sdn/SdnDiffView.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/www/manager6/sdn/SdnDiffView.js b/www/manager6/sdn/SdnDiffView.js index 2bc52049..851c2db8 100644 --- a/www/manager6/sdn/SdnDiffView.js +++ b/www/manager6/sdn/SdnDiffView.js @@ -17,6 +17,7 @@ Ext.define('PVE.sdn.SdnDiffView', { node: undefined, frr_diff: '', interfaces_diff: '', + microseg_diff: '', }, }, @@ -44,6 +45,10 @@ 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')), + ); }) .catch(Proxmox.Utils.alertResponseFailure) .finally(() => { @@ -102,6 +107,25 @@ Ext.define('PVE.sdn.SdnDiffView', { }, ], }, + { + xtype: 'panel', + title: gettext('Microsegmentation'), + flex: 1, + scrollable: true, + items: [ + { + xtype: 'component', + padding: 5, + style: { + 'white-space': 'pre', + 'font-family': 'monospace', + }, + bind: { + html: '{microseg_diff}', + }, + }, + ], + }, ], buttons: [ { -- 2.47.3