11ad5eceb72638703ade0672dbca6ac15519a4a2
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / src / test / resources / application.conf
1 odl-cluster-rpc {
2   bounded-mailbox {
3     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
4     mailbox-capacity = 1000
5     mailbox-push-timeout-time = 10ms
6   }
7
8   akka {
9     loglevel = "INFO"
10     #log-config-on-start = on
11
12     actor {
13       provider = "akka.cluster.ClusterActorRefProvider"
14       debug{
15         #autoreceive = on
16         #lifecycle = on
17
18       }
19     }
20     remote {
21       log-received-messages = on
22       log-sent-messages = on
23
24       log-remote-lifecycle-events = off
25       artery {
26         enabled = on
27         canonical.hostname = "127.0.0.1"
28         canonical.port = 2550
29       }
30     }
31
32     cluster {
33       seed-nodes = ["akka://opendaylight-rpc@127.0.0.1:2550"]
34
35       auto-down-unreachable-after = 10s
36     }
37   }
38 }
39 unit-test {
40   akka {
41     loglevel = "DEBUG"
42     #loggers = ["akka.event.slf4j.Slf4jLogger"]
43     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
44     persistence.journal.plugin = "in-memory-journal"
45   }
46   bounded-mailbox {
47     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
48     #mailbox-capacity is specified in config subsystem
49     mailbox-capacity = 1000
50     mailbox-push-timeout-time = 10ms
51   }
52
53   in-memory-journal {
54     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
55   }
56
57   in-memory-snapshot-store {
58     # Class name of the plugin.
59     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
60     # Dispatcher for the plugin actor.
61     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
62   }
63 }
64
65 memberA {
66   bounded-mailbox {
67     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
68     mailbox-capacity = 1000
69     mailbox-push-timeout-time = 10ms
70   }
71   akka {
72     loglevel = "INFO"
73     loggers = ["akka.event.slf4j.Slf4jLogger"]
74
75     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
76     persistence.journal.plugin = "in-memory-journal"
77     actor {
78       provider = "akka.cluster.ClusterActorRefProvider"
79       debug {
80         #lifecycle = on
81       }
82     }
83     remote {
84       log-received-messages = off
85       log-sent-messages = off
86
87       log-remote-lifecycle-events = off
88       artery {
89         enabled = on
90         canonical.hostname = "127.0.0.1"
91         canonical.port = 2551
92       }
93     }
94
95     cluster {
96       seed-nodes = ["akka://opendaylight-rpc@127.0.0.1:2551"]
97
98       auto-down-unreachable-after = 10s
99     }
100   }
101   in-memory-journal {
102     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
103   }
104
105   in-memory-snapshot-store {
106     # Class name of the plugin.
107     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
108     # Dispatcher for the plugin actor.
109     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
110   }
111 }
112 memberB {
113   bounded-mailbox {
114     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
115     mailbox-capacity = 1000
116     mailbox-push-timeout-time = 10ms
117   }
118   akka {
119     loglevel = "INFO"
120     loggers = ["akka.event.slf4j.Slf4jLogger"]
121
122     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
123     persistence.journal.plugin = "in-memory-journal"
124
125     actor {
126       provider = "akka.cluster.ClusterActorRefProvider"
127       debug {
128         #lifecycle = on
129       }
130     }
131     remote {
132       log-received-messages = off
133       log-sent-messages = off
134
135       log-remote-lifecycle-events = off
136       artery {
137         enabled = on
138         canonical.hostname = "127.0.0.1"
139         canonical.port = 2552
140       }
141     }
142
143     cluster {
144       seed-nodes = ["akka://opendaylight-rpc@127.0.0.1:2551"]
145
146       auto-down-unreachable-after = 10s
147     }
148   }
149   in-memory-journal {
150     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
151   }
152
153   in-memory-snapshot-store {
154     # Class name of the plugin.
155     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
156     # Dispatcher for the plugin actor.
157     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
158   }
159 }
160 memberC {
161   bounded-mailbox {
162     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
163     mailbox-capacity = 1000
164     mailbox-push-timeout-time = 10ms
165   }
166   akka {
167     loglevel = "INFO"
168     loggers = ["akka.event.slf4j.Slf4jLogger"]
169
170     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
171     persistence.journal.plugin = "in-memory-journal"
172
173     actor {
174       provider = "akka.cluster.ClusterActorRefProvider"
175       debug {
176         #lifecycle = on
177       }
178     }
179     remote {
180       log-received-messages = off
181       log-sent-messages = off
182
183       log-remote-lifecycle-events = off
184       artery {
185         enabled = on
186         canonical.hostname = "127.0.0.1"
187         canonical.port = 2553
188       }
189     }
190
191     cluster {
192       seed-nodes = ["akka://opendaylight-rpc@127.0.0.1:2551"]
193
194       auto-down-unreachable-after = 10s
195     }
196   }
197   in-memory-journal {
198     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
199   }
200
201   in-memory-snapshot-store {
202     # Class name of the plugin.
203     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
204     # Dispatcher for the plugin actor.
205     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
206   }
207 }
208