def get_config(self, key): """ Retrieve the value of a persistent configuration setting :param key: str :return: str """ return ceph_state.get_config(self._handle, key)
def get_config(self, key, default=None): """ Retrieve the value of a persistent configuration setting :param key: str :return: str """ r = ceph_state.get_config(self._handle, key) if r is None: return default else: return r