]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: align cli commands listener list, ns list, host list 64236/head
authorTomer Haskalovitch <il033030@tomers-mbp.givatayim.il.ibm.com>
Mon, 19 May 2025 08:29:22 +0000 (11:29 +0300)
committerTomer Haskalovitch <tomer.haska@ibm.com>
Tue, 1 Jul 2025 09:35:52 +0000 (12:35 +0300)
Signed-off-by: Tomer Haskalovitch <tomer.haska@ibm.com>
(cherry picked from commit 0e9c69ac8997195fa0b14e04afb3290479a2b39b)

src/pybind/mgr/dashboard/model/nvmeof.py

index 49b175a02e1ec06dd43291f35fc0f34935801eb2..eb26c59872a1ddd59e0898ccf67e745d390cb2f6 100644 (file)
@@ -71,8 +71,6 @@ class NamespaceCreation(NamedTuple):
 
 
 class Namespace(NamedTuple):
-    nsid: Optional[int]
-    uuid: Optional[str]
     bdev_name: str
     rbd_image_name: str
     rbd_pool_name: str
@@ -83,7 +81,12 @@ class Namespace(NamedTuple):
     rw_mbytes_per_second: int
     r_mbytes_per_second: int
     w_mbytes_per_second: int
-    trash_image: bool
+    auto_visible: bool
+    hosts: List[str]
+    nsid: Optional[int]
+    uuid: Optional[str]
+    ns_subsystem_nqn: Optional[str]
+    trash_image: Optional[bool]
 
 
 class NamespaceList(NamedTuple):
@@ -126,6 +129,7 @@ class Listener(NamedTuple):
     host_name: str
     trtype: str
     traddr: str
+    secure: bool
     adrfam: int = 0  # 0: IPv4, 1: IPv6
     trsvcid: int = 4420
 
@@ -138,6 +142,8 @@ class ListenerList(NamedTuple):
 
 class Host(NamedTuple):
     nqn: str
+    use_psk: Optional[bool]
+    use_dhchap: Optional[bool]
 
 
 class RequestStatus(NamedTuple):