Fix duplicate NodeIdentifier instances 23/22323/1
authorRobert Varga <rovarga@cisco.com>
Wed, 10 Jun 2015 08:17:11 +0000 (10:17 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 11 Jun 2015 05:27:22 +0000 (05:27 +0000)
commit68695ee1eea46cd0df188a63030dae6a34049809
tree36a8e339382bb42bb5c4808241cc3f09013aef45
parent85f143a7ba86969415e09898a5c337bfd81a61e0
Fix duplicate NodeIdentifier instances

Memory dump has shown we have multitude of NodeIdentifiers pointing to
the prefix QName. This turns out to be the automatic completion of
missing key leaves. Fix the caller to set the leaf up correctly, thus
sharing the NodeIdentifier instance.

Change-Id: I5fb563a9048f4d48c2a2c5b96b8b9bfd08b867f6
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit 390fbfa3f810ad278d3c55a256bd1deea2ac1bb0)
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/AbstractIPRIBSupport.java