all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH manager 16/17] ui: dc: san: show the NVMe host NQN of each node
Date: Fri, 13 Nov 2026 04:04:44 +0100	[thread overview]
Message-ID: <20261113030541.1591528-17-t.lamprecht@proxmox.com> (raw)
In-Reply-To: <20261113030541.1591528-1-t.lamprecht@proxmox.com>

The access rules of an array need the host NQN of every node, like the
initiator names for iSCSI. Show them next to those in the node list of
the SAN view, with a button to copy them all.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
---
 www/manager6/dc/SAN.js | 29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/www/manager6/dc/SAN.js b/www/manager6/dc/SAN.js
index 21f79272a..98aad36ab 100644
--- a/www/manager6/dc/SAN.js
+++ b/www/manager6/dc/SAN.js
@@ -9,6 +9,7 @@ Ext.define('pve-san-status', {
         'apply-error',
         'time',
         'iscsi-initiator-name',
+        'nvme-host-nqn',
         'wwid',
         'name',
         'explicit',
@@ -98,6 +99,14 @@ Ext.define('PVE.dc.SANView', {
             sortAfterUpdate: true,
         });
         let reload = () => me.rstore.load();
+        let copy = (field) => () =>
+            PVE.Utils.copyToClipboard(
+                nodeStore
+                    .getRange()
+                    .map((rec) => rec.get(field))
+                    .filter(Boolean)
+                    .join('\n'),
+            );
         let edit = (rec) =>
             Ext.create('PVE.dc.MultipathWwidEdit', {
                 wwid: rec?.get('wwid'),
@@ -134,14 +143,12 @@ Ext.define('PVE.dc.SANView', {
                     {
                         text: gettext('Copy Initiator Names'),
                         iconCls: 'fa fa-clipboard',
-                        handler: () =>
-                            PVE.Utils.copyToClipboard(
-                                nodeStore
-                                    .getRange()
-                                    .map((rec) => rec.get('iscsi-initiator-name'))
-                                    .filter(Boolean)
-                                    .join('\n'),
-                            ),
+                        handler: copy('iscsi-initiator-name'),
+                    },
+                    {
+                        text: gettext('Copy Host NQNs'),
+                        iconCls: 'fa fa-clipboard',
+                        handler: copy('nvme-host-nqn'),
                     },
                 ],
                 columns: [
@@ -173,6 +180,12 @@ Ext.define('PVE.dc.SANView', {
                         flex: 2,
                         renderer: Ext.htmlEncode,
                     },
+                    {
+                        text: gettext('NVMe Host NQN'),
+                        dataIndex: 'nvme-host-nqn',
+                        flex: 4,
+                        renderer: Ext.htmlEncode,
+                    },
                     {
                         text: gettext('Last Report'),
                         dataIndex: 'time',




  parent reply	other threads:[~2026-11-13  3:30 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-13  3:04 [PATCH storage,docs,manager 00/17] NVMe over Fabrics storage Thomas Lamprecht
2026-11-13  3:04 ` [PATCH storage 01/17] diskmanage: skip SMART queries for NVMe fabric namespaces Thomas Lamprecht
2026-11-13  3:04 ` [PATCH storage 02/17] nvmeof: add a storage for NVMe over Fabrics subsystems Thomas Lamprecht
2026-11-13  3:04 ` [PATCH storage 03/17] lvm: allow a volume group on an NVMe over Fabrics namespace Thomas Lamprecht
2026-11-13  3:04 ` [PATCH storage 04/17] api: scan: add NVMe over Fabrics discovery Thomas Lamprecht
2026-11-13  3:04 ` [PATCH storage 05/17] pvesm: add a scan command for NVMe over Fabrics Thomas Lamprecht
2026-11-13  3:04 ` [PATCH storage 06/17] api: scan: san-luns: attribute NVMe namespaces to storage Thomas Lamprecht
2026-11-13  3:04 ` [PATCH storage 07/17] api: add node-level NVMe over Fabrics status and controller removal Thomas Lamprecht
2026-11-13  3:04 ` [PATCH storage 08/17] multipath: report the NVMe host NQN of each node Thomas Lamprecht
2026-11-13  3:04 ` [PATCH storage 09/17] multipath: report NVMe over Fabrics namespaces in the cluster status Thomas Lamprecht
2026-11-13  3:04 ` [PATCH docs 10/17] storage: document NVMe over Fabrics storages Thomas Lamprecht
2026-11-13  3:04 ` [PATCH manager 11/17] api: nodes: mount the NVMe over Fabrics endpoints Thomas Lamprecht
2026-11-13  3:04 ` [PATCH manager 12/17] ui: storage: add NVMe over Fabrics storage Thomas Lamprecht
2026-11-13  3:04 ` [PATCH manager 13/17] ui: lvm: offer NVMe over Fabrics storages as base storage Thomas Lamprecht
2026-11-13  3:04 ` [PATCH manager 14/17] ui: dc: san: add a guided setup for shared LVM on NVMe over Fabrics Thomas Lamprecht
2026-11-13  3:04 ` [PATCH manager 15/17] ui: node: san: list NVMe over Fabrics controllers Thomas Lamprecht
2026-11-13  3:04 ` Thomas Lamprecht [this message]
2026-11-13  3:04 ` [PATCH manager 17/17] ui: dc: san: show that a namespace uses native multipath Thomas Lamprecht
2026-11-18 20:44 ` superseded: [PATCH storage,docs,manager 00/17] NVMe over Fabrics storage Thomas Lamprecht

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=20261113030541.1591528-17-t.lamprecht@proxmox.com \
    --to=t.lamprecht@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal