BUG-5166: Configuration of iBGP peer failed after previous BGP peers deconfiguration 89/33989/1
authorMilos Fabian <milfabia@cisco.com>
Wed, 3 Feb 2016 14:21:34 +0000 (15:21 +0100)
committerMilos Fabian <milfabia@cisco.com>
Wed, 3 Feb 2016 14:34:28 +0000 (15:34 +0100)
commit2f29cb2252c8dffa091770fe3aa22eaaaa815036
tree152785be9c48b42aa1e2b2d69b26035704b4a31d
parent1520eb59c66e08c3ef0462463bb79048b2d399b5
BUG-5166: Configuration of iBGP peer failed after previous BGP peers deconfiguration

De/Re-configuration was not treated well in the OpenConfig provider.
The Neighbor comaparator was outputting false-negative results,
because of some default values, which are not in our BGP configuration
interest.
Change Neighbor comparator to compare values realted to our BGP
peer configuration only.

Change-Id: I5e406e23bde8b183decf915e786f0fc29423ec7a
Signed-off-by: Milos Fabian <milfabia@cisco.com>
bgp/openconfig-impl/src/main/java/org/opendaylight/protocol/bgp/openconfig/impl/comparator/NeighborComparator.java