]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: expose gw_groups list api 59482/head
authorNizamudeen A <nia@redhat.com>
Tue, 3 Sep 2024 12:29:47 +0000 (17:59 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 11 Sep 2024 07:47:21 +0000 (13:17 +0530)
commitc8434d67d08882ac88c579c6e199f59f05a31699
treed2e3f9126afa8cb542046fb302b941cc79e63ba9
parent47f57d434d1690cc3c29dd048ec4cdedf618571f
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>
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