e46d6b1725
Using unprintable characters for swift_hash_path_prefix/suffix might lead to hard problems when parsing of these values changes, for example due to newer Python versions or changes in the parsers itself. Let's avoid this and add a note that deployers should use printable strings for these values. Change-Id: I976982b753b6af831ab91d7190f50f8f15bf73bf
22 lines
501 B
Plaintext
22 lines
501 B
Plaintext
[swift-hash]
|
|
# random unique strings that can never change (DO NOT LOSE)
|
|
# Use only printable chars (python -c "import string; print(string.printable)")
|
|
swift_hash_path_prefix = changeme
|
|
swift_hash_path_suffix = changeme
|
|
|
|
[storage-policy:0]
|
|
name = gold
|
|
policy_type = replication
|
|
default = yes
|
|
|
|
[storage-policy:1]
|
|
name = silver
|
|
policy_type = replication
|
|
|
|
[storage-policy:2]
|
|
name = ec42
|
|
policy_type = erasure_coding
|
|
ec_type = liberasurecode_rs_vand
|
|
ec_num_data_fragments = 4
|
|
ec_num_parity_fragments = 2
|