]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: expose gw_groups list api 59751/head
authorNizamudeen A <nia@redhat.com>
Tue, 3 Sep 2024 12:29:47 +0000 (17:59 +0530)
committerNizamudeen A <nia@redhat.com>
Thu, 12 Sep 2024 06:02:03 +0000 (11:32 +0530)
commitdb067b508afba97f5c3a0a3aa3db094f00533895
treedaae4e53cdf57b817051b917c2b02c1986398c6d
parent3ca30d80d9542141dd6f49bfdb2a3ab82e8b1fae
mgr/dashboard: expose gw_groups list api

also if the cephadm is available, make the api smart enough to
understand the running daemons and get its gateway_addr instead of
taking the first one in the list so that the HA will be there for the UI
and API as well

Fixes: https://tracker.ceph.com/issues/67774
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit c8434d67d08882ac88c579c6e199f59f05a31699)
src/pybind/mgr/cephadm/services/nvmeof.py
src/pybind/mgr/dashboard/controllers/nvmeof.py
src/pybind/mgr/dashboard/openapi.yaml
src/pybind/mgr/dashboard/services/nvmeof_cli.py
src/pybind/mgr/dashboard/services/nvmeof_conf.py