bug 7599 avoid mdsal read 16/51516/3
authorK.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>
Tue, 7 Feb 2017 13:00:15 +0000 (18:30 +0530)
committerK.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>
Wed, 15 Mar 2017 05:21:03 +0000 (10:51 +0530)
commit90c5a3b4e773bdefd115b7269a44fdee8420593e
treed65ec303e41cddb630490056a8da9d1ebfdda794
parent1a199b0821290f8862078b7d4f9754d9fe3332ee
bug 7599 avoid mdsal read

while processing the config update avoid mdsal read
maintain the instance identifier vs connectionInstance map.
Update the map upon GlobalUpdate.
Clear the map upon node disconnect event.
Use the map to identifiy the connectionInstance for the changed node.

Change-Id: I8cbb505f0e56bdc0a3f5b46104a26aa02381ad6f
Signed-off-by: K.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>
hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionInstance.java
hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java
hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepDataChangeListener.java
hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepSouthboundUtil.java
hwvtepsouthbound/hwvtepsouthbound-impl/src/test/java/org/opendaylight/ovsdb/hwvtepsouthbound/DataChangeListenerTestBase.java