]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Allow host with labels in listener form 63963/head
authorAfreen Misbah <afreen@ibm.com>
Mon, 16 Jun 2025 17:09:46 +0000 (22:39 +0530)
committerAfreen Misbah <afreen@ibm.com>
Sun, 22 Jun 2025 18:04:13 +0000 (23:34 +0530)
commit0bd2704a88f517b48196a8b1a3c07b0f8032b0f6
treefdbd6fb3de68a318c88abe069dfb5ef13f8f1885
parent135cf5df119da6eded5a0f63cb040242a30d3a0a
mgr/dashboard: Allow host with labels in listener form

- Currently, listeners cannot be added with the Ceph Dashboard if the gateway nodes are selected by label instead of hosts.

- Refactored the code to incorporate nodes with labels

- Also added missing typings and removed 'any'

Fixes https://tracker.ceph.com/issues/71686

Signed-off-by: Afreen Misbah <afreen@ibm.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-listeners-form/nvmeof-listeners-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-listeners-form/nvmeof-listeners-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-form/cephfs-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/smb/smb-cluster-form/smb-cluster-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/host.service.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/nvmeof.service.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/host.interface.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/models/service.interface.ts