From b7c977ed3271278b26b8885c575624340c26b5ed Mon Sep 17 00:00:00 2001 From: Martin Ostrowski Date: Wed, 15 Jul 2026 15:42:22 +0000 Subject: [PATCH 1/2] Add ingress link-down discard counter to interface counters This change introduces a new operational state counter in-link-down-discards under interface counters (/interfaces/interface/state/counters/in-link-down-discards and /interfaces/interface/subinterfaces/subinterface/state/counters/in-link-down-discards) to track ingress packets dropped due to egress link-down forwarding conditions. The version has been bumped to 3.9.0 in openconfig-interfaces.yang. Change-Id: I38c19a483b18e47f583c81a0b98597888405892f --- .../interfaces/openconfig-interfaces.yang | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/release/models/interfaces/openconfig-interfaces.yang b/release/models/interfaces/openconfig-interfaces.yang index 6d79517cdd..cf8a9ee623 100644 --- a/release/models/interfaces/openconfig-interfaces.yang +++ b/release/models/interfaces/openconfig-interfaces.yang @@ -51,7 +51,14 @@ module openconfig-interfaces { Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info)."; - oc-ext:openconfig-version "3.8.1"; + oc-ext:openconfig-version "3.9.0"; + + revision "2026-07-15" { + description + "Add ingress link-down discard counter to interface counters."; + reference + "3.9.0"; + } revision "2026-01-06" { description @@ -880,6 +887,18 @@ module openconfig-interfaces { Internet Protocol (IP)."; } + leaf in-link-down-discards { + type oc-yang:counter64; + description + "The number of inbound packets received on the interface that + were dropped because the egress interface or next-hop link + selected by forwarding or routing was down. + + Discontinuities in the value of this counter can occur + at re-initialization of the management system, and at + other times as indicated by the value of 'last-clear'."; + } + leaf out-octets { type oc-yang:counter64; description From c72e46788424bf002f27f85b4ec779a4ec4f0b17 Mon Sep 17 00:00:00 2001 From: Martin Ostrowski Date: Fri, 31 Jul 2026 00:29:39 +0000 Subject: [PATCH 2/2] Bump openconfig-version to 3.10.0 for PR 1528 This change bumps openconfig-version to 3.10.0 and updates revision history in openconfig-interfaces.yang to reflect sequential merge order after PR 1527 (3.9.0). Change-Id: I38c19a483b18e47f583c81a0b98597888405892f --- .../models/interfaces/openconfig-interfaces.yang | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/release/models/interfaces/openconfig-interfaces.yang b/release/models/interfaces/openconfig-interfaces.yang index cf8a9ee623..d60ff47700 100644 --- a/release/models/interfaces/openconfig-interfaces.yang +++ b/release/models/interfaces/openconfig-interfaces.yang @@ -51,13 +51,14 @@ module openconfig-interfaces { Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info)."; - oc-ext:openconfig-version "3.9.0"; + oc-ext:openconfig-version "3.10.0"; - revision "2026-07-15" { + revision "2026-07-29" { description - "Add ingress link-down discard counter to interface counters."; + "Add ingress link-down discard counter to interface and + subinterface counters."; reference - "3.9.0"; + "3.10.0"; } revision "2026-01-06" { @@ -890,9 +891,9 @@ module openconfig-interfaces { leaf in-link-down-discards { type oc-yang:counter64; description - "The number of inbound packets received on the interface that - were dropped because the egress interface or next-hop link - selected by forwarding or routing was down. + "The number of inbound packets received on the interface or + subinterface that were dropped because the egress interface or + next-hop link selected by forwarding or routing was down. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at