HLD : OpenConfig support for Route Map#2192
Open
rajakushwah wants to merge 1 commit intosonic-net:masterfrom
Open
HLD : OpenConfig support for Route Map#2192rajakushwah wants to merge 1 commit intosonic-net:masterfrom
rajakushwah wants to merge 1 commit intosonic-net:masterfrom
Conversation
This document describes the implementation of BGP Route Maps in SONiC using OpenConfig YANG models. The implementation provides support for creating, updating, and deleting route map policies through gNMI/REST APIs, with proper validation and database management. Route maps enable network operators to implement complex routing policies by matching specific route attributes and applying corresponding actions.
Collaborator
|
/azp run |
|
No pipelines are associated with this pull request. |
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.
Overview
This document describes the implementation of BGP Route Maps in SONiC using OpenConfig YANG models. The implementation provides support for creating, updating, and deleting route map policies through gNMI/REST APIs, with proper validation and database management. Route maps enable network operators to implement complex routing policies by matching specific route attributes and applying corresponding actions.
Key Features
Statement-based route map policies with sequence numbers (1-65535)
PERMIT/DENY actions for route filtering and policy decisions
BGP-specific match conditions (prefix-set, community-set matching)
BGP-specific set actions (next-hop modification, community setting)
Support for both IPv4 and IPv6 operations with mutual exclusion
Policy flow control extensions (next-statement, on-match-next, on-match-goto)
Statement descriptions for policy documentation
OpenConfig YANG model compliance
CREATE/UPDATE/DELETE operations