Adding RT-7.12: BGP Drain using Route Policy - #6023
Adding RT-7.12: BGP Drain using Route Policy#6023ASHNA-AGGARWAL-KEYSIGHT wants to merge 4 commits into
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 introduces a new test suite to verify BGP drain behavior via route policies. It leverages the Open Traffic Generator (OTG) to ensure that prefix withdrawals are correctly received and processed, while also verifying traffic loss and restoration scenarios. Additionally, it adds necessary platform-specific configuration deviations to ensure compatibility with Arista hardware. 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
|
Pull Request Functional Test Report for #6023 / b1a1ff3Virtual Devices
Hardware Devices
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new BGP drain policy test (bgp_drain_policy_test.go) along with updates to its README.md and metadata.textproto to include Arista platform exceptions. The reviewer feedback focuses on improving test robustness and alignment with repository style guides. Key recommendations include replacing a static time.Sleep with a deterministic gnmi.Watch-based check before stopping packet capture, deferring file cleanup operations to prevent resource leaks on early test failures, ensuring packet captures are stopped in a deferred block, and explicitly waiting for ARP resolution after starting protocols before initiating traffic.
587cde9 to
6321391
Compare
Readme Location: https://github.com/openconfig/featureprofiles/blob/main/feature/bgp/policybase/otg_tests/bgp_drain_policy_test/README.md
Logs attached: https://partnerissuetracker.corp.google.com/u/0/issues/559969425
Bug found: https://partnerissuetracker.corp.google.com/u/0/issues/559968791