]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Allow host with labels in listener form
authorAfreen Misbah <afreen@ibm.com>
Mon, 16 Jun 2025 17:09:46 +0000 (22:39 +0530)
committerAfreen Misbah <afreen@ibm.com>
Wed, 25 Jun 2025 06:56:12 +0000 (12:26 +0530)
commit60c21b77590c8bd100b7a119fc16c874f1412faf
tree514cb975716bc5f09f96e2c45e03ba4c972467fa
parentab22957b119807c8ee776a4524e580d10158b081
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>
(cherry picked from commit 0bd2704a88f517b48196a8b1a3c07b0f8032b0f6)
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