Skip to content

Conversation

@rajakushwah
Copy link

@rajakushwah rajakushwah commented Dec 3, 2025

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

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Dec 3, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: GaladrielZhao / name: Yuqing Zhao(Alibaba Inc) (de980e8)
  • ✅ login: lihuay / name: Lihua Yuan (13baf1d)
  • ✅ login: mramezani95 / name: mramezani95 (bf4bb5b)
  • ✅ login: rajakushwah / name: rajakushwah (068e9e3, 2eb6222, 4a8d852, b33b8db)
  • ✅ login: rck-innovium / name: Ravindranath Kanakarajan (5504af5)

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@rajakushwah rajakushwah changed the title Add HLD documentation for BGP Route Map implementation with OpenConfig YANG support HLD : OpenConfig support for Route Map Dec 3, 2025
@rajakushwah
Copy link
Author

Initial draft version

lihuay and others added 8 commits December 3, 2025 13:47
- Convert H1 headings to H2
- Add blank lines around lists, code blocks, tables
- Fix HTML tags and formatting issues
- Update Table of Contents

Addressed feedback and markdownlint requirements

Signed-off-by: rajakus <[email protected]>
The following PR adds underlay ECMP distribution checks to the current VxLAN ECMP test cases:
Adding VxLAN underlay ECMP tests

This PR updates the description of test cases accordingly.

Signed-off-by: rajakus <[email protected]>
Add a documentation for the FRR upgrade process in SONiC,
using the transition from 10.3 to 10.4.1 as a practical example.
It covers branch creation, patch porting, PR preparation, and testing procedures,
with the goal of helping contributors follow a consistent and reliable upgrade workflow.

Signed-off-by: Yuqing Zhao <[email protected]>
Signed-off-by: rajakus <[email protected]>
Added high-level design document for OpenConfig Route Map implementation, detailing features, requirements, and use cases.

Signed-off-by: rajakus <[email protected]>
Updated the document to reflect BGP Route Map implementation details, including revisions to the structure, content, and features supported. Enhanced sections on functionality, architecture, and testing scenarios.

Signed-off-by: rajakus <[email protected]>
Updated the Route Map High Level Design document to reflect OpenConfig support and revised content structure.

Signed-off-by: rajakus <[email protected]>
This PR adds comprehensive High Level Design (HLD) documentation for Route map implementation in SONiC using OpenConfig YANG models.

Signed-off-by: rajakus <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

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.

6 participants