]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
orchestrator: Add summary line to orch device ls
authorPaul Cuzner <pcuzner@ibm.com>
Thu, 21 Dec 2023 01:12:45 +0000 (20:12 -0500)
committerAdam King <adking@redhat.com>
Sun, 10 Mar 2024 20:13:47 +0000 (16:13 -0400)
commitc1346f90753ae663e4a00c1f67b9a14e25a44778
tree45462cd6e0395b03bdbafb3342e4f6699fb3749e
parentc2ea977b6956d1f694ccf66acc692fdd979e3baa
orchestrator: Add summary line to orch device ls

This patch just adds a summary line to the plain
text output of orch device ls when the --summary
switch is given. This helps to quickly understand your
device countswhen managing hosts with many devices.

Fixes: https://tracker.ceph.com/issues/63864
Signed-off-by: Paul Cuzner <pcuzner@ibm.com>
(cherry picked from commit 50a4cd3a18ce510f25908531d6228e7447f5e72c)
src/pybind/mgr/orchestrator/module.py