]>
git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/cephadm/utils.py
3 from orchestrator
import OrchestratorError
5 def name_to_config_section(name
):
7 Map from daemon names to ceph entity names (as seen in config)
9 daemon_type
= name
.split('.', 1)[0]
10 if daemon_type
in ['rgw', 'rbd-mirror', 'nfs', 'crash']:
11 return 'client.' + name
12 elif daemon_type
in ['mon', 'osd', 'mds', 'mgr', 'client']: