]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: introduce daemon forms to cephadm.py
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 20 Sep 2023 14:17:29 +0000 (10:17 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 4 Oct 2023 19:17:57 +0000 (15:17 -0400)
commit1a70e6a72e74e46dce189e4297278166edf3ab87
tree4d0dff84e3c33aa146ebca1defb8f7443b5d15fe
parent910a2e01f4163331054ffb03bc975f931a022ae0
cephadm: introduce daemon forms to cephadm.py

Introduce the DeamonForm base class to cephadm.py and make various
daemon-type classes into fully fleged deamon form classes.

Some classes already had a semi-standard `init` classmethod for
instantiation. In these cases the new `create` classmethod is a thin
wrapper over the existing method. In cases where the class was not
already being instantiated a minimal set of methods are added.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py