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

[Nbrmgrd] [Neighsyncd] Neighbor Cache for neighbor refresh feature #2452

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LaveenBrcm
Copy link

What I did

Added neighbor cache in nbrmgrd to handle neighbor refresh

Neighsyncd receives neighbor table events from kernel and adds the neighbor in NEIGH_REFRESH_TABLE.

Nbrmgrd subscribes NEIGH_REFRESH_TABLE events and adds/deletes neighbor entries in neighbor cache.

While adding/updating neighbor entries, current time and the refresh timeout is also stored, which are then used for timeout handling.

Why I did it

Below PR has the details.
sonic-net/SONiC#1043

How I verified it

There are no new processing in OA based on this change, hence no update to Syncd/SAI.

Verified with syslogs that the neighbors are added/deleted in Nbrmgrd neighbor cache.

Details if related

This is one part of the change to support neighbor refresh functionality. For the complete list of related Code PRs, please refer to sonic-net/SONiC#1043.

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.

1 participant