[swss][orchagent] Fix a problem where the fdborch does not update the hardware MAC address type and attribute for a MAC address learned from an MCLAG peer after receiving the MAC movement event.#2811
Merged
gechiang merged 1 commit intosonic-net:masterfrom Jun 22, 2023
Conversation
… hardware MAC address type and attribute for a MAC address learned from an MCLAG peer after receiving the MAC movement event. Signed-off-by: Julian Chang - TW (HW3) <julianc@supermicro.com.tw>
Contributor
Author
|
@prsunny Would you please review this commit? |
Contributor
|
@Praveen-Brcm , @adyeung , can someone from BRCM team take a look at this change? |
Praveen-Brcm
approved these changes
Jun 21, 2023
Contributor
Author
|
@gechiang Would you please review and merge this PR? |
gechiang
approved these changes
Jun 22, 2023
theasianpianist
pushed a commit
to theasianpianist/sonic-swss
that referenced
this pull request
Jul 20, 2023
… hardware MAC address type and attribute for a MAC address learned from an MCLAG peer after receiving the MAC movement event. (sonic-net#2811) Signed-off-by: Julian Chang - TW (HW3) <julianc@supermicro.com.tw>
Janetxxx
pushed a commit
to Janetxxx/sonic-swss
that referenced
this pull request
Nov 10, 2025
… hardware MAC address type and attribute for a MAC address learned from an MCLAG peer after receiving the MAC movement event. (sonic-net#2811) Signed-off-by: Julian Chang - TW (HW3) <julianc@supermicro.com.tw>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2810
What I did
After receiving the MAC address movement event from the hardware, update the MAC address type from static to dynamic and also update the allow_move attribute to false if the MAC address was originally learned from the remote MCLAG peer.
Why I did it
To fix the hardware MAC address update problem as stated in the description.
How I verified it
Passed all mclag UT and also verfied on the Innovium TL7 platform.
Details if related