Add TelemetryCheck for static_arp_test#5227
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 enhances the Highlights
Changelog
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 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 counter productive. 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. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
Pull Request Functional Test Report for #5227 / b4448bbVirtual Devices
Hardware Devices
|
There was a problem hiding this comment.
Code Review
This pull request adds a telemetry check for the static ARP test, introducing a new deviation for Cisco devices. My review focuses on improving the test structure and ensuring adherence to the repository's deviation guidelines.
I've suggested refactoring the new test to use a table-driven approach for better readability and maintainability, as recommended by the style guide. Additionally, I've pointed out that the new deviation accessor function is missing the required issue tracker URL in its comment, which is a requirement from the contribution guidelines.
|
The failing FNT Gap Analysis check predates this change and does not fail because of changes made in this PR. |
* Add TelemetryCheck for static_arp_test * Address Gemini Comments * Fix Import * Address Comments
* Add TelemetryCheck for static_arp_test * Address Gemini Comments * Fix Import * Address Comments
I have updated the
static_arp_testto add an extra sub-test that verifies the correctness of the MAC values configured.Since the state paths are not supported for Cisco devices, I have added a deviation to use Functional Translator for the case of Cisco.