]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: add inventory command 25014/head
authorJan Fajerski <jfajerski@suse.com>
Wed, 31 Oct 2018 13:59:05 +0000 (14:59 +0100)
committerAlfredo Deza <adeza@redhat.com>
Fri, 9 Nov 2018 20:20:15 +0000 (15:20 -0500)
commitffd145e4fe1c6fc81e14948b6808d274844b1c2f
tree439409f5480f6cfe687db24da6cb1e87b898ed3b
parent9386263faf9b4e086ee496067fe4bc16030309b4
ceph-volume: add inventory command

The inventory command provides information about a nodes disk inventory.
Existing logical volumes on a disk or one of its partitions are scanned
and reported.
The output can be formatted as plain text or json.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit 57adfc6bb8abd9fc84b1378d5f69a16994d19e11)
src/ceph-volume/ceph_volume/api/lvm.py
src/ceph-volume/ceph_volume/inventory/__init__.py [new file with mode: 0644]
src/ceph-volume/ceph_volume/inventory/main.py [new file with mode: 0644]
src/ceph-volume/ceph_volume/main.py
src/ceph-volume/ceph_volume/tests/test_inventory.py [new file with mode: 0644]
src/ceph-volume/ceph_volume/tests/util/test_device.py
src/ceph-volume/ceph_volume/util/device.py