From 18cae6ab6c7ca56f0fb27d111461cfe03a519775 Mon Sep 17 00:00:00 2001 From: Robert Wilton Date: Tue, 31 Mar 2026 17:05:15 +0100 Subject: [PATCH] Add sent-path-count leaf --- .../openconfig-bgp-common-multiprotocol.yang | 10 ++++++++-- .../bgp/openconfig-bgp-common-structure.yang | 10 ++++++++-- release/models/bgp/openconfig-bgp-common.yang | 10 ++++++++-- release/models/bgp/openconfig-bgp-global.yang | 10 ++++++++-- .../models/bgp/openconfig-bgp-neighbor.yang | 19 +++++++++++++++++-- .../models/bgp/openconfig-bgp-peer-group.yang | 10 ++++++++-- release/models/bgp/openconfig-bgp.yang | 10 ++++++++-- 7 files changed, 65 insertions(+), 14 deletions(-) diff --git a/release/models/bgp/openconfig-bgp-common-multiprotocol.yang b/release/models/bgp/openconfig-bgp-common-multiprotocol.yang index 056246d7fc..f8abb49e71 100644 --- a/release/models/bgp/openconfig-bgp-common-multiprotocol.yang +++ b/release/models/bgp/openconfig-bgp-common-multiprotocol.yang @@ -24,13 +24,19 @@ submodule openconfig-bgp-common-multiprotocol { for multiple protocols in BGP. The groupings are common across multiple contexts."; - oc-ext:openconfig-version "9.9.1"; + oc-ext:openconfig-version "9.10.0"; + + revision "2026-03-31" { + description + "Add prefix sent path count."; + reference "9.10.0"; + } revision "2025-04-18" { description "Clarification to usage of link-bandwidth-ext-community container under BGP use-multiple-paths`."; - reference "9.9.1"; + reference "9.9.1"; } revision "2025-03-30" { diff --git a/release/models/bgp/openconfig-bgp-common-structure.yang b/release/models/bgp/openconfig-bgp-common-structure.yang index d233f26f8c..1a5ac5cac3 100644 --- a/release/models/bgp/openconfig-bgp-common-structure.yang +++ b/release/models/bgp/openconfig-bgp-common-structure.yang @@ -21,13 +21,19 @@ submodule openconfig-bgp-common-structure { "This sub-module contains groupings that are common across multiple BGP contexts and provide structure around other primitive groupings."; - oc-ext:openconfig-version "9.9.1"; + oc-ext:openconfig-version "9.10.0"; + + revision "2026-03-31" { + description + "Add prefix sent path count."; + reference "9.10.0"; + } revision "2025-04-18" { description "Clarification to usage of link-bandwidth-ext-community container under BGP use-multiple-paths`."; - reference "9.9.1"; + reference "9.9.1"; } revision "2025-03-30" { diff --git a/release/models/bgp/openconfig-bgp-common.yang b/release/models/bgp/openconfig-bgp-common.yang index 630a4600ec..c0604a425f 100644 --- a/release/models/bgp/openconfig-bgp-common.yang +++ b/release/models/bgp/openconfig-bgp-common.yang @@ -24,13 +24,19 @@ submodule openconfig-bgp-common { may be application to a subset of global, peer-group or neighbor contexts."; - oc-ext:openconfig-version "9.9.1"; + oc-ext:openconfig-version "9.10.0"; + + revision "2026-03-31" { + description + "Add prefix sent path count."; + reference "9.10.0"; + } revision "2025-04-18" { description "Clarification to usage of link-bandwidth-ext-community container under BGP use-multiple-paths`."; - reference "9.9.1"; + reference "9.9.1"; } revision "2025-03-30" { diff --git a/release/models/bgp/openconfig-bgp-global.yang b/release/models/bgp/openconfig-bgp-global.yang index 4921fc07b9..f96e5b93c6 100644 --- a/release/models/bgp/openconfig-bgp-global.yang +++ b/release/models/bgp/openconfig-bgp-global.yang @@ -27,13 +27,19 @@ submodule openconfig-bgp-global { "This sub-module contains groupings that are specific to the global context of the OpenConfig BGP module"; - oc-ext:openconfig-version "9.9.1"; + oc-ext:openconfig-version "9.10.0"; + + revision "2026-03-31" { + description + "Add prefix sent path count."; + reference "9.10.0"; + } revision "2025-04-18" { description "Clarification to usage of link-bandwidth-ext-community container under BGP use-multiple-paths`."; - reference "9.9.1"; + reference "9.9.1"; } revision "2025-03-30" { diff --git a/release/models/bgp/openconfig-bgp-neighbor.yang b/release/models/bgp/openconfig-bgp-neighbor.yang index 9afa0c748d..2d52aeac52 100644 --- a/release/models/bgp/openconfig-bgp-neighbor.yang +++ b/release/models/bgp/openconfig-bgp-neighbor.yang @@ -30,13 +30,19 @@ submodule openconfig-bgp-neighbor { "This sub-module contains groupings that are specific to the neighbor context of the OpenConfig BGP module."; - oc-ext:openconfig-version "9.9.1"; + oc-ext:openconfig-version "9.10.0"; + + revision "2026-03-31" { + description + "Add prefix sent path count."; + reference "9.10.0"; + } revision "2025-04-18" { description "Clarification to usage of link-bandwidth-ext-community container under BGP use-multiple-paths`."; - reference "9.9.1"; + reference "9.9.1"; } revision "2025-03-30" { @@ -688,6 +694,15 @@ submodule openconfig-bgp-neighbor { Adj-RIB-Out for the neighbor"; } + leaf sent-path-count { + type uint32; + description + "The number of add-paths advertised to a neighbor after + the post-policy Adj-RIB-Out. This value reflects the total + number of paths present in the post-policy Adj-RIB-Out for + the neighbor once add-path configuration is applied."; + } + leaf installed { type uint32; description diff --git a/release/models/bgp/openconfig-bgp-peer-group.yang b/release/models/bgp/openconfig-bgp-peer-group.yang index cb336f9985..2d082c9d7b 100644 --- a/release/models/bgp/openconfig-bgp-peer-group.yang +++ b/release/models/bgp/openconfig-bgp-peer-group.yang @@ -25,13 +25,19 @@ submodule openconfig-bgp-peer-group { "This sub-module contains groupings that are specific to the peer-group context of the OpenConfig BGP module."; - oc-ext:openconfig-version "9.9.1"; + oc-ext:openconfig-version "9.10.0"; + + revision "2026-03-31" { + description + "Add prefix sent path count."; + reference "9.10.0"; + } revision "2025-04-18" { description "Clarification to usage of link-bandwidth-ext-community container under BGP use-multiple-paths`."; - reference "9.9.1"; + reference "9.9.1"; } revision "2025-03-30" { diff --git a/release/models/bgp/openconfig-bgp.yang b/release/models/bgp/openconfig-bgp.yang index a5cc41f91c..572fc605f9 100644 --- a/release/models/bgp/openconfig-bgp.yang +++ b/release/models/bgp/openconfig-bgp.yang @@ -68,13 +68,19 @@ module openconfig-bgp { whereas leaf not present inherits its value from the leaf present at the next higher level in the hierarchy."; - oc-ext:openconfig-version "9.9.1"; + oc-ext:openconfig-version "9.10.0"; + + revision "2026-03-31" { + description + "Add prefix sent path count."; + reference "9.10.0"; + } revision "2025-04-18" { description "Clarification to usage of link-bandwidth-ext-community container under BGP use-multiple-paths`."; - reference "9.9.1"; + reference "9.9.1"; } revision "2025-03-30" {