]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add identity field to CephContainer
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 22 Jun 2023 20:18:03 +0000 (16:18 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 9 Aug 2023 17:48:07 +0000 (13:48 -0400)
commitfd4bf1e235fe586296da9dd65e8f45c8880cfb48
treed6171acc9d2cce8e30ff13205ae63646b43ebc16
parent8d0d0947796c94fee2955b87767763fd773e7545
cephadm: add identity field to CephContainer

Add an optional identity field based on the new DaemonIdentity type
to help name/identify the CephContainers. I would have preferred to make
this field mandatory but there are so many places in the code that
call CephContainer now, I didn't want to have to touch them all at once.
CephContainer objects created using the for_daemon classmethod *will*
all have DaemonIdentity set.

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