Bug-7708: Invalid Route Distinguisher error while processing withdraw update containi... 83/51283/7
authorAjay <ajayl.bro@gmail.com>
Wed, 1 Feb 2017 08:24:22 +0000 (08:24 +0000)
committerClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Mon, 6 Feb 2017 08:39:31 +0000 (08:39 +0000)
commit16e0aa31e782252f25860556bd3eb4fd59431789
tree6f70c23289440e17e48c78c770c112ee85e14c77
parent7bb4e26afe870e17e8d16d68583d0bb1035a21c6
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>
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