Update remote_syslog_test.go#5456
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 updates the remote syslog test suite to improve compatibility with Nokia devices and enhance the reliability of the test environment. Key changes include dynamic loopback interface discovery, more robust VRF configuration handling, and updated packet validation criteria to ensure tests pass across different network 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
|
Pull Request Functional Test Report for #5456 / fcb77fdVirtual Devices
Hardware Devices
|
There was a problem hiding this comment.
Code Review
This pull request updates the remote syslog test to include Nokia-specific configuration handling, dynamic loopback interface discovery, and more comprehensive cleanup of network instances and logging configurations. Key feedback identifies a bug where gnmi.Delete uses an incorrect interface key format, potentially leading to configuration conflicts. Additionally, the reviewer recommends against weakening the packet validation logic—which now accepts physical interface IPs—suggesting instead that the test should strictly verify loopback source addresses or utilize deviations for specific platforms.
…est.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…est.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…est.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
|
/fptest |
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request introduces several updates to the remote syslog test, including platform-specific exceptions for Nokia, a more robust loopback interface selection mechanism, and improved VRF handling that ensures interfaces are cleared from the default network instance before reassignment. Additionally, packet validation now accounts for DUT source IPs alongside loopback addresses. Feedback was provided regarding the use of an internal Google import path which would break public builds, and a suggestion was made to use the deviations package for vendor-specific CLI configurations to maintain better test abstraction.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
|
/fptest all |
|
@rohit-rp Vendor dependent configuration is removed from the code and is handled as part of the base config. |
Uh oh!
There was an error while loading. Please reload this page.