Repository navigation
DP-1.20: Add QoS ECN negative feature config README and metadata - #6273
vjarial-web wants to merge 3 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 plan specification focused on negative testing for OpenConfig QoS ECN and WRED queue management profiles. The goal is to ensure the DUT correctly rejects invalid configurations and maintains referential integrity when profiles are bound to or removed from interface output queues. This addition improves the robustness of the QoS feature verification suite. 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 #6273 / 66bcabcVirtual Devices
Hardware Devices
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new test plan for 'DP-1.20: QoS ECN negative feature config'. It adds a detailed README.md describing the test objectives, topology, and five test steps (including negative tests for invalid thresholds, out-of-range drop probability, non-existent profile assignment, and invalid profile deletion, followed by teardown). It also adds the corresponding metadata.textproto file and registers the new test in testregistry.textproto. No review comments were provided, so I have no additional feedback.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request introduces a new QoS ECN negative feature configuration test (DP-1.20). It adds a comprehensive test plan README.md detailing negative test scenarios for invalid WRED/ECN profile parameters, non-existent profile assignments, and invalid profile deletions. Additionally, it includes the corresponding metadata.textproto file and registers the new test in testregistry.textproto. There are no review comments, and the changes conform to the repository's style guidelines; therefore, I have no feedback to provide.
f003847 to
66bcabc
Compare
Summary
Adds a standalone test plan specification (
DP-1.20: QoS ECN negative feature config) underfeature/qos/tests/qos_ecn_negative_config_test/to validate that the DUT properly rejects invalid OpenConfig QoS Explicit Congestion Notification (ECN) and Weighted Random Early Detection (WRED)queue-management-profileconfigurations and enforces referential integrity on interface output queues.Changes
feature/qos/tests/qos_ecn_negative_config_test/README.md:2_router_links.testbed), dual-stack (IPV4andIPV6) DSCP input classifiers, forwarding groups, queues, and baselinequeue-management-profiledefaults.DP-1.20.1(Negative Test 1 —min-threshold > max-threshold): Verifies gNMISetrejection whenmin-threshold(81920) is strictly greater thanmax-threshold(40960) on aqueue-management-profilebound to an output queue.DP-1.20.2(Negative Test 2 — Invalidmax-drop-probability-percent): Verifies gNMISetrejection whenmax-drop-probability-percentis set to an out-of-range value (101, outside0..100).DP-1.20.3(Negative Test 3 — Non-Existent Profile Assignment): Verifies gNMISetrejection when assigning a non-existentqueue-management-profileto an interface output queue.DP-1.20.4(Negative Test 4 — Invalid Profile Deletion While Active): Applies a validqueue-management-profile(with Canonical OC) to an interface output queue, verifies active state via gNMISubscribe, and verifies that deleting the profile while it is still bound to the interface queue is rejected and leaves the active binding intact.DP-1.20.5(Teardown and Cleanup Verification): Verifies clean detachment of thequeue-management-profilefrom the interface output queue followed by global deletion of the profile.feature/qos/tests/qos_ecn_negative_config_test/metadata.textproto:DP-1.20(TESTBED_DUT_ATE_2LINKS).testregistry.textproto:DP-1.20(QoS ECN negative feature config).