Add singleton service based global rpc 24/50724/3
authorTomas Cere <tcere@cisco.com>
Fri, 20 Jan 2017 15:52:53 +0000 (16:52 +0100)
committerTom Pantelis <tpanteli@brocade.com>
Mon, 23 Jan 2017 17:28:55 +0000 (17:28 +0000)
commit61ef209240959401c9d8d33ed439451bb8801f0a
tree915d397c0d7313195e2aafab6f34d84886d395a8
parent244ee83be8c1180ea1845b8768503c8013b0dc7f
Add singleton service based global rpc

We need to have a global rpc present that we can use in csit,
use ClusterSingletonService to have it registered only on one
node in cluster.

Change-Id: Id4019ebb874a1da7919d1484ec7af7f5b3395283
Signed-off-by: Tomas Cere <tcere@cisco.com>
opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/rpc-test.yang [new file with mode: 0644]
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/BasicRpcTestProvider.java [new file with mode: 0644]
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/resources/org/opendaylight/blueprint/cluster-test-app.xml