From: Sebastian Wagner Date: Wed, 7 Jul 2021 09:47:59 +0000 (+0200) Subject: doc/dev/cephadm: Define variables X-Git-Tag: v16.2.6~54^2~60 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=82a5c8f41bd3d3e2d8b420b4dbc32e4bfe35b580;p=ceph.git doc/dev/cephadm: Define variables Fixes: https://tracker.ceph.com/issues/47142 Signed-off-by: Sebastian Wagner (cherry picked from commit 9d30b96f04e85d16452931f315f900af73190968) --- diff --git a/doc/dev/cephadm/developing-cephadm.rst b/doc/dev/cephadm/developing-cephadm.rst index 9d6531d80a4..17e4d3ddee4 100644 --- a/doc/dev/cephadm/developing-cephadm.rst +++ b/doc/dev/cephadm/developing-cephadm.rst @@ -124,6 +124,20 @@ This means we should do very few synchronous calls to remote hosts. As a guideline, cephadm should do at most ``O(1)`` network calls in CLI handlers. Everything else should be done asynchronously in other threads, like ``serve()``. +Note regarding different variables used in the code +=================================================== + +* a ``service_type`` is something like mon, mgr, alertmanager etc defined + in ``ServiceSpec`` +* a ``service_id`` is the name of the service. Some services don't have + names. +* a ``service_name`` is ``.`` +* a ``daemon_type`` is the same as the service_type, except for ingress, + which has the haproxy and keepalived daemon types. +* a ``daemon_id`` is typically ``..``. + (Not the case for e.g. OSDs. OSDs are always called OSD.N) +* a ``daemon_name`` is ``.`` + Kcli: a virtualization management tool to make easy orchestrators development ============================================================================= `Kcli `_ is meant to interact with existing