MCPcopy Create free account
hub / github.com/ceph/ceph / get_localized_module_option

Method get_localized_module_option

src/pybind/mgr/mgr_module.py:2178–2183  ·  view source on GitHub ↗

Retrieve localized configuration for this ceph-mgr instance

(self, key: str, default: OptionValue = None)

Source from the content-addressed store, hash-verified

2176 return setter(_get_localized_key(self.get_mgr_id(), key), val)
2177
2178 def get_localized_module_option(self, key: str, default: OptionValue = None) -> OptionValue:
2179 """
2180 Retrieve localized configuration for this ceph-mgr instance
2181 """
2182 self._validate_module_option(key)
2183 return self._get_module_option(key, default, self.get_mgr_id())
2184
2185 def _set_module_option(self, key: str, val: Any) -> None:
2186 return self._ceph_set_module_option(self.module_name, key,

Callers 15

__init__Method · 0.45
addMethod · 0.45
__init__Method · 0.45
get_server_addrMethod · 0.45
get_rbd_statsMethod · 0.45
serveMethod · 0.45
start_serverMethod · 0.45
serveMethod · 0.45
config_get_localizedMethod · 0.45
_self_test_configMethod · 0.45
configure_corsFunction · 0.45
cors_toolFunction · 0.45

Calls 3

_get_module_optionMethod · 0.95
get_mgr_idMethod · 0.95

Tested by

no test coverage detected