-
Notifications
You must be signed in to change notification settings - Fork 539
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
Flush ARP/neighbor entry on FDB flush when port L2-L3 #1506
Conversation
Signed-off-by: Vasant <[email protected]>
@anish-n for viz |
IMO, this should be handled as below:
|
Could you please elaborate on what is the best way to achieve this #2? |
You could write an entry to APP_DB. Like NEIGH_RESOLVE:<if_name>:<ip_addr> |
Signed-off-by: Vasant <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm.. minor comments
This seems to break #1275, since |
Flush ARP entries when FDB entries are flushed. *Neighbor orchagent attaches to FDB orchagent and observes. *When FDB orchagent removes/flushes a FDB entry, neighbor orchagent will be notified. *Neighbor orchagent will notifies nbrmgr to send a arp refresh. Co-authored-by: Vasant <[email protected]>
Signed-off-by: Vasant [email protected]
What I did
Flush ARP entries when FDB entries are flushed.
Why/How I did it
When we breakout port from 4x25G[10G] --> 1x100G[40G], ARP/neighbor entries via the deleted ports were NOT removed even though FDB entries were flushed. We considered the following two options to remove/flush the neighbor entries:
We picked the #2 and here is the solution:
Neighbor orchagent attaches to FDB orchagent and observes.
When FDB orchagent removes/flushes a FDB entry, neighbor orchagent will be notified.
Neighbor orchagent will scan through all saved entries and flush the one's that matches the MAC address with flushed FDB entry.
How I verified it
Wrote and Ran VS test cases. Those test cases will raised as another PR
Details if related