Skip to content

feat(bgp): Add RT-1.102 DUT eBGP L3VPN params.#5655

Open
ccie57960 wants to merge 17 commits into
openconfig:mainfrom
ccie57960:l3vpn_params
Open

feat(bgp): Add RT-1.102 DUT eBGP L3VPN params.#5655
ccie57960 wants to merge 17 commits into
openconfig:mainfrom
ccie57960:l3vpn_params

Conversation

@ccie57960

Copy link
Copy Markdown
Contributor

No description provided.

@ccie57960 ccie57960 requested review from a team as code owners July 2, 2026 10:38
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a new feature network test (FNT) to verify BGP L3VPN parameter support on the device under test. The changes focus on validating dual-stack eBGP session establishment within isolated VRFs and ensuring correct propagation of route distinguisher and route target attributes, while also confirming proper inter-tenant isolation.

Highlights

  • New Test Case Addition: Added a new test suite (RT-1.102) to validate eBGP session establishment and L3VPN attribute handling within tenant VRFs.
  • Documentation and Configuration: Provided comprehensive documentation including topology diagrams, configuration steps, and canonical OpenConfig JSON for L3VPN parameters.
  • Test Registry Update: Registered the new test case in the global test registry to ensure proper tracking and execution.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@OpenConfigBot

OpenConfigBot commented Jul 2, 2026

Copy link
Copy Markdown

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@ccie57960

Copy link
Copy Markdown
Contributor Author

/gemini review

@ccie57960 ccie57960 added enhancement New feature or request anPF CSE labels Jul 2, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new test plan RT-1.102 for validating eBGP session establishment and L3VPN attribute handling on a DUT within tenant VRFs for both IPv4 and IPv6. It adds a README.md, metadata.textproto, and registers the test in testregistry.textproto. The feedback suggests a minor correction in the README.md to remove trailing slashes from the OpenConfig telemetry paths for AFT entries to align with standard OpenConfig path syntax.

Comment thread feature/bgp/otg_tests/bgp_vrf_l3vpn_parameters/README.md Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Comment thread feature/bgp/otg_tests/bgp_vrf_l3vpn_parameters/README.md
ccie57960 added 2 commits July 8, 2026 17:27
1.  **MD5 authentication**: Added `/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/config/auth-password` to the requirements and updated the customer eBGP peers in the Canonical OC.
2.  **Graceful restart**: Added GR paths (`enabled`, `restart-time`) to requirements and configured them (120s) in the Canonical OC. Explicit validation steps (`RT-1.102.5`, `RT-1.102.6`) have been added.
3.  **Maximum prefix limits**: Added `/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/config/max-prefixes` and updated test steps (`RT-1.102.3`) to cover limit enforcement.
4.  **Explicit Router IDs**: Configured explicit Router IDs for both the Default network instance and the tenant VRF (`VRF_100`) in the Canonical OC to ensure deterministic behavior.
5.  **BFD**: Added to the **TODO** section for future expansion, as it requires dedicated test scenarios and validation.

Regarding **Dynamic peering for iBGP listeners**:
This functional test (`RT-1.102`) is focused on L3VPN parameter coverage and VRF isolation. Dynamic BGP listeners/neighbors are covered in depth in **RT-1.103** (see `bgp_dynamic_neighbors/README.md`). Keeping the core iBGP peers static in this scenario ensures focus on VRF behavior and avoids compounding complexity.

@ram-mac ram-mac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ccie57960
Looks good after the changes added to the Readme. Hence Approving it.

But there are CI/CD errors that needs to be fixed. Please address them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

anPF CSE enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants