]> git.proxmox.com Git - ceph.git/blame - ceph/src/test/cli/crushtool/tree.template.final
import quincy beta 17.1.0
[ceph.git] / ceph / src / test / cli / crushtool / tree.template.final
CommitLineData
7c673cae
FG
1# begin crush map
2
3# devices
4device 0 device0
5device 1 device1
6device 2 device2
7device 3 device3
8device 4 device4
9device 5 device5
10device 6 device6
11device 7 device7
12
13# types
14type 0 device
15type 1 host
16type 2 cluster
17
18# buckets
19host host0 {
20 id -2 # do not change unnecessarily
20effc67 21 # weight 8.00000
7c673cae
FG
22 alg tree # do not change pos for existing items unnecessarily
23 hash 0 # rjenkins1
20effc67
TL
24 item device0 weight 1.00000 pos 0
25 item device1 weight 1.00000 pos 1
26 item device2 weight 1.00000 pos 2
27 item device3 weight 1.00000 pos 3
28 item device4 weight 1.00000 pos 4
29 item device5 weight 1.00000 pos 5
30 item device6 weight 1.00000 pos 6
31 item device7 weight 1.00000 pos 7
7c673cae
FG
32}
33cluster cluster0 {
34 id -1 # do not change unnecessarily
20effc67 35 # weight 8.00000
7c673cae
FG
36 alg tree # do not change pos for existing items unnecessarily
37 hash 0 # rjenkins1
20effc67 38 item host0 weight 8.00000 pos 0
7c673cae
FG
39}
40
41# rules
42rule data {
c07f9fc5 43 id 0
7c673cae 44 type replicated
7c673cae
FG
45 step take cluster0
46 step chooseleaf firstn 0 type host
47 step emit
48}
49rule metadata {
c07f9fc5 50 id 1
7c673cae 51 type replicated
7c673cae
FG
52 step take cluster0
53 step chooseleaf firstn 0 type host
54 step emit
55}
56rule rbd {
c07f9fc5 57 id 2
7c673cae 58 type replicated
7c673cae
FG
59 step take cluster0
60 step chooseleaf firstn 0 type host
61 step emit
62}
63
64# end crush map