Skip to content

Commit

Permalink
Merge "* Pick destination ecmp component index after vrf translation …
Browse files Browse the repository at this point in the history
…In case of service instance flow agent was calculating component nexthop index for forward flow after vrf translation, reverese flow and forward flow could use different vrf translation rule hence vrf translation has to be applied for reverese flow too and then set the ecmp index. Fix: Apply vrf translation then set ecmp index for both forward and reverse flow UT: Change the order of nexthop in ecmp flow and verify index gets set properly Closes-bug:#1539280" into R3.0
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Feb 22, 2016
2 parents 5ae2868 + 6a2727e commit a9508b1
Show file tree
Hide file tree
Showing 8 changed files with 344 additions and 65 deletions.
3 changes: 3 additions & 0 deletions src/vnsw/agent/oper/nexthop.h
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,9 @@ class TunnelNHKey : public NextHopKey {
void set_tunnel_type(TunnelType tunnel_type) {
tunnel_type_ = tunnel_type;
}
const Ip4Address dip() const {
return dip_;
}
private:
friend class TunnelNH;
VrfKey vrf_key_;
Expand Down

0 comments on commit a9508b1

Please sign in to comment.