[EVPN-MH] Add L2 nexthop group table and raw netlink message handling support#1155
Open
bdfriedman wants to merge 2 commits intosonic-net:masterfrom
Open
[EVPN-MH] Add L2 nexthop group table and raw netlink message handling support#1155bdfriedman wants to merge 2 commits intosonic-net:masterfrom
bdfriedman wants to merge 2 commits intosonic-net:masterfrom
Conversation
And support to register and de-register raw netlink msg Signed-off-by: Kishore Kunal <[email protected]>
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.
Why I did it
This PR adds infrastructure support in sonic-swss-common for EVPN Multi-Homing (EVPN-MH) feature. EVPN-MH requires:
Work item tracking
How I did it
APP_L2_NEXTHOP_GROUP_TABLE_NAMEfor managing L2 nexthop groupsregisterRawMessageHandler()to register callbacks for raw netlink messagesunregisterRawMessageHandler()to unregister raw message handlersonNetlinkMessageRaw()to handle raw netlink messages (asnlmsghdr*)onMsgRaw()virtual method in NetMsg class for derived classes to implement raw message processingm_rawhandlersmap to store raw message handlersThis allows components to choose between:
onMsg()withnl_object*)onMsgRaw()withnlmsghdr*)How to verify it
Description for the changelog
Add support for L2 nexthop group table and raw netlink message handling for EVPN-MH feature
Link to config_db schema for YANG module changes
N/A - This PR only adds APPL_DB table definition, no CONFIG_DB schema changes
Key Changes: