Skip to content

Change the SYS-5.1 README to use 700 VLAN subinterfaces for the large Set. - #6318

Open
yadasandeep-crypto wants to merge 2 commits into
openconfig:mainfrom
yadasandeep-crypto:sys-5.1-readme-700vlan
Open

yadasandeep-crypto wants to merge 2 commits into
openconfig:mainfrom
yadasandeep-crypto:sys-5.1-readme-700vlan

Conversation

@yadasandeep-crypto

Copy link
Copy Markdown
Contributor

The README requires 500 LAGs on 700 unused physical ports: 200 LAGs with 2 members and 300 LAGs with 1 member. Lab MFF DUTs have only about 50 to 100 unused ports, so the test cannot build that environment and the large gNMI Set shrinks with the port count.

The LAG count now scales down to the unused ports of the DUT, in the README proportions, with a floor of 8 LAGs with 2 members and 12 LAGs with 1 member; below that the test fails rather than running smaller. The large gNMI Set configures a fixed 700 802.1Q VLAN subinterfaces, with VLAN IDs 100 to 799, spread across the LAGs, each with an IPv4 and an IPv6 address. That is 1,400 addresses whatever the port count. The VLAN IDs start at 100 to avoid VLAN 1, which is the default or native VLAN on several platforms.

Scale the LAG count to the DUT's unused ports with a floor of 8 two-member and 12 one-member LAGs, configure a fixed 700 802.1Q VLAN subinterfaces (VLAN IDs 100-799) with IPv4/IPv6 addresses, and state the review's pass criteria: reboot races the Set, all-or-nothing config after a cut-off Set, connection errors from the reboot RPC, always wait for the DUT, and ON_CHANGE state check. gNMI.Set coverage now lists update.
@yadasandeep-crypto
yadasandeep-crypto requested a review from a team as a code owner November 23, 2026 12:09
@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 updates the SYS-5.1 test documentation to improve scalability and robustness. By allowing the test to adjust the number of LAG interfaces according to the DUT's capacity, it avoids failures on hardware with limited port counts. Additionally, it standardizes the configuration load by introducing a fixed set of VLAN subinterfaces and clarifies the expected behavior and validation steps when a reboot interrupts a gNMI Set operation.

Highlights

  • Dynamic Scaling of LAG Interfaces: Updated the test procedure to dynamically scale the number of LAG interfaces based on the DUT's available physical ports, while maintaining the 2:3 ratio and enforcing a minimum threshold to ensure test validity.
  • VLAN Subinterface Configuration: Introduced a fixed configuration of 700 802.1Q VLAN subinterfaces (IDs 100-799) across LAGs, each assigned with unique IPv4 and IPv6 addresses to standardize the large gNMI Set load.
  • gNMI Set and Reboot Logic: Refined the test logic to trigger the reboot immediately upon sending the gNMI Set request and updated the validation steps to handle potential partial configuration states post-reboot.
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 Nov 23, 2026 •

Copy link
Copy Markdown

@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 updates the test plan for the large gNMI Set and reboot test (SYS-5.1). The changes detail the setup of up to 500 LAG interfaces (700 physical interfaces) and 700 VLAN subinterfaces with 1,400 IP addresses, as well as the post-reboot validation steps including ON_CHANGE subscriptions. It also updates the canonical OpenConfig configuration example and changes the gNMI Set behavior from union_replace to update. Feedback on the pull request highlights a violation of the Repository Style Guide, noting that the test plan README is missing an explicit cleanup/teardown section to restore the DUT to its baseline state.

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants