RELAY-1.1: DHCP Relay functionality#5303
RELAY-1.1: DHCP Relay functionality#5303ANISH-GOTTAPU wants to merge 6 commits intoopenconfig:mainfrom
Conversation
Pull Request Functional Test Report for #5303 / 94fb921Virtual Devices
Hardware Devices
|
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 introduces comprehensive testing for DHCP Relay functionality within the feature profiles framework. It includes the necessary test logic to verify DHCPv4 and DHCPv6 address and gateway assignment, along with the required infrastructure to support vendor-specific configuration deviations for devices where standard OpenConfig paths for DHCP relay are not yet supported. 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 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. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new DHCP relay agent test for both individual and LAG interfaces, along with a corresponding configuration plugin and a new deviation for unsupported OpenConfig DHCP relay paths. The review feedback identifies several issues: the DhcpRelayConfig plugin incorrectly applies CLI configuration directly instead of appending it to the provided gnmi.SetBatch as required by the repository style guide, and the new deviation accessor is missing a mandatory issue tracker link. Additionally, several instances of hardcoded interface and subinterface indices in the test code should be replaced with dynamic values from the test attributes for better maintainability.
Adding test for RELAY-1.1: DHCP Relay functionality
Readme Location: https://github.com/openconfig/featureprofiles/tree/main/feature/interface/helper_address/otg_tests/relay_agent_test
Logs for the test are added here :
https://partnerissuetracker.corp.google.com/issues/415458482#comment194
deviations used:
https://partnerissuetracker.corp.google.com/issues/497757203