]> git.proxmox.com Git - ceph.git/blame - ceph/src/test/cli/crushtool/check-overlapped-rules.crushmap.txt
import quincy beta 17.1.0
[ceph.git] / ceph / src / test / cli / crushtool / check-overlapped-rules.crushmap.txt
CommitLineData
7c673cae
FG
1device 0 device0
2device 1 device1
3device 2 device2
4device 3 device3
5device 4 device4
6
7type 0 osd
8type 1 host
9
10host host0 {
11 id -1
12 alg straw
13 hash 0
20effc67
TL
14 item device0 weight 1.00000
15 item device1 weight 1.00000
16 item device2 weight 1.00000
17 item device3 weight 1.00000
18 item device4 weight 1.00000
7c673cae
FG
19}
20
21rule rule-r0 {
20effc67 22 id 0
7c673cae 23 type replicated
7c673cae
FG
24 step take host0
25 step choose firstn 0 type osd
26 step emit
27}
28
29rule rule-r1 {
20effc67 30 id 0
7c673cae 31 type replicated
7c673cae
FG
32 step take host0
33 step choose firstn 0 type osd
34 step emit
35}
36
37rule rule-r2 {
20effc67 38 id 0
7c673cae 39 type replicated
7c673cae
FG
40 step take host0
41 step choose firstn 0 type osd
42 step emit
43}
44
45rule rule-r3 {
20effc67 46 id 0
7c673cae 47 type replicated
7c673cae
FG
48 step take host0
49 step choose indep 0 type osd
50 step emit
51}
52
53rule rule-r4 {
20effc67 54 id 0
7c673cae 55 type replicated
7c673cae
FG
56 step take host0
57 step choose indep 0 type osd
58 step emit
59}
60
61rule rule-e0 {
20effc67 62 id 0
7c673cae 63 type erasure
7c673cae
FG
64 step take host0
65 step choose indep 0 type osd
66 step emit
67}
68
69rule rule-e1 {
20effc67 70 id 1
7c673cae 71 type erasure
7c673cae
FG
72 step take host0
73 step choose indep 0 type osd
74 step emit
75}