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

Enhacements for Overlay-Ecmp #1771

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

siqbal1986
Copy link

This document describes various enhancements for Overlay-Ecmp feature.

Signed-off-by: siqbal1986 <shahzad.iqbal@microsoft.com>
Signed-off-by: siqbal1986 <shahzad.iqbal@microsoft.com>
Signed-off-by: siqbal1986 <shahzad.iqbal@microsoft.com>


## 3.2 Custom monitoring for VTEP liveness detection.
In the orignal design of Overlay-ECMP, BFD was used for livness detection fo VTEP. But BFD may not be supported by all types of VTEPs. In some cases a user may want to use their own custom protocol for livness detection. This enhacement allows for such a mechanism. The Orchagent creates an entry in the VNET_MONITOR_TABLE in APP DB if it recieves the "monitoring" = "custom" attribute in the VNET_ROUTE_TUNNEL_TABLE entry. The orchaagent then listens on VNET_MONITOR_TABLE in the STATE DB to monitor the livness of the VTEP.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a diagram to futher explain this . how the custom monitoring is chosen and that we cannot have both custom and BFD monitoring in the same tunnel route endpoints.

| Multiple primary backups. Multiple primary recovery. Endpoint list = [A, B, C, A’, A’, B’, C’] Primary = [A, B, C]  | NH = [A]  | A is Up. B, C also come up  | NH=[A, B, C]  | Primary endpoints take precedence and are added to the NH.  |


## 3.2 Custom monitoring for VTEP liveness detection.
Copy link
Collaborator

@venkatmahalingam venkatmahalingam Sep 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we capture the module interaction as well for custom monitoring by enhancing the diagram ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure I'll add that

A new table in state DB is being added to recieve the response form the custom monitoring module to indicate endpoint liveness.

```
VNET_MONITOR_TABLE|{{endpoint}}|{{ip_addr}}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dont we need vnet_name also as a key?

A new table **VNET_MONITOR_TABLE** has been added to send the endpoint information to the custom monitoring module.

```
VNET_MONITOR_TABLE:{{endpoint}}:{{ip_prefix}}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dont we need vnet_name also as a key?

@@ -0,0 +1,227 @@
# Overlay ECMP Enhancements

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the typo. in the title of this HLD.

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