From: Afreen Misbah Date: Mon, 2 Feb 2026 18:56:10 +0000 (+0530) Subject: mgr/dashboard: Reverting server_addr to traddr X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ea41c2930c4f10ca094a897854e724bace4b0b0e;p=ceph.git 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 --- 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: