Repository navigation
Update RT-1.12 README for dual-stack MED operations (SET, ADD, SUBTRACT, Reset) - #6325
mageshkasi-byte wants to merge 1 commit into
Conversation
Pull Request Functional Test Report for #6325 / a6a0b2eVirtual 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 significantly enhances the RT-1.12 test plan for BGP 'always-compare-med' functionality. It expands the scope to include dual-stack support and provides detailed validation steps for various MED routing-policy operations. The update ensures robust testing of MED arithmetic and reset behaviors, alongside improved documentation of the test environment and OpenConfig path coverage. 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
|
There was a problem hiding this comment.
Code Review
This pull request updates the test plan README for the BGP always compare MED test (RT-1.12). It expands the test coverage details to include dual-stack IPv4 and IPv6 unicast traffic, and defines comprehensive procedures for validating routing-policy MED operations such as SET, ADD, SUBTRACT (including underflow saturation at 0), and MED reset. It also specifies the use of the atedut_4.testbed topology and updates the OpenConfig path and RPC coverage. There are no review comments, and the changes align with the repository style guides. I have no feedback to provide.
Summary
Updates the
RT-1.12(feature/bgp/otg_tests/bgp_always_compare_med/README.md) test plan to add dual-stack (IPv4 and IPv6) coverage and full BGP MED routing-policy operations alongside globalalways-compare-med:always-compare-med: truewithset-med-action: SET(100vs50) for IPv4 and IPv6 (preserves existing baseline intent).always-compare-med: falsevstruenegative check and toggle verification, includingstate/always-compare-medtelemetry.ADD(set-med-action: ADD) on top of non-zero incoming MED (100 + 50 = 150vs100 + 20 = 120).SUBTRACT(set-med-action: SUBTRACT) with standard decrement (100 - 20 = 80vs100 - 60 = 40) and underflow saturation at0(max(0, 100 - 150) = 0).set-med: 0(SET) and import policy removal back toALLOW.Also fixes the topology description (Port 1 is iBGP, Ports 2 and 3 are eBGP), adds leafref-valid Canonical OC JSON blocks (
SET,ADD,SUBTRACT), adds aCleanupsection, and updates the leaf-only OpenConfig Path and RPC Coverage list.Validation
validate_readme_canonicalocspec: PASS (3 valid Canonical OCs)validate_readme_ocpaths: PASSaddrundata: PASS (0 errors forbgp_always_compare_med)Follow-up PR will implement the corresponding Go test automation and
metadata.textprotoupdates.cc @pmprado @Abdelfatah26 @dplore