diff --git a/release/models/acl/openconfig-packet-match.yang b/release/models/acl/openconfig-packet-match.yang index 85987e3d13..2020711b38 100644 --- a/release/models/acl/openconfig-packet-match.yang +++ b/release/models/acl/openconfig-packet-match.yang @@ -31,7 +31,13 @@ module openconfig-packet-match { wildcard ('any') for that field."; - oc-ext:openconfig-version "2.2.0"; + oc-ext:openconfig-version "2.3.0"; + + revision "2026-03-25" { + description + "Add internal switching fabric parameters"; + reference "2.3.0"; + } revision "2025-06-10" { description @@ -739,4 +745,48 @@ module openconfig-packet-match { } } + grouping fabric-params-top { + description + "Top-level grouping for parameters related to the internal + switching fabric of the device."; + + container fabric { + description + "Enclosing container for managing device-specific fabric + attributes."; + + container config { + description + "Configuration parameters relating to fabric + parameters."; + + uses fabric-params-config; + } + + container state { + description + "Operational state parameters relating to fabric + parameters."; + config false; + + uses fabric-params-config; + } + } + } + + grouping fabric-params-config { + description + "Top-level grouping for configurable parameters related to the + internal switching fabric of the device."; + leaf fabric-priority { + type uint8; + description + "Specifies the priority for the forwarding group for local + transmission through the device (e.g., across the internal + switching fabric). The priority is expressed as a numerical + value where higher values indicate higher precedence. For + example, traffic with fabric priority 128 is treated with + higher priority than traffic with fabric priority 0."; + } + } } diff --git a/release/models/qos/openconfig-qos-elements.yang b/release/models/qos/openconfig-qos-elements.yang index 0672fda93e..ba382b40c6 100644 --- a/release/models/qos/openconfig-qos-elements.yang +++ b/release/models/qos/openconfig-qos-elements.yang @@ -35,7 +35,13 @@ submodule openconfig-qos-elements { packets for transmission, including policer and shaper functions"; - oc-ext:openconfig-version "2.0.1"; + oc-ext:openconfig-version "2.1.0"; + + revision "2026-03-25" { + description + "Add fabric parameters for classifier."; + reference "2.1.0"; + } revision "2026-01-24" { description @@ -257,6 +263,7 @@ submodule openconfig-qos-elements { uses oc-pkt-match:ipv6-protocol-fields-top; uses oc-pkt-match:transport-fields-top; uses oc-pkt-match:mpls-header-top; + uses oc-pkt-match:fabric-params-top; } container actions { diff --git a/release/models/qos/openconfig-qos-interfaces.yang b/release/models/qos/openconfig-qos-interfaces.yang index f9e3183069..1dc2241db0 100644 --- a/release/models/qos/openconfig-qos-interfaces.yang +++ b/release/models/qos/openconfig-qos-interfaces.yang @@ -25,7 +25,13 @@ submodule openconfig-qos-interfaces { configuration and operational state associated with interfaces."; - oc-ext:openconfig-version "2.0.1"; + oc-ext:openconfig-version "2.1.0"; + + revision "2026-03-25" { + description + "Bump version to 2.1.0"; + reference "2.1.0"; + } revision "2026-01-24" { description diff --git a/release/models/qos/openconfig-qos-mem-mgmt.yang b/release/models/qos/openconfig-qos-mem-mgmt.yang index 22bfeeab98..48b98a0327 100644 --- a/release/models/qos/openconfig-qos-mem-mgmt.yang +++ b/release/models/qos/openconfig-qos-mem-mgmt.yang @@ -29,7 +29,13 @@ submodule openconfig-qos-mem-mgmt { per-queue basis, and determine how packets are marked/dropped within the queue instantiation."; - oc-ext:openconfig-version "2.0.1"; + oc-ext:openconfig-version "2.1.0"; + + revision "2026-03-25" { + description + "Add packet discard action at queue level."; + reference "2.1.0"; + } revision "2026-01-24" { description @@ -341,6 +347,19 @@ revision "2023-07-26" { calculated as (free buffer * 2^scaling factor) ie. 10MB*2^3 = 80MB. Since the current usage is 79MB which is < 80MB, the packet is queued."; } + + leaf trim-enable { + type boolean; + + description + "Flag to enable packet trimming per queue. If leaf is set + to false, the packet should be completely discard, + effectively silent dropping without preserving any part + of the data. If leaf is set to false, packet would be + trimmed instead of fully dropped. Typically, this involves + truncating the payload while preserving the packet header + for notification or diagnostic purposes."; + } } grouping qos-queue-management-profile-config { diff --git a/release/models/qos/openconfig-qos.yang b/release/models/qos/openconfig-qos.yang index 2471cc96a3..f27114a5ab 100644 --- a/release/models/qos/openconfig-qos.yang +++ b/release/models/qos/openconfig-qos.yang @@ -27,7 +27,13 @@ module openconfig-qos { "This module defines configuration and operational state data related to network quality-of-service."; - oc-ext:openconfig-version "2.0.1"; + oc-ext:openconfig-version "2.1.0"; + + revision "2026-03-25" { + description + "Add parameters for packet trimming configuration"; + reference "2.1.0"; + } revision "2026-01-24" { description @@ -169,6 +175,52 @@ revision "2023-07-26" { "Operational state data for global QoS"; } + grouping qos-packet-trim-top { + description + "Top-level grouping for packet trimming."; + + container packet-trim { + description + "Container for switch level packet trimming + parameters."; + + container config { + description + "Configuration data for switch level packet + trimming parameters."; + + uses packet-trim-config; + } + container state { + description + "Operational state data for switch level packet + trimming parameters."; + config false; + + uses packet-trim-config; + } + } + } + + grouping packet-trim-config { + description + "Top-level grouping for switch level packet + trimming parameters"; + leaf symmetric-dscp { + type uint8; + description + "The DSCP value for the notification packet + (sometimes called a 'symmetric packet') sent back + to the source when a packet is trimmed."; + } + leaf fabric-priority { + type uint8; + description + "Traffic class used to transmit trimmed + packets."; + } + } + grouping qos-top { description "Top-level grouping for QoS model"; @@ -185,10 +237,10 @@ revision "2023-07-26" { } container state { - config false; description "Operational state data for global QoS"; + config false; uses qos-config; uses qos-state; } @@ -200,6 +252,7 @@ revision "2023-07-26" { uses qos-scheduler-top; uses qos-buffer-profile-top; uses qos-queue-mgmt-profile-top; + uses qos-packet-trim-top; } }