Fix topology not showing prefixes learned from BGP/LS 59/5059/2
authorRobert Varga <rovarga@cisco.com>
Fri, 31 Jan 2014 11:17:26 +0000 (12:17 +0100)
committerRobert Varga <rovarga@cisco.com>
Fri, 31 Jan 2014 18:21:36 +0000 (19:21 +0100)
commit435309a595d8e75f11f2504ee531c39059fa4194
tree8e683b2c6737e9e7f4ccc65196ec2c98708a6a4f
parent0b2ea4d76a14b3a563df56e2e947d411f2ca819c
Fix topology not showing prefixes learned from BGP/LS

The Linkstate RIB plugin was losing IP reachability information in the
prefix case. Fix it by using the copy builder constructor.

Also add a defensive check for IP reachability presence in the topology
builder.

Change-Id: I0b16b036397a935771d86a3c7253c998e594ec7c
Signed-off-by: Robert Varga <rovarga@cisco.com>
bgp/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/LinkstateAdjRIBsIn.java
bgp/topology-provider/src/main/java/org/opendaylight/bgpcep/bgp/topology/provider/LinkstateTopologyBuilder.java