]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr_module: get_foreign_ceph_option(entity, name)
authorSage Weil <sage@newdream.net>
Tue, 16 Feb 2021 23:03:38 +0000 (18:03 -0500)
committerSage Weil <sage@newdream.net>
Wed, 17 Feb 2021 17:27:58 +0000 (12:27 -0500)
commit02c44b1734d0c162acd77fb7989422591fbb3c8f
tree0f8ca3b19a271838fbdc4c08c1e8adecbe44e9d8
parent18a12f81030bfb04580cbf2dc70937f2a975e0ad
mgr_module: get_foreign_ceph_option(entity, name)

Fetch a config value that applies to an arbitrary daemon in the cluster.

Initial implementaiton is not very efficient, but it is better than a
round-trip query to the monitor.

Note: this currently excludes mgr/ options (which should hopefully not be
of interest on other daemons!).

Signed-off-by: Sage Weil <sage@newdream.net>
src/mgr/ActivePyModules.cc
src/mgr/ActivePyModules.h
src/mgr/BaseMgrModule.cc
src/pybind/mgr/ceph_module.pyi
src/pybind/mgr/mgr_module.py