Tep delete changes for extra-route reachability 40/76240/2
authoreswanit <[email protected]>
Wed, 19 Sep 2018 08:17:09 +0000 (13:47 +0530)
committerSam Hague <[email protected]>
Tue, 2 Oct 2018 01:16:05 +0000 (01:16 +0000)
commit81c5e323447169c22aab9476b262020533d3bc04
treed01f21835330b65de818e8be1cb13117901fef4a
parent84452de0d09c034e025f7a1db00487448c7e8da0
Tep delete changes for extra-route reachability

NETVIRT-1422: Extraroute not reachable from DC-GW
to compute when tep is deleted on another compute

In setupLoadBalancingNextHop, logic to remove local group
was dependent on checking local bucket info as well as
remote bucket info wherein we used to remove local group
if there is no local bucket info or no remote bucket info.

However, when TEP is deleted for one of the nodes,
table 20 entry pointing to local ECMP group was
getting deleted on all the nodes becasue of above
logic due to which traffic is lost for the rest of
the nodes.

So changing this logic to remove local group
only if local bucket info is empty.

Change-Id: I3cc496746b620a6b695f6244dfaa3fc2fec4b808
Signed-off-by: eswanit <[email protected]>
fibmanager/impl/src/main/java/org/opendaylight/netvirt/fibmanager/NexthopManager.java