RT-1.15 adding SendMaxUnsupported deviation and community_member_regex_unsupported#5293
RT-1.15 adding SendMaxUnsupported deviation and community_member_regex_unsupported#5293rohit-rp merged 13 commits intoopenconfig:mainfrom
Conversation
Pull Request Functional Test Report for #5293 / eaeb2d3Virtual 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 platform-specific deviations to improve compatibility with Cisco devices in BGP add-path testing. It adds a new configuration flag to skip unsupported send-max settings, fixes a syntax issue in community-set CLI commands, and enhances test readability by adding descriptive labels to network ports. 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 deviation, send_max_unsupported, to handle devices that do not support BGP add-path send-max configuration. The changes include adding the field to the metadata protobuf, implementing an accessor in the deviations package, and updating the scale test to conditionally apply the configuration. Additionally, the PR fixes a CLI formatting issue for Cisco community sets and adds descriptions to port attributes. Feedback was provided to improve the documentation in the protobuf definition to focus on the field's purpose rather than the accessor function's return value.
# Conflicts: # internal/deviations/deviations.go # proto/metadata.proto # proto/metadata_go_proto/metadata.pb.go
# Conflicts: # internal/deviations/deviations.go # proto/metadata.proto # proto/metadata_go_proto/metadata.pb.go
Rt 1.15 agent
|
hi @AmrNJ |
rt-1.15 Summary
Single commit: b2a396e — "adding SendMaxUnsupported deviation and using community_member_regex_unsupported"
Changes across 5 files:
proto/metadata.proto — Added field send_max_unsupported = 395 for devices that don't support BGP add-path send-max configuration
internal/deviations/deviations.go — Added SendMaxUnsupported() helper function
proto/metadata_go_proto/metadata.pb.go — Regenerated protobuf (bulk of the line changes)
2. Test updates: addpath_scale_test.go
Added Desc fields to all 8 port attributes (dutPort1-4, atePort1-4)
Wrapped SetSendMax(10) in a !deviations.SendMaxUnsupported(dut) guard (line 507-509)
Fixed community set CLI format — removed \n before end-set in the regex community set config for Cisco
3. Metadata: metadata.textproto
Enabled both community_member_regex_unsupported: true and send_max_unsupported: true for the Cisco platform exception
TL;DR
The branch adds a Cisco-specific deviation to skip send-max configuration in BGP add-path (unsupported on XR 8000), fixes the community-set CLI syntax for Cisco, and adds port descriptions.