]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: sort and align output 21812/head
authorTheofilos Mouratidis <t.mour@cern.ch>
Fri, 4 May 2018 09:37:18 +0000 (11:37 +0200)
committerTheofilos Mouratidis <t.mour@cern.ch>
Thu, 31 May 2018 08:49:57 +0000 (10:49 +0200)
commit209afb54ad1812f2b380081de8ae92f37e953623
treeeb64ada13a95b9db1fdbbfc6610890a6f4ef138b
parent9b8a74f0372202f7d88be5fe8a7c37b53e913605
ceph-volume: sort and align output

This commit targets the `ceph-volume lvm list` command.
The output is sorted by the osd id and each device's
attributed are sorted, so the ceph operators can find
relevant information easier. The devices (block,db,..etc)
are now properly aligned.

Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
src/ceph-volume/ceph_volume/devices/lvm/listing.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_listing.py