]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: add parsed_container_mem_usage to container_engines
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 30 Jan 2025 00:12:41 +0000 (19:12 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 30 Jan 2025 00:43:11 +0000 (19:43 -0500)
commit395b8d322f2431ab306d131464964658dedf971c
treeb50430bb40c36a0e6e4a57c58da87f18219bb09e
parentc20073f425c9a58263c902b553d92e86ed621e05
cephadm: add parsed_container_mem_usage to container_engines

Add a new function that combines the call and parse operations that
exist in cephadm.py (currently _parse_mem_usage 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