]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: Device - add vg_free property
authorJan Fajerski <jfajerski@suse.com>
Mon, 27 Apr 2020 09:34:19 +0000 (11:34 +0200)
committerJan Fajerski <jfajerski@suse.com>
Wed, 7 Oct 2020 09:22:39 +0000 (11:22 +0200)
commit35e1139c41cb3eed8edf4e04b3b13e1c86bf0e74
tree5995c7fc2292edd3d39ba3b9a13c3a2ac0f27fc7
parent9f4178c20b39aa15376053b1030c190b7977d08a
ceph-volume: Device - add vg_free property

This new property returns the free space in any VGs present. If no VGs
are on the device we project how much space a VG will have.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit b34f130f30daeca034b6b2365cc5a832ba8faa56)
src/ceph-volume/ceph_volume/util/device.py