]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerNathan Cutler <ncutler@suse.com>
Tue, 6 Oct 2020 09:40:32 +0000 (11:40 +0200)
commit36eb240aa7b63dca06b75878569c6a279a59cee9
treecab8e28e9c40382af96a2a1933f9e1d63ae45539
parent21ade2478c813492fe1230256d61964c4e51e206
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>
(cherry picked from commit dea7ac0fbfc0330964868c4d5c838b9fd34f5ddd)
src/pybind/mgr/orchestrator/module.py
src/python-common/ceph/deployment/inventory.py