Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[202012][muxorch] handling multiple mux nexthops for route #2702

Merged
merged 3 commits into from
Mar 28, 2023

Conversation

Ndancejic
Copy link
Contributor

What I did: added logic to handle when a route points to a nexthop group with mux neighbors. In this case, only one active neighbor, or the tunnel nexthop will be programmed to the ASIC.

Why I did it: having a route with multiple mux neighbors caused a data loop which lead to packet loss when different neighbors were in different states.

How I did it: added logic to update routes when a route is changed, a mux neighbor is changed, or there is a mux state change.

HLD: sonic-net/SONiC#1256

cherry-pick of #2656

What I did: added logic to handle when a route points to a nexthop
group with mux neighbors. In this case, only one active neighbor, or the
tunnel nexthop will be programmed to the ASIC.

Why I did it: having a route with multiple mux neighbors caused a data
loop which lead to packet loss when different neighbors were in
different states.

How I did it: added logic to update routes when a route is changed, a
mux neighbor is changed, or there is a mux state change.

HLD: sonic-net/SONiC#1256

Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
@prsunny prsunny merged commit 3108985 into sonic-net:202012 Mar 28, 2023
@Aravind-Subbaroyan
Copy link

@prsunny - could you please merge this to 202205?

@prsunny
Copy link
Collaborator

prsunny commented May 9, 2023

@prsunny - could you please merge this to 202205?

its already cherry-picked as part of master PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants