Make sure we set the key in the linkstate route entry 65/5765/5
authorRobert Varga <rovarga@cisco.com>
Wed, 26 Mar 2014 00:10:15 +0000 (01:10 +0100)
committerDana Kutenicsova <dkutenic@cisco.com>
Mon, 31 Mar 2014 07:26:46 +0000 (07:26 +0000)
commit9ba263eb9a366a67f5a6f39f43a2c51a3d100b77
tree7f327c7382da73368b235932701bec69015ab884
parentfc17cbcf8020cbbf69b2642b264ec9098fdbb819
Make sure we set the key in the linkstate route entry

This fixes a missing key when storing the link state route. In order to
make it efficient, we need to pass back the InstanceIdentifier which
will be holding that entry. This also has the nice property of
increasing efficiency for IPv4/IPv6 routes by reusing the route key.

Change-Id: I777594feb283a7e5874da5cf8eaf6a97af49f1ab
Signed-off-by: Robert Varga <rovarga@cisco.com>
bgp/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/LinkstateAdjRIBsIn.java
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/Ipv4AdjRIBsIn.java
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/Ipv6AdjRIBsIn.java
bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/AbstractAdjRIBsIn.java