Compare member names in leader identifier and member event instead of by leader ident...
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / resources / application.conf
1 akka {
2     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
3     persistence.journal.plugin = "in-memory-journal"
4
5     loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"]
6
7     actor {
8     }
9 }
10
11 in-memory-journal {
12     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
13 }
14
15 in-memory-snapshot-store {
16   # Class name of the plugin.
17   class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
18   # Dispatcher for the plugin actor.
19   plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
20 }
21
22 bounded-mailbox {
23   mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
24   mailbox-capacity = 1000
25   mailbox-push-timeout-time = 100ms
26 }
27
28 test {
29   bounded-mailbox {
30     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
31     mailbox-capacity = 1000
32     mailbox-push-timeout-time = 100ms
33   }
34
35   in-memory-journal {
36     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
37   }
38
39   in-memory-snapshot-store {
40     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
41     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
42   }
43
44   shard-dispatcher {
45     type = Dispatcher
46     executor = "default-executor"
47     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
48   }
49
50   akka {
51     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
52     persistence.journal.plugin = "in-memory-journal"
53
54     loglevel = "INFO"
55
56     actor {
57       provider = "akka.cluster.ClusterActorRefProvider"
58
59       serializers {
60           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
61       }
62
63       serialization-bindings {
64           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
65       }
66     }
67     remote {
68       log-remote-lifecycle-events = off
69       artery {
70         enabled = on
71         canonical.hostname = "127.0.0.1"
72         canonical.port = 2565
73       }
74
75       netty.tcp {
76         hostname = "127.0.0.1"
77         port = 2565
78       }
79     }
80
81     cluster {
82       auto-down-unreachable-after = 100s
83       retry-unsuccessful-join-after = 100ms
84
85       roles = [
86         "member-1"
87       ]
88     }
89   }
90 }
91
92 Member1 {
93   bounded-mailbox {
94     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
95     mailbox-capacity = 1000
96     mailbox-push-timeout-time = 100ms
97   }
98
99   in-memory-journal {
100     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
101   }
102
103   in-memory-snapshot-store {
104     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
105     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
106   }
107
108   shard-dispatcher {
109     type = Dispatcher
110     executor = "default-executor"
111     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
112   }
113
114   akka {
115     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
116     persistence.journal.plugin = "in-memory-journal"
117
118     loglevel = "INFO"
119
120     actor {
121       provider = "akka.cluster.ClusterActorRefProvider"
122
123       serializers {
124           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
125       }
126
127       serialization-bindings {
128           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
129       }
130     }
131     remote {
132       log-remote-lifecycle-events = off
133       artery {
134         enabled = on
135         canonical.hostname = "127.0.0.1"
136         canonical.port = 2558
137       }
138
139       netty.tcp {
140         hostname = "127.0.0.1"
141         port = 2558
142       }
143     }
144
145     cluster {
146       retry-unsuccessful-join-after = 100ms
147
148       roles = [
149         "member-1"
150       ]
151     }
152   }
153 }
154
155 Member2 {
156   bounded-mailbox {
157     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
158     mailbox-capacity = 1000
159     mailbox-push-timeout-time = 100ms
160   }
161
162   in-memory-journal {
163     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
164   }
165
166   in-memory-snapshot-store {
167     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
168     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
169   }
170
171   shard-dispatcher {
172     type = Dispatcher
173     executor = "default-executor"
174     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
175   }
176
177   akka {
178     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
179     persistence.journal.plugin = "in-memory-journal"
180
181     actor {
182       provider = "akka.cluster.ClusterActorRefProvider"
183
184       serializers {
185           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
186       }
187
188       serialization-bindings {
189           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
190       }
191     }
192     remote {
193       log-remote-lifecycle-events = off
194       artery {
195         enabled = on
196         canonical.hostname = "127.0.0.1"
197         canonical.port = 2559
198       }
199
200       netty.tcp {
201         hostname = "127.0.0.1"
202         port = 2559
203       }
204     }
205
206     cluster {
207       retry-unsuccessful-join-after = 100ms
208
209       roles = [
210         "member-2"
211       ]
212     }
213   }
214 }
215
216 Member3 {
217   bounded-mailbox {
218     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
219     mailbox-capacity = 1000
220     mailbox-push-timeout-time = 100ms
221   }
222
223   in-memory-journal {
224     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
225   }
226
227   in-memory-snapshot-store {
228     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
229     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
230   }
231
232   shard-dispatcher {
233     type = Dispatcher
234     executor = "default-executor"
235     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
236   }
237
238   akka {
239     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
240     persistence.journal.plugin = "in-memory-journal"
241
242     loglevel = "INFO"
243
244     actor {
245       provider = "akka.cluster.ClusterActorRefProvider"
246
247       serializers {
248           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
249       }
250
251       serialization-bindings {
252           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
253       }
254     }
255     remote {
256       log-remote-lifecycle-events = off
257       artery {
258         enabled = on
259         canonical.hostname = "127.0.0.1"
260         canonical.port = 2557
261       }
262
263       netty.tcp {
264         hostname = "127.0.0.1"
265         port = 2557
266       }
267     }
268
269     cluster {
270       retry-unsuccessful-join-after = 100ms
271
272       roles = [
273         "member-3"
274       ]
275     }
276   }
277 }
278
279 Member4 {
280   bounded-mailbox {
281     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
282     mailbox-capacity = 1000
283     mailbox-push-timeout-time = 100ms
284   }
285
286   in-memory-journal {
287     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
288   }
289
290   in-memory-snapshot-store {
291     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
292     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
293   }
294
295   shard-dispatcher {
296     type = Dispatcher
297     executor = "default-executor"
298     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
299   }
300
301   akka {
302     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
303     persistence.journal.plugin = "in-memory-journal"
304
305     loglevel = "INFO"
306
307     actor {
308       provider = "akka.cluster.ClusterActorRefProvider"
309
310       serializers {
311           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
312       }
313
314       serialization-bindings {
315           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
316       }
317     }
318     remote {
319       log-remote-lifecycle-events = off
320       artery {
321         enabled = on
322         canonical.hostname = "127.0.0.1"
323         canonical.port = 2560
324       }
325
326       netty.tcp {
327         hostname = "127.0.0.1"
328         port = 2560
329       }
330     }
331
332     cluster {
333       retry-unsuccessful-join-after = 100ms
334
335       roles = [
336         "member-4"
337       ]
338     }
339   }
340 }
341
342 Member5 {
343   bounded-mailbox {
344     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
345     mailbox-capacity = 1000
346     mailbox-push-timeout-time = 100ms
347   }
348
349   in-memory-journal {
350     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
351   }
352
353   in-memory-snapshot-store {
354     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
355     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
356   }
357
358   shard-dispatcher {
359     type = Dispatcher
360     executor = "default-executor"
361     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
362   }
363
364   akka {
365     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
366     persistence.journal.plugin = "in-memory-journal"
367
368     loglevel = "INFO"
369
370     actor {
371       provider = "akka.cluster.ClusterActorRefProvider"
372
373       serializers {
374           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
375       }
376
377       serialization-bindings {
378           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
379       }
380     }
381     remote {
382       log-remote-lifecycle-events = off
383       artery {
384         enabled = on
385         canonical.hostname = "127.0.0.1"
386         canonical.port = 2561
387       }
388
389       netty.tcp {
390         hostname = "127.0.0.1"
391         port = 2561
392       }
393     }
394
395     cluster {
396       retry-unsuccessful-join-after = 100ms
397
398       roles = [
399         "member-5"
400       ]
401     }
402   }
403 }
404
405 Member256 {
406   bounded-mailbox {
407     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
408     mailbox-capacity = 1000
409     mailbox-push-timeout-time = 100ms
410   }
411
412   in-memory-journal {
413     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
414   }
415
416   in-memory-snapshot-store {
417     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
418     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
419   }
420
421   shard-dispatcher {
422     type = Dispatcher
423     executor = "default-executor"
424     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
425   }
426
427   akka {
428     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
429     persistence.journal.plugin = "in-memory-journal"
430
431     loglevel = "INFO"
432
433     actor {
434       provider = "akka.cluster.ClusterActorRefProvider"
435
436       serializers {
437           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
438       }
439
440       serialization-bindings {
441           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
442       }
443     }
444     remote {
445       log-remote-lifecycle-events = off
446       artery {
447         enabled = on
448         canonical.hostname = "127.0.0.1"
449         canonical.port = 2562
450       }
451
452       netty.tcp {
453         hostname = "127.0.0.1"
454         port = 2562
455       }
456     }
457
458     cluster {
459       retry-unsuccessful-join-after = 100ms
460
461       roles = [
462         "member-256"
463       ]
464     }
465   }
466 }
467
468 Member1-without-artery {
469   akka.remote.artery.enabled = off
470 }
471
472 Member2-without-artery {
473   akka.remote.artery.enabled = off
474 }
475
476 Member3-without-artery {
477   akka.remote.artery.enabled = off
478 }
479
480 Member4-without-artery {
481   akka.remote.artery.enabled = off
482 }
483
484 Member5-without-artery {
485   akka.remote.artery.enabled = off
486 }