Set the value of a persistent configuration setting for the specified module. :param str module: :param str key: :param str val:
(self, module: str, key: str, val: OptionValue)
| 2198 | return self._set_module_option(key, val) |
| 2199 | |
| 2200 | def set_module_option_ex(self, module: str, key: str, val: OptionValue) -> None: |
| 2201 | """ |
| 2202 | Set the value of a persistent configuration setting |
| 2203 | for the specified module. |
| 2204 | |
| 2205 | :param str module: |
| 2206 | :param str key: |
| 2207 | :param str val: |
| 2208 | """ |
| 2209 | if module == self.module_name: |
| 2210 | self._validate_module_option(key) |
| 2211 | return self._ceph_set_module_option(module, key, str(val)) |
| 2212 | |
| 2213 | @API.perm('w') |
| 2214 | @API.expose |
no test coverage detected