]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
library/ceph_ec_profile.py: Support CRUSH device class
authorBenoît Knecht <bknecht@protonmail.ch>
Tue, 26 Oct 2021 13:49:33 +0000 (15:49 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 1 Dec 2021 07:39:14 +0000 (08:39 +0100)
commit09b56a889080233d764a95bdbacf5b2dd35ad3d0
tree54e900bfb864960f07e42559069d2f253e517855
parentc4fdf956bd7269cb457023c45366d0edc17a8a67
library/ceph_ec_profile.py: Support CRUSH device class

The `crush_device_class` option of the `ceph_ec_profile` module was documented
but not implemented.

This commit adds it and ensures its value is updated on the corresponding EC
profile.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
library/ceph_ec_profile.py
tests/library/test_ceph_ec_profile.py