From 82a5c8f41bd3d3e2d8b420b4dbc32e4bfe35b580 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Wed, 7 Jul 2021 11:47:59 +0200 Subject: [PATCH] doc/dev/cephadm: Define variables Fixes: https://tracker.ceph.com/issues/47142 Signed-off-by: Sebastian Wagner (cherry picked from commit 9d30b96f04e85d16452931f315f900af73190968) --- doc/dev/cephadm/developing-cephadm.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/dev/cephadm/developing-cephadm.rst b/doc/dev/cephadm/developing-cephadm.rst index 9d6531d80a432..17e4d3ddee404 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 -- 2.39.5