]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: Reverting server_addr to traddr
authorAfreen Misbah <afreen@ibm.com>
Mon, 2 Feb 2026 18:56:10 +0000 (00:26 +0530)
committerAfreen Misbah <afreen@ibm.com>
Mon, 2 Feb 2026 18:56:10 +0000 (00:26 +0530)
- the server_addr is used as traddr
- this change is not backported yet hence https://github.com/ceph/ceph/pull/66822 renaming to the convention used in tentacle

Signed-off-by: Afreen Misbah <afreen@ibm.com>
src/pybind/mgr/dashboard/controllers/nvmeof.py
src/pybind/mgr/dashboard/openapi.yaml

index cb5d48e06109a7e1c5a553963f521e26f9293aaa..68ec48e428dbd7abfa0105fa7c1eae5c5737d402 100644 (file)
@@ -415,15 +415,15 @@ else:
             "List all NVMeoF namespaces in a gateway group",
             parameters={
                 "gw_group": Param(str, "NVMeoF gateway group", True, None),
-                "server_address": Param(str, "NVMeoF gateway address", True, None),
+                "traddr": Param(str, "NVMeoF gateway address", True, None),
             },
         )
         @convert_to_model(model.NamespaceList)
         @handle_nvmeof_error
-        def list(self, gw_group: str, server_address: Optional[str] = None):
+        def list(self, gw_group: str, traddr: Optional[str] = None):
             return NVMeoFClient(
                 gw_group=gw_group,
-                server_address=server_address
+                traddr=traddr
             ).stub.list_namespaces(
                 NVMeoFClient.pb2.list_namespaces_req()
             )
index 9f29d924d512f044e0d970271c0a7f688df0aade..dec615b3d053da5f04b8b4c1ef4aab5c8ca272a4 100755 (executable)
@@ -9414,7 +9414,7 @@ paths:
       - allowEmptyValue: true
         description: NVMeoF gateway address
         in: query
-        name: server_address
+        name: traddr
         schema:
           type: string
       responses:
@@ -9449,7 +9449,7 @@ paths:
       - allowEmptyValue: true
         description: NVMeoF gateway address
         in: query
-        name: server_address
+        name: traddr
         schema:
           type: string
       responses: