BUG-5247: notify listeners for entities which are not owned 79/34179/19
authorRobert Varga <rovarga@cisco.com>
Fri, 5 Feb 2016 17:45:40 +0000 (18:45 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 15 Feb 2016 13:25:38 +0000 (13:25 +0000)
commite86a9107fc3ae4451b5a7eb54a03f9ad6776fe72
tree5ca3f806a806810669ab1747ff062a3357e67186
parentcde629670ede8b98f66a224902958ec40d835662
BUG-5247: notify listeners for entities which are not owned

Rather than broadcasting just the 'up' state, notify listeners about all
state we know of.

Change-Id: Iaae6db925a321aad420fa0ee8bdf8b56b5d2a29e
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/EntityOwnershipShard.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/DistributedEntityOwnershipIntegrationTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/EntityOwnershipShardTest.java