BUG 7414: Tunnel pushed to wrong OVS 80/49680/3
authorVishal Thapar <vishal.thapar@ericsson.com>
Wed, 21 Dec 2016 05:49:12 +0000 (11:19 +0530)
committerVishal Thapar <vishal.thapar@ericsson.com>
Wed, 21 Dec 2016 13:26:23 +0000 (18:56 +0530)
commit4390b61dbebddad7e4c1dd7a8b54723fd531da66
tree51695fc6324cacdf4538cd11b3f7bc61aa5e6185
parent7f779eb28f576e99ea12201429cc3098863d99c0
BUG 7414: Tunnel pushed to wrong OVS

If we get DTCN with modiications on multiple nodes, we're processing the
changes as if they were recieved on all nodes. updateData() gets client
for each node in change, but instead of passing on the changes that are
made only on that node, it passes it all the changes including ones on
other nodes/clients.

Fix is to have a map of changes per client and only transact this subset
to the client.

Change-Id: Ie03176b470b120eba76478c8c12e44d831329953
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/OvsdbDataTreeChangeListener.java