Bug-2802: BGP Update message serialization bug 30/22830/2
authorMilos Fabian <milfabia@cisco.com>
Wed, 17 Jun 2015 15:55:07 +0000 (17:55 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 22 Jun 2015 19:42:44 +0000 (19:42 +0000)
commit5d5e0d1a499019be75ffd13d13f34162217ad191
treec1b8bc8f6d38f069f2e0696b2221c12c266ce72b
parentb2f3223a5b52e04f017b1f6e0a5f3c26662506fb
Bug-2802: BGP Update message serialization bug

The next-hop value from MP reach attribute is not stored in AdjRibIn,
thus next-hop is missing in output Update message.
Copy next-hop value from MP reach to next hop attribute to keep it in DS.

Change-Id: I866af30ecc2cd0baa0ca1ca2f763dc03176ac009
Signed-off-by: Milos Fabian <milfabia@cisco.com>
(cherry picked from commit 7505f0031b58a178994ed90e12d0a7bb111ae8e1)
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPPeer.java