]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
python-common drive-groups: allow strings for wal and db size
authorJan Fajerski <jfajerski@suse.com>
Mon, 14 Sep 2020 09:32:38 +0000 (11:32 +0200)
committerJan Fajerski <jfajerski@suse.com>
Tue, 29 Sep 2020 20:37:22 +0000 (22:37 +0200)
commit28e33f3025d03008b46b56989e5d939682b5720d
treeef7e43405d19172cfde1fb14ce4cd89fb0e699a6
parent7d168ad7bdbb6d6d5231a4ae540ab03040b49a38
python-common drive-groups: allow strings for wal and db size

This enables user to pass sizes like "10G", which batch now understands.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/python-common/ceph/deployment/drive_group.py
src/python-common/ceph/tests/test_disk_selector.py
src/python-common/ceph/tests/test_drive_group.py