Add cluster deployer template for lispflowmapping project.
[integration/test.git] / tools / clustering / cluster-deployer / templates / lispflowmapping / module-shards.conf.template
1 # This file describes which shards live on which members
2 # The format for a module-shards is as follows,
3 # {
4 #    name = "<friendly_name_of_the_module>"
5 #    shards = [
6 #        {
7 #            name="<any_name_that_is_unique_for_the_module>"
8 #            replicas = [
9 #                "<name_of_member_on_which_to_run>"
10 #            ]
11 #     ]
12 # }
13 #
14 # For Helium we support only one shard per module. Beyond Helium
15 # we will support more than 1
16 # The replicas section is a collection of member names. This information
17 # will be used to decide on which members replicas of a particular shard will be
18 # located. Once replication is integrated with the distributed data store then
19 # this section can have multiple entries.
20 #
21 #
22
23
24 module-shards = [
25     {
26         name = "default"
27         shards = [
28             {
29                 name="default"
30                 replicas = {{{REPLICAS_1}}}
31             }
32         ]
33     },
34     {
35         name = "topology"
36         shards = [
37             {
38                 name="topology"
39                 replicas = {{{REPLICAS_2}}}
40             }
41         ]
42     },
43     {
44         name = "inventory"
45         shards = [
46             {
47                 name="inventory"
48                 replicas = {{{REPLICAS_3}}}
49             }
50         ]
51     },
52     {
53         name = "toaster"
54         shards = [
55             {
56                 name="toaster"
57                 replicas = {{{REPLICAS_4}}}
58             }
59         ]
60     },
61     {
62         name = "car"
63         shards = [
64             {
65                 name="car"
66                 replicas = {{{REPLICAS_4}}}
67             }
68         ]
69     },
70     {
71         name = "people"
72         shards = [
73             {
74                 name="people"
75                 replicas = {{{REPLICAS_4}}}
76             }
77         ]
78     },
79     {
80         name = "car-people"
81         shards = [
82             {
83                 name="car-people"
84                 replicas = {{{REPLICAS_4}}}
85             }
86         ]
87     }
88
89 ]