]> git.proxmox.com Git - ceph.git/blame - ceph/src/test/cli/crushtool/tree.template.final
update sources to v12.1.2
[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
21 # weight 8.000
22 alg tree # do not change pos for existing items unnecessarily
23 hash 0 # rjenkins1
24 item device0 weight 1.000 pos 0
25 item device1 weight 1.000 pos 1
26 item device2 weight 1.000 pos 2
27 item device3 weight 1.000 pos 3
28 item device4 weight 1.000 pos 4
29 item device5 weight 1.000 pos 5
30 item device6 weight 1.000 pos 6
31 item device7 weight 1.000 pos 7
32}
33cluster cluster0 {
34 id -1 # do not change unnecessarily
35 # weight 8.000
36 alg tree # do not change pos for existing items unnecessarily
37 hash 0 # rjenkins1
38 item host0 weight 8.000 pos 0
39}
40
41# rules
42rule data {
c07f9fc5 43 id 0
7c673cae
FG
44 type replicated
45 min_size 1
46 max_size 10
47 step take cluster0
48 step chooseleaf firstn 0 type host
49 step emit
50}
51rule metadata {
c07f9fc5 52 id 1
7c673cae
FG
53 type replicated
54 min_size 1
55 max_size 10
56 step take cluster0
57 step chooseleaf firstn 0 type host
58 step emit
59}
60rule rbd {
c07f9fc5 61 id 2
7c673cae
FG
62 type replicated
63 min_size 1
64 max_size 10
65 step take cluster0
66 step chooseleaf firstn 0 type host
67 step emit
68}
69
70# end crush map