gRIBI: Validate ARP between DUT and OTG before gRIBI programming - #5822
Conversation
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 improves the reliability of the gRIBI full-scale test suite by ensuring comprehensive ARP validation across all configured interfaces. By removing the previous artificial limit on interface checks and properly tracking sub-interface names, the test suite now provides more robust verification before proceeding with gRIBI programming. 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 ConfigureOTG to append port 2 sub-interfaces to the interface names list, and removes the 100-interface limit when validating ARP resolution in RunFullScaleTest. The reviewer correctly flags that verifying ARP resolution sequentially for all interfaces is a performance anti-pattern that will slow down test execution. They recommend optimizing the validation logic by using batch operations, such as fetching the state of all interfaces in a single gNMI query.
|
@dracazacula can you share the delta time increase due to this check ? |
@navaneethyv I don't have a relevant comparison because the test was waiting for only 1 interface vs now 641, but in my last (Nokia) run it takes around 12-14m for both ipv4 and v6 to be validated. This change is required though because if the gRIBI programming is started without waiting, some NHs may point to some sub-interfaces which may not point yet to a valid destination and programming fails. I am not sure the waiting time is a super big issue, since this is a scale test with heavy programming, heavy traffic, multiple scenarios, so already big. |
No description provided.