Skip to content

DP-1.20: Add QoS ECN negative feature config README and metadata - #6273

Open
vjarial-web wants to merge 3 commits into
openconfig:mainfrom
vjarial-web:qos_ecn_negative_config_test_readme
Open

vjarial-web wants to merge 3 commits into
openconfig:mainfrom
vjarial-web:qos_ecn_negative_config_test_readme

Conversation

@vjarial-web

@vjarial-web vjarial-web commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds a standalone test plan specification (DP-1.20: QoS ECN negative feature config) under feature/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-profile configurations and enforces referential integrity on interface output queues.

Changes

  • feature/qos/tests/qos_ecn_negative_config_test/README.md:
    • Defines the 2-link topology (2_router_links.testbed), dual-stack (IPV4 and IPV6) DSCP input classifiers, forwarding groups, queues, and baseline queue-management-profile defaults.
    • DP-1.20.1 (Negative Test 1 — min-threshold > max-threshold): Verifies gNMI Set rejection when min-threshold (81920) is strictly greater than max-threshold (40960) on a queue-management-profile bound to an output queue.
    • DP-1.20.2 (Negative Test 2 — Invalid max-drop-probability-percent): Verifies gNMI Set rejection when max-drop-probability-percent is set to an out-of-range value (101, outside 0..100).
    • DP-1.20.3 (Negative Test 3 — Non-Existent Profile Assignment): Verifies gNMI Set rejection when assigning a non-existent queue-management-profile to an interface output queue.
    • DP-1.20.4 (Negative Test 4 — Invalid Profile Deletion While Active): Applies a valid queue-management-profile (with Canonical OC) to an interface output queue, verifies active state via gNMI Subscribe, 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 the queue-management-profile from the interface output queue followed by global deletion of the profile.
  • feature/qos/tests/qos_ecn_negative_config_test/metadata.textproto:
    • Adds metadata definition for DP-1.20 (TESTBED_DUT_ATE_2LINKS).
  • testregistry.textproto:
    • Registers DP-1.20 (QoS ECN negative feature config).

@vjarial-web
vjarial-web requested a review from a team as a code owner November 11, 2026 11:47
@vjarial-web
vjarial-web requested a review from sezhang2 November 11, 2026 11:47
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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

  • New Test Plan Specification: Added a new test plan 'DP-1.20: QoS ECN negative feature config' to validate negative scenarios for OpenConfig QoS ECN and WRED configurations.
  • Negative Test Coverage: Implemented documentation for testing invalid threshold ordering, out-of-range drop probabilities, non-existent profile assignments, and invalid profile deletion while active.
  • Registry Updates: Registered the new test plan in 'testregistry.textproto' and added the corresponding metadata file.
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

@OpenConfigBot

OpenConfigBot commented Nov 11, 2026 •

Copy link
Copy Markdown

Pull Request Functional Test Report for #6273 / 66bcabc

Virtual Devices

Device Test Status Test Documentation Job Raw Log
Arista cEOS status
DP-1.20: failure
DP-1.20: QoS ECN negative feature config
7c55cf1e Log
Cisco 8000E status
DP-1.20: failure
DP-1.20: QoS ECN negative feature config
ffae5ad2 Log
Cisco XRd status
DP-1.20: failure
DP-1.20: QoS ECN negative feature config
6e8e68f0 Log
Juniper ncPTX status
DP-1.20: failure
DP-1.20: QoS ECN negative feature config
c8e15307 Log
Nokia SR Linux status
DP-1.20: failure
DP-1.20: QoS ECN negative feature config
813bf7a5 Log
Openconfig Lemming status
DP-1.20: failure
DP-1.20: QoS ECN negative feature config
f7d4b6a5 Log

Hardware Devices

Device Test Status Test Documentation Raw Log
Arista status
DP-1.20: pending authorization
DP-1.20: QoS ECN negative feature config
Cisco status
DP-1.20: pending authorization
DP-1.20: QoS ECN negative feature config
Juniper status
DP-1.20: pending authorization
DP-1.20: QoS ECN negative feature config
Nokia status
DP-1.20: pending authorization
DP-1.20: QoS ECN negative feature config

Help

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@vjarial-web

Copy link
Copy Markdown
Contributor Author

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@vjarial-web
vjarial-web force-pushed the qos_ecn_negative_config_test_readme branch from f003847 to 66bcabc Compare November 16, 2026 11:18

@jayakumarramisetty jayakumarramisetty left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants