]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: refactor strategies for explicit device arguments
authorJan Fajerski <jfajerski@suse.com>
Tue, 27 Nov 2018 14:49:01 +0000 (15:49 +0100)
committerJan Fajerski <jfajerski@suse.com>
Fri, 25 Jan 2019 08:43:43 +0000 (09:43 +0100)
commit60dec8b1dfdd056662ba6a030de291f93b2f3650
treeefec3fc8a08faf667f6a4b5d65cf78174f6aac54
parenta7717818ab3790b226067da3dee8f8c216ab8f4b
ceph-volume: refactor strategies for explicit device arguments

This commit refactors lvm strategies to:
a) change the constructor to receive usage specific device lists
b) add classmethod with_auto_devices of automatic splitting by the
rotational flag (keep backwards compatible behavior)
c) rename ssds and hdds member variables to wal_devs and block_devs
d) add db_devs member variable

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/ceph-volume/ceph_volume/devices/lvm/batch.py
src/ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py
src/ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py
src/ceph-volume/ceph_volume/devices/lvm/strategies/strategies.py