8449abb7b055ce02d3b83cbbe42af55db69fd0ad
[controller.git] / opendaylight / md-sal / sal-clustering-config / src / main / resources / initial / module-shards.conf
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 = [
31                     "member-1"
32                 ]
33             }
34         ]
35     },
36     {
37         name = "topology"
38         shards = [
39             {
40                 name="topology"
41                 replicas = [
42                     "member-1"
43                 ]
44             }
45         ]
46     },
47     {
48         name = "inventory"
49         shards = [
50             {
51                 name="inventory"
52                 replicas = [
53                     "member-1"
54                 ]
55             }
56         ]
57     },
58          {
59              name = "toaster"
60              shards = [
61                  {
62                      name="toaster"
63                      replicas = [
64                          "member-1"
65                      ]
66                  }
67              ]
68          }
69
70 ]