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

Method set_localized_module_option

src/pybind/mgr/mgr_module.py:2215–2224  ·  view source on GitHub ↗

Set localized configuration for this ceph-mgr instance. :param str key: :param str val: :return: str

(self, key: str, val: Optional[str])

Source from the content-addressed store, hash-verified

2213 @API.perm('w')
2214 @API.expose
2215 def set_localized_module_option(self, key: str, val: Optional[str]) -> None:
2216 """
2217 Set localized configuration for this ceph-mgr instance.
2218
2219 :param str key:
2220 :param str val:
2221 :return: str
2222 """
2223 self._validate_module_option(key)
2224 return self._set_localized(key, val, self._set_module_option)
2225
2226 @API.perm('w')
2227 @API.expose

Callers 2

__init__Method · 0.80
_self_test_configMethod · 0.80

Calls 2

_set_localizedMethod · 0.95

Tested by

no test coverage detected