Update urpf_vrf_test.go and align it with the readme file.#5318
Update urpf_vrf_test.go and align it with the readme file.#5318
Conversation
Correct the go code align it as per the its Readme
Pull Request Functional Test Report for #5318 / e2565d0Virtual 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 refines the network instance and routing configurations within the 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 updates the test configuration to move BGP and port settings to the default network instance and adds several static route configurations. However, the changes introduce multiple compilation errors, including the use of an undefined variable, syntax errors in string literals, and incorrect struct field initialization for static routes. The reviewer also recommended using t.Errorf instead of t.Fatalf for better error reporting in tests to align with repository standards.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
… for 1.1.2 and 1.1.4 tests
Correction to the go code align it as per the its Readme:
Readme updates: