Bug-7708: Invalid Route Distinguisher error while processing withdraw update containi... 54/51454/2
authorAjay <ajayl.bro@gmail.com>
Wed, 1 Feb 2017 08:24:22 +0000 (08:24 +0000)
committerRobert Varga <nite@hq.sk>
Wed, 8 Feb 2017 17:28:40 +0000 (17:28 +0000)
commit7de4823843538479759b5474e414c67ee133ca73
tree0f028c0477495d0524abbce21e5dc2b0774b05f6
parent2d66ef2be9396df73f016aea3932146afe95de79
Bug-7708: Invalid Route Distinguisher error while processing withdraw update containing VPN route

 - RFC 3107 says that label value in withdraw message should be 0x800000
   ref. https://tools.ietf.org/html/rfc3107#section-3
 - Changed code to correctly handle this value in withdraw message received from peer.
   Also ODL will now use this value when sending withdraw message to its peer
 - Updated unit-tests accordingly

Change-Id: Ie9d90779c32e9141f953a18b07a86d0624eaee5c
Signed-off-by: Ajay <ajayl.bro@gmail.com>
(cherry picked from commit 16e0aa31e782252f25860556bd3eb4fd59431789)
bgp/l3vpn/src/main/java/org/opendaylight/protocol/bgp/l3vpn/AbstractVpnNlriParser.java
bgp/l3vpn/src/test/java/org/opendaylight/protocol/bgp/l3vpn/ipv4/VpnIpv4NlriParserTest.java [changed mode: 0644->0755]
bgp/l3vpn/src/test/java/org/opendaylight/protocol/bgp/l3vpn/ipv6/VpnIpv6NlriParserTest.java [changed mode: 0644->0755]
bgp/labeled-unicast/src/main/java/org/opendaylight/protocol/bgp/labeled/unicast/AbstractLabeledUnicastRIBSupport.java
bgp/labeled-unicast/src/main/java/org/opendaylight/protocol/bgp/labeled/unicast/LUNlriParser.java
bgp/labeled-unicast/src/test/java/org/opendaylight/protocol/bgp/labeled/unicast/LUNlriParserTest.java [changed mode: 0644->0755]
bgp/labeled-unicast/src/test/java/org/opendaylight/protocol/bgp/labeled/unicast/LabeledUnicastIpv4RIBSupportTest.java
bgp/labeled-unicast/src/test/java/org/opendaylight/protocol/bgp/labeled/unicast/LabeledUnicastIpv6RIBSupportTest.java
util/src/main/java/org/opendaylight/protocol/util/MplsLabelUtil.java