]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add parsed_container_cpu_perc to container_engines
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 30 Jan 2025 00:25:36 +0000 (19:25 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 30 Jan 2025 00:48:18 +0000 (19:48 -0500)
commit1834881bd1c7a2412ed0bf80442c43ccc9a7198a
tree2a5806cfde5e7d5bc26ce419367f60e627d3c94f
parentbd93a46d8a49faa6e38ffdf1aa339532b6f54ea1
cephadm: add parsed_container_cpu_perc to container_engines

Add a new function that combines the call and parse operations that
exist in cephadm.py (currently _parse_cpu_perc and related command
calls). This will be used in a future commit to replace that code
and reduce the size of cephadm.py.

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