Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / cli / crushtool / simple.template.adj.three
1 # begin crush map
2
3 # devices
4 device 0 device0
5
6 # types
7 type 0 device
8 type 1 host
9 type 2 cluster
10
11 # buckets
12 host host0 {
13         id -2           # do not change unnecessarily
14         # weight 3.000
15         alg straw
16         hash 0  # rjenkins1
17         item device0 weight 3.000
18 }
19 host fake {
20         id -3           # do not change unnecessarily
21         # weight 2.000
22         alg straw
23         hash 0  # rjenkins1
24         item device0 weight 2.000
25 }
26 cluster cluster0 {
27         id -1           # do not change unnecessarily
28         # weight 5.000
29         alg straw
30         hash 0  # rjenkins1
31         item host0 weight 3.000
32         item fake weight 2.000
33 }
34
35 # rules
36 rule data {
37         id 0
38         type replicated
39         min_size 1
40         max_size 10
41         step take cluster0
42         step chooseleaf firstn 0 type host
43         step emit
44 }
45 rule metadata {
46         id 1
47         type replicated
48         min_size 1
49         max_size 10
50         step take cluster0
51         step chooseleaf firstn 0 type host
52         step emit
53 }
54 rule rbd {
55         id 2
56         type replicated
57         min_size 1
58         max_size 10
59         step take cluster0
60         step chooseleaf firstn 0 type host
61         step emit
62 }
63
64 # end crush map