Repository navigation
Change the SYS-5.1 README to use 700 VLAN subinterfaces for the large Set. - #6318
yadasandeep-crypto wants to merge 2 commits into
Conversation
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.
Summary of ChangesHello, 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
Using Gemini Code AssistThe 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
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 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
|
There was a problem hiding this comment.
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.
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.