From ea41c2930c4f10ca094a897854e724bace4b0b0e Mon Sep 17 00:00:00 2001 From: Afreen Misbah Date: Tue, 3 Feb 2026 00:26:10 +0530 Subject: [PATCH] mgr/dashboard: Reverting server_addr to traddr - 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 --- src/pybind/mgr/dashboard/controllers/nvmeof.py | 6 +++--- src/pybind/mgr/dashboard/openapi.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pybind/mgr/dashboard/controllers/nvmeof.py b/src/pybind/mgr/dashboard/controllers/nvmeof.py index cb5d48e0610..68ec48e428d 100644 --- a/src/pybind/mgr/dashboard/controllers/nvmeof.py +++ b/src/pybind/mgr/dashboard/controllers/nvmeof.py @@ -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() ) diff --git a/src/pybind/mgr/dashboard/openapi.yaml b/src/pybind/mgr/dashboard/openapi.yaml index 9f29d924d51..dec615b3d05 100755 --- a/src/pybind/mgr/dashboard/openapi.yaml +++ b/src/pybind/mgr/dashboard/openapi.yaml @@ -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: -- 2.47.3