]> git.proxmox.com Git - ceph.git/blame - ceph/src/test/cli/crushtool/simple.template.four
import quincy beta 17.1.0
[ceph.git] / ceph / src / test / cli / crushtool / simple.template.four
CommitLineData
7c673cae
FG
1# begin crush map
2
3# devices
4device 0 device0
5
6# types
7type 0 device
8type 1 host
9type 2 cluster
10
11# buckets
12host host0 {
13 id -2 # do not change unnecessarily
20effc67 14 # weight 1.00000
7c673cae
FG
15 alg straw
16 hash 0 # rjenkins1
20effc67 17 item device0 weight 1.00000
7c673cae
FG
18}
19cluster cluster0 {
20 id -1 # do not change unnecessarily
20effc67 21 # weight 1.00000
7c673cae
FG
22 alg straw
23 hash 0 # rjenkins1
20effc67 24 item host0 weight 1.00000
7c673cae
FG
25}
26
27# rules
28rule data {
c07f9fc5 29 id 0
7c673cae 30 type replicated
7c673cae
FG
31 step take cluster0
32 step chooseleaf firstn 0 type host
33 step emit
34}
35rule metadata {
c07f9fc5 36 id 1
7c673cae 37 type replicated
7c673cae
FG
38 step take cluster0
39 step chooseleaf firstn 0 type host
40 step emit
41}
42rule rbd {
c07f9fc5 43 id 2
7c673cae 44 type replicated
7c673cae
FG
45 step take cluster0
46 step chooseleaf firstn 0 type host
47 step emit
48}
49
50# end crush map