]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: add inventory command
authorJan Fajerski <jfajerski@suse.com>
Wed, 31 Oct 2018 13:59:05 +0000 (14:59 +0100)
committerJan Fajerski <jfajerski@suse.com>
Fri, 9 Nov 2018 12:49:35 +0000 (13:49 +0100)
commit57adfc6bb8abd9fc84b1378d5f69a16994d19e11
tree2c3266b426ef9340d83a4994f928292e98c43ff4
parent22d78ad40248a4e7689d5789710ae5b793a7a966
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>
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