]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: add daemon_name property to DaemonIdentity
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 26 Jul 2023 23:25:07 +0000 (19:25 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 11 Sep 2023 19:23:04 +0000 (15:23 -0400)
commit04423ccd2dd97303fb82fa6f1a5fbc46a73a4a77
treed293fd7e8b12f9b7b315b9496883c4fa4791e49b
parenta7458053a4ccd09a323d717eb27db68d23c5d3d1
cephadm: add daemon_name property to DaemonIdentity

Add a convenience property to DaemonIdentity and DaemonSubIdentity that
produces a name in the ceph daemon naming convention: <type>.<id>.

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