]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: move context based getters to context_getters.py
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 26 Sep 2023 17:26:23 +0000 (13:26 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 26 Sep 2023 17:31:26 +0000 (13:31 -0400)
commitfa4846a04a45e79e1251d016dd7d9611fd5c80ce
treed9dbd1cbb38d5510e932aed7362566baa9a5e69f
parentf9e9f30b2752c8bdcd7d368473bd1c790f901b39
cephadm: move context based getters to context_getters.py

Move functions that exist mainly to pull information out of the
CephadmContext in various ways to a new context_getters.py module.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py
src/cephadm/cephadmlib/context_getters.py [new file with mode: 0644]
src/cephadm/tests/test_cephadm.py