Tep delete changes for extra-route reachability 38/76238/2
authoreswanit <swati.udhavrao.niture@ericsson.com>
Wed, 19 Sep 2018 08:17:09 +0000 (13:47 +0530)
committerSam Hague <shague@redhat.com>
Tue, 2 Oct 2018 01:16:33 +0000 (01:16 +0000)
commit87d1edd723b5e18d05a81d1185d32cab73c98dba
tree8ab3913c805b8e257e60fcb370f887fcea9c46d9
parent46a42576072bde8a9763a9de7a3982be432d604d
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 <swati.udhavrao.niture@ericsson.com>
fibmanager/impl/src/main/java/org/opendaylight/netvirt/fibmanager/NexthopManager.java