From: Stefan Hanreich <s.hanreich@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH pve-manager 07/10] ui: sdn: fabrics: wireguard: show '-' for unknown status values
Date: Fri, 20 Nov 2026 17:00:22 +0100 [thread overview]
Message-ID: <20261120160026.512565-8-s.hanreich@proxmox.com> (raw)
In-Reply-To: <20261120160026.512565-1-s.hanreich@proxmox.com>
The WireGuard status omits values that WireGuard does not report, such
as the public key and listen port of an interface, or the endpoint and
allowed IPs of a neighbor, as well as the name of a neighbor that is
not part of the fabric configuration and the type of an interface that
is missing or is not a WireGuard interface. Show '-' instead of an
empty cell, as for the latest handshake of neighbors.
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
---
www/manager6/sdn/FabricsContentView.js | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/www/manager6/sdn/FabricsContentView.js b/www/manager6/sdn/FabricsContentView.js
index 2c83a0f1..d3f8802e 100644
--- a/www/manager6/sdn/FabricsContentView.js
+++ b/www/manager6/sdn/FabricsContentView.js
@@ -39,6 +39,7 @@ Ext.define('PVE.sdn.FabricNeighborsContentView', {
sortable: true,
dataIndex: 'neighbor',
flex: 1,
+ renderer: (value) => value ?? '-',
},
];
@@ -48,6 +49,7 @@ Ext.define('PVE.sdn.FabricNeighborsContentView', {
sortable: true,
dataIndex: 'name',
flex: 1,
+ renderer: (value) => value ?? '-',
});
me.columns = me.columns.concat([
@@ -74,6 +76,7 @@ Ext.define('PVE.sdn.FabricNeighborsContentView', {
sortable: true,
dataIndex: 'allowed-ips',
flex: 1,
+ renderer: (value) => value ?? '-',
},
{
header: gettext('Latest Handshake'),
@@ -153,6 +156,7 @@ Ext.define('PVE.sdn.FabricInterfacesContentView', {
sortable: true,
dataIndex: 'type',
flex: 1,
+ renderer: (value) => value ?? '-',
},
{
header: gettext('State'),
@@ -169,12 +173,14 @@ Ext.define('PVE.sdn.FabricInterfacesContentView', {
sortable: true,
dataIndex: 'public-key',
flex: 1,
+ renderer: (value) => value ?? '-',
},
{
header: gettext('Listen Port'),
sortable: true,
dataIndex: 'listen-port',
flex: 1,
+ renderer: (value) => value ?? '-',
},
]);
}
--
2.47.3
next prev parent reply other threads:[~2026-11-20 16:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-20 16:00 [PATCH docs/manager/network/proxmox-perl-rs 00/10] WireGuard fabric follow-ups Stefan Hanreich
2026-11-20 16:00 ` [PATCH proxmox-perl-rs 01/10] pve-rs: sdn: fabrics: wireguard: return empty status for non-member nodes Stefan Hanreich
2026-11-20 16:00 ` [PATCH proxmox-perl-rs 02/10] pve-rs: sdn: status: wireguard: only report type of WireGuard interfaces Stefan Hanreich
2026-11-20 16:00 ` [PATCH proxmox-perl-rs 03/10] pve-rs: sdn: status: wireguard: only report running interface keys and ports Stefan Hanreich
2026-11-20 16:00 ` [PATCH pve-network 04/10] api: fabric status: document omitted WireGuard interface values Stefan Hanreich
2026-11-20 16:00 ` [PATCH pve-manager 05/10] ui: sdn: fabrics: wireguard: block saving invalid " Stefan Hanreich
2026-11-20 16:00 ` [PATCH pve-manager 06/10] ui: sdn: fabrics: wireguard: show persistent keepalive of neighbors Stefan Hanreich
2026-11-20 16:00 ` Stefan Hanreich [this message]
2026-11-20 16:00 ` [PATCH pve-manager 08/10] ui: sdn: fabrics: wireguard: add reload button to status grids Stefan Hanreich
2026-11-20 16:00 ` [PATCH pve-manager 09/10] ui: sdn: fabrics: wireguard: support resetting the interfaces Stefan Hanreich
2026-11-20 16:00 ` [PATCH pve-docs 10/10] sdn: fabrics: wireguard: document status values and keepalive column Stefan Hanreich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261120160026.512565-8-s.hanreich@proxmox.com \
--to=s.hanreich@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox