NETVIRT-1166:IPv6 NA packet is setting with wrong solicited flag 43/69743/3
authorkarthikeyan <karthikeyangceb007@gmail.com>
Wed, 21 Mar 2018 10:08:00 +0000 (15:38 +0530)
committerSridhar Gaddam <sgaddam@redhat.com>
Mon, 2 Apr 2018 09:30:56 +0000 (09:30 +0000)
commit9da1f8506fe62605df844066bacf271d01425c1f
tree0fdc57059c61c7b4f8a5054d564a59cc1a2845ba
parentd5340a7d5b62721ad22071de92e1d8110bdc347c
NETVIRT-1166:IPv6 NA packet is setting with wrong solicited flag

Problem Description:
====================
Currently ODL IPv6 Service is doing Neighbor Advertisement (NA) for
Neighbor Solicitation (NS) request.
NS packet may contains IPv6 Source Address as below possible way:
:: --> Unspecified
SLL --> Source Link Local Address

When NS packet is punted to the ODL controller, It will prepare the NA
packet and it will send this NA to NS initiated nodes.
NA packet contains IPv6 Destination Address as below possible way based on
the NS packet received.
FF02::1 --> All node multicast IP address (FLAGS: R:1, S:0, O:1)
Dest_LLA --> Destination LLA taken from NS (FLAGS: R:1, S:1, O:1)

Currently ODL controller is setting Solicited Flag=1 for All node
multicast IPv6 address. Which is wrong.

Solution:
===========
ODL IPv6 Service Defined constant with wrong value is the root cause of
this issue. To address this issue have made the changes properly with IPv6
constant.

Change-Id: I0b0868ad78a904c8e7ea4d0d157b16d6ef309974
Signed-off-by: karthikeyan <karthikeyangceb007@gmail.com>
ipv6service/impl/src/main/java/org/opendaylight/netvirt/ipv6service/utils/Ipv6ServiceUtils.java