Add support for crush_rule pool key
Later ceph versions allow the crush_rule to be changed on a pool; add this key with type str to the list of supported keys for the pool broker. Change-Id: I2c405f9a4956ff1ccf1edb7372a9bb11e1e591a4
This commit is contained in:
parent
151a242dba
commit
c0d3f4d246
@ -85,6 +85,7 @@ POOL_KEYS = {
|
|||||||
"compression_mode": [str, ["none", "passive", "aggressive", "force"]],
|
"compression_mode": [str, ["none", "passive", "aggressive", "force"]],
|
||||||
"compression_algorithm": [str, ["lz4", "snappy", "zlib", "zstd"]],
|
"compression_algorithm": [str, ["lz4", "snappy", "zlib", "zstd"]],
|
||||||
"compression_required_ratio": [float, [0.0, 1.0]],
|
"compression_required_ratio": [float, [0.0, 1.0]],
|
||||||
|
"crush_rule": [str],
|
||||||
}
|
}
|
||||||
|
|
||||||
CEPH_BUCKET_TYPES = [
|
CEPH_BUCKET_TYPES = [
|
||||||
|
Loading…
Reference in New Issue
Block a user