]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: prepare/create - size args as Size class
authorJan Fajerski <jfajerski@suse.com>
Mon, 27 Apr 2020 09:27:08 +0000 (11:27 +0200)
committerJan Fajerski <jfajerski@suse.com>
Fri, 25 Sep 2020 09:48:34 +0000 (11:48 +0200)
commit2ff37321640a614fd965d7df6e20d8f9d1430fa3
treeb6afe68ada9e4d4dcc9d89c0806aefaa9410f88b
parente7cdeab9dee2684c06b3543a482dd44a1db83c16
ceph-volume: prepare/create - size args as Size class

This add the disk.Size class as all size related argument types. We
often create this class form args like this anyway and it enables users
to pass not only bytes but also strings like 50G.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/ceph-volume/ceph_volume/devices/lvm/common.py
src/ceph-volume/ceph_volume/devices/lvm/prepare.py