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