From 17df1d3911e6609aefb64c70e4b87c3c08452bd4 Mon Sep 17 00:00:00 2001 From: Martin Ostrowski Date: Wed, 29 Jul 2026 19:14:21 +0000 Subject: [PATCH] Add ingress route lookup drop counter to interface and subinterface counters This change introduces a new operational state counter in-route-lookup-drop under common interface counters (/interfaces/interface/state/counters/in-route-lookup-drop and /interfaces/interface/subinterfaces/subinterface/state/counters/in-route-lookup-drop) to track inbound packets dropped during routing lookup due to no matching route entry in the forwarding table (LPM miss) or matching an explicit drop route. The version has been bumped to 3.11.0 in openconfig-interfaces.yang. Change-Id: If395e99e2a65ce8e111aef5510c463249c3e7f85 --- .../interfaces/openconfig-interfaces.yang | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/release/models/interfaces/openconfig-interfaces.yang b/release/models/interfaces/openconfig-interfaces.yang index 6d79517cdd..a607825498 100644 --- a/release/models/interfaces/openconfig-interfaces.yang +++ b/release/models/interfaces/openconfig-interfaces.yang @@ -51,7 +51,15 @@ 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.11.0"; + + revision "2026-07-29" { + description + "Add ingress route lookup drop counter to interface and + subinterface counters."; + reference + "3.11.0"; + } revision "2026-01-06" { description @@ -1006,6 +1014,19 @@ module openconfig-interfaces { the Unix Epoch (Jan 1, 1970 00:00:00 UTC)."; oc-ext:telemetry-on-change; } + + leaf in-route-lookup-drop { + type oc-yang:counter64; + description + "The number of inbound packets received on the interface or + subinterface that were dropped during routing lookup due to no + matching route entry in the forwarding table (LPM miss) or + matching an explicit drop route. + + 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'."; + } } grouping interface-counters-state {