Update README.md with right network instance for gRIBI AFT entries#5198
Update README.md with right network instance for gRIBI AFT entries#5198harprsie-g wants to merge 2 commits intoopenconfig:mainfrom
Conversation
Updated gRIBI AFT entries with right network instance for next_hop and next_hop_group
Pull Request Functional Test Report for #5198 / f381979Virtual 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 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
|
There was a problem hiding this comment.
Code Review
This pull request updates the README.md to reflect the correct network instance (DEFAULT) for gRIBI next_hop and next_hop_group AFT entries. The changes are consistent across the document. I've found a minor typo and a formatting issue in the code blocks that should be addressed to improve clarity and adhere to the repository's documentation standards.
Note: Security Review has been skipped due to the limited scope of the PR.
| * Step 1 - Generate DUT configuration | ||
| * Configure network-instance 'TEST_VRF' with DUT and ATE interfaces and IP addresses. | ||
| * Configure eBGP with import and export policies. | ||
| * Configure eBGP with ATE in network-instance 'TEST_VRF and apply import/export policies. |
There was a problem hiding this comment.
| 'operation: { op: ADD network_instance: "DEFAULT" next_hop: { index: 1001 next_hop { ip_address: { value: "192.0.2.2" } } } }' | ||
| 'operation: { op: ADD network_instance: "DEFAULT" next_hop_group: { id: 2001 next_hop_group { next_hop { index: 1001 weight: { value: 1 } } } } }' | ||
| 'operation: { op: ADD network_instance: "TEST_VRF" ipv4: { prefix: "198.51.100.1/32" ipv4_entry { next_hop_group: { value: 2001 } next_hop_group_network_instance { value: "DEFAULT" } } } }' |
There was a problem hiding this comment.
The content of this code block is not valid JSON, although the block is tagged as json. According to the repository's style guide (from CONTRIBUTING.md), test README.md files should follow the test plan template, which specifies that configuration examples should be in JSON format. The current format appears to be a textual representation of protobuf messages. Please consider updating this to be valid JSON.
This issue is also present in other code blocks in this file that are tagged as json or yaml but do not contain valid content for those formats (e.g., lines 251-252, 268-270, 360-361, 374-376, and 469-470).
References
- The test
README.mdshould be structured following the test plan template, which specifies that configuration examples should be in JSON format. (link)
Updated gRIBI AFT entries with right network instance for next_hop and next_hop_group
Updated gRIBI AFT entries with right network instance for next_hop and next_hop_group