Bug-2397:Provide a mechanism for stakeholders to get notifications on Raft state...
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / resources / application.conf
1 akka {
2
3     loglevel = "DEBUG"
4
5     actor {
6         # enable to test serialization only.
7         # serialize-messages = on
8
9         serializers {
10           java  = "akka.serialization.JavaSerializer"
11           proto = "akka.remote.serialization.ProtobufSerializer"
12         }
13
14         serialization-bindings {
15             "org.opendaylight.controller.cluster.raft.ReplicatedLogImplEntry" = java
16             "org.opendaylight.controller.cluster.notifications.RegisterRoleChangeListener" = java
17             "com.google.protobuf.Message" = proto
18             "com.google.protobuf.GeneratedMessage" = proto
19         }
20     }
21 }
22
23 raft-test {
24     akka {
25
26         loglevel = "DEBUG"
27
28         actor {
29             # enable to test serialization only.
30             # serialize-messages = on
31
32             provider = "akka.remote.RemoteActorRefProvider"
33
34             serializers {
35               java  = "akka.serialization.JavaSerializer"
36               proto = "akka.remote.serialization.ProtobufSerializer"
37             }
38
39             serialization-bindings {
40                 "org.opendaylight.controller.cluster.raft.ReplicatedLogImplEntry" = java
41                 "org.opendaylight.controller.cluster.notifications.RegisterRoleChangeListener" = java
42                 "com.google.protobuf.Message" = proto
43                 "com.google.protobuf.GeneratedMessage" = proto
44             }
45         }
46
47         remote {
48                         log-remote-lifecycle-events = off
49                         netty.tcp {
50                             hostname = "127.0.0.1"
51                             port = 2550
52                         }
53                     }
54     }
55 }
56
57 raft-test-listener {
58
59   akka {
60     loglevel = "DEBUG"
61
62     actor {
63         provider = "akka.remote.RemoteActorRefProvider"
64     }
65
66     remote {
67         log-remote-lifecycle-events = off
68         netty.tcp {
69             hostname = "127.0.0.1"
70             port = 2554
71         }
72     }
73
74     member-id = "member-1"
75   }
76 }
77
78
79

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.