Skip to content

Commit

Permalink
Merge "Restore flood flag on subnet route with ecmp nh." into R3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Oct 25, 2016
2 parents cc8a0b9 + 5555192 commit b786a45
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/vnsw/agent/vrouter/ksync/route_ksync.cc
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,16 @@ bool RouteKSyncEntry::BuildArpFlags(const DBEntry *e, const AgentPath *path,
// ECMP flows have composite NH. We want to do routing for ECMP flows
// So, set proxy_arp flag
proxy_arp = true;

// There is an exception for ECMP routes
// The subnet route configured on a VN can potentially be exported by
// gateway route also. If gateway are redundant, then the subnet route
// can be an ECMP route.
if (rt->ipam_subnet_route())
{
proxy_arp = false;
flood = true;
}
break;

default:
Expand Down

0 comments on commit b786a45

Please sign in to comment.