]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
orchestrator: intergrate LSM information with device ls
authorPaul Cuzner <pcuzner@redhat.com>
Mon, 31 Aug 2020 02:20:15 +0000 (14:20 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Mon, 31 Aug 2020 02:20:15 +0000 (14:20 +1200)
commitdea7ac0fbfc0330964868c4d5c838b9fd34f5ddd
treeb7364a1eecf2744c598c125371f2abdaa314eba9
parent90e54349056202e5442a8e57c5752da4ea85225b
orchestrator: intergrate LSM information with device ls

libstoragemgmt metatdata is now available with ceph-volume,
so this patch reformats the plain text output mode of the
orch device ls command to include device health and LED
states.

In addition ; the headings have been camel cased for readability,
the device size is given in dec (since you buy drives in GB not GiB),
a new wide mode has been added and the default output focuses
on the most frequently referred to fields to keep it brief.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/pybind/mgr/orchestrator/module.py
src/python-common/ceph/deployment/inventory.py