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] [vnetorch] Add ECMP support for vnet tunnel routes with endpoint health monitoring #2104

Merged
merged 6 commits into from
Jan 26, 2022

Conversation

shi-su
Copy link
Contributor

@shi-su shi-su commented Jan 6, 2022

What I did
Cherry-pick changes in #1960, #1883, #1955, #2058

Changes in #1960:
Add functions to create/remove next hop groups for vnet tunnel routes.
Count the reference count of next hop groups to create and remove as needed.
Share the counter of next hop groups with routeorch.
Add vs test

Changes in #1883:
Implement bfdorch to program hardware BFD sessions via bfd SAI.
Add vs test for bfd sessions.

Changes in #1955:
Add functions to create/remove next hop groups for vnet tunnel routes.
Count the reference count of next hop groups to create and remove as needed.
Share the counter of next hop groups with routeorch.
Adapt route endpoint according to the BFD state of endpoints.

Changes in #2058:
Advertise active vnet tunnel routes.

Why I did it
To add support for overlay ECMP with endpoint health monitoring.

How I verified it

Details if related

@shi-su shi-su requested a review from prsunny January 6, 2022 23:08
@shi-su
Copy link
Contributor Author

shi-su commented Jan 10, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@shi-su
Copy link
Contributor Author

shi-su commented Jan 12, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

shi-su and others added 3 commits January 21, 2022 17:55
What I did
Add functions to create/remove next hop groups for vnet tunnel routes.
Count the reference count of next hop groups to create and remove as needed.
Share the counter of next hop groups with routeorch.
Add vs test

Why I did it
To add support for overlay ECMP.

How I verified it
Verify ECMP groups are properly created and removed with the functions.
Verify vs test passes
What I did
Implement bfdorch to program hardware BFD sessions via bfd SAI.
Add vs test for bfd sessions.

Why I did it
To support hardware BFD.

How I verified it
Configure hardware BFD sessions on virtual switches and physical devices and confirm the BFD session is programmed.
…onic-net#1955)

What I did
Add functions to create/remove next hop groups for vnet tunnel routes.
Count the reference count of next hop groups to create and remove as needed.
Share the counter of next hop groups with routeorch.
Adapt route endpoint according to the BFD state of endpoints.

Why I did it
To add support for overlay ECMP.

How I verified it
Verify ECMP groups are properly created and removed with the functions.
What I did
Advertise active vnet tunnel routes.

Why I did it
The overlay routes programmed on the device need to be advertised to BGP peers. This PR aims to meet this requirement.

How I verified it
Add an entry in ADVERTISE_NETWORK_TABLE for active overlay routes
@shi-su shi-su changed the title [202012] [vnetorch] Add ECMP support for vnet tunnel routes [202012] [vnetorch] Add ECMP support for vnet tunnel routes with endpoint health monitoring Jan 21, 2022
@shi-su
Copy link
Contributor Author

shi-su commented Jan 24, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@shi-su shi-su merged commit 6d66079 into sonic-net:202012 Jan 26, 2022
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.

2 participants