TE-18.3: Updated the code as per the readme changes and validated - #5714
TE-18.3: Updated the code as per the readme changes and validated#5714keysightgems wants to merge 8 commits into
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 expands the MPLS-in-UDP scale test suite by introducing support for new test profiles focusing on IPv4/IPv6 ECMP and Multi-NHG scenarios. The changes include significant updates to the traffic flow generation and packet validation logic to accommodate dual-stack requirements, ensuring the test infrastructure can accurately validate complex MPLS-in-UDP configurations. 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 expands the MPLS-in-UDP gRIBI scale tests by introducing new test profiles (Profiles 6, 7, and 8) to support IPv4/IPv6 ECMP and MoUDP scale scenarios. The review feedback highlights a critical bug in the IPv4 skew pattern flow generation where a dynamic slice length is incorrectly used as a loop index, and a convergence check issue where hardcoded prefix counts cause premature test exits. Additionally, the reviewer noted a style guide violation regarding non-compliant IPv4 addresses, misleading error messages in packet validation, and a minor typo in a variable name.
|
You need to resolve the go/static analysis: looks like you are calling fluent.UDPV4EncapHeader, which does not exist in pinned gribigo v0.1.1. The PR relies on an uncommitted local dependency change. Static |
Yes, this is already a known issue. I have mentioned it in the PR comments and have raised issue separately. Once the required change is merged into the pinned gribigo dependency, the static analysis failure (undefined: fluent.UDPV4EncapHeader) will be resolved. |
|
Hi @keysightgems, Just a gentle reminder to address the pending review comments on this PR. Once you have pushed the fixes, please re-request a review so we can get this approved and merged! |
|
Addressed all the comments and committed the code. |
|
The static failure will be fixed once we update to the new version of gribigo after the PR openconfig/gribigo#285 is merged. |
Readme Location: https://github.com/openconfig/featureprofiles/blob/main/feature/gribi/mpls_in_udp/otg_tests/mpls_in_udp_scale/README.md
gribigo library issue: openconfig/gribigo#282 (The test was successfully validated using local changes to fluent.go.) The static check failed because of this issue. It will pass once the issue is fixed.
Attached logs here: https://partnerissuetracker.corp.google.com/u/2/issues/536257627