diff --git a/release/models/bgp/openconfig-bgp-common-multiprotocol.yang b/release/models/bgp/openconfig-bgp-common-multiprotocol.yang index 705019c01..bb01eca56 100644 --- a/release/models/bgp/openconfig-bgp-common-multiprotocol.yang +++ b/release/models/bgp/openconfig-bgp-common-multiprotocol.yang @@ -24,12 +24,18 @@ submodule openconfig-bgp-common-multiprotocol { for multiple protocols in BGP. The groupings are common across multiple contexts."; - oc-ext:openconfig-version "9.7.1"; + oc-ext:openconfig-version "9.8.0"; + + revision "2024-06-13" { + description + "Add link-bandwidth parameters for cumulative, non-transitive and equal."; + reference "9.8.0"; + } revision "2023-12-28" { description "Clarification to last-prefix-limit-exceeded in description"; - reference "9.7.1"; + reference "9.7.1"; } revision "2023-12-28" { @@ -38,6 +44,7 @@ submodule openconfig-bgp-common-multiprotocol { community for BGP multipath."; reference "9.7.0"; } + revision "2023-11-02" { description "Fix revision '2023-03-31': send-community-type was added to the diff --git a/release/models/bgp/openconfig-bgp-common-structure.yang b/release/models/bgp/openconfig-bgp-common-structure.yang index e737d9d13..971ecd225 100644 --- a/release/models/bgp/openconfig-bgp-common-structure.yang +++ b/release/models/bgp/openconfig-bgp-common-structure.yang @@ -21,12 +21,18 @@ 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.7.1"; + oc-ext:openconfig-version "9.8.0"; + + revision "2024-06-13" { + description + "Add link-bandwidth parameters for cumulative, non-transitive and equal."; + reference "9.8.0"; + } revision "2023-12-28" { description "Clarification to last-prefix-limit-exceeded in description"; - reference "9.7.1"; + reference "9.7.1"; } revision "2023-12-28" { @@ -319,4 +325,26 @@ submodule openconfig-bgp-common-structure { } } + grouping bgp-common-structure-link-bw { + description + "Structural grouping used to include link bandwidth configuration and + state for BGP neighbors, peer groups and global."; + + container link-bw { + description + "Parameters relating to BGP link bandwidth."; + container config { + description + "Configuration parameters relating to link bandwidth."; + uses bgp-common-link-bw-config; + } + container state { + config false; + description + "State information parameters relating to link bandwidth."; + uses bgp-common-link-bw-config; + } + } + } + } diff --git a/release/models/bgp/openconfig-bgp-common.yang b/release/models/bgp/openconfig-bgp-common.yang index fe3f82477..52f122aed 100644 --- a/release/models/bgp/openconfig-bgp-common.yang +++ b/release/models/bgp/openconfig-bgp-common.yang @@ -24,19 +24,25 @@ submodule openconfig-bgp-common { may be application to a subset of global, peer-group or neighbor contexts."; - oc-ext:openconfig-version "9.7.1"; + oc-ext:openconfig-version "9.8.0"; + + revision "2024-06-13" { + description + "Add link-bandwidth parameters for cumulative, non-transitive and equal."; + reference "9.8.0"; + } revision "2023-12-28" { description "Clarification to last-prefix-limit-exceeded in description"; - reference "9.7.1"; + reference "9.7.1"; } revision "2023-12-28" { description "Add support for controling use of link-bandwidth extended community for BGP multipath."; - reference "9.7.0"; + reference "9.7.0"; } revision "2023-11-02" { @@ -696,21 +702,57 @@ submodule openconfig-bgp-common { grouping bgp-common-use-multiple-paths-link-bandwidth-config { description - "Parameters controlling usage of of DMZ Link-Bandwidth - extended community in pultipath RIB/FIB formation"; + "Parameters controlling usage of DMZ Link-Bandwidth + extended community in multipath RIB/FIB formation"; + leaf enabled { type boolean; description - "When set to TRUE, BGP multiplepath shall distributed traffic - load among contributing routes proportionally to value of - Local Administrator subfield of link-bandwidth extended - community [draft-ietf-idr-link-bandwidth-07]. - This leaf has no effect if BGP multi-path is disabled or - if maximum-path attribute of BGP multi-path value is set - to 1"; + "When set to TRUE, BGP multiplepath shall distributed traffic + load among contributing routes proportionally to value of + Local Administrator subfield of link-bandwidth extended + community [draft-ietf-idr-link-bandwidth-07]. + This leaf has no effect if BGP multi-path is disabled or + if maximum-path attribute of BGP multi-path value is set + to 1"; + } + } + + grouping bgp-common-link-bw-config { + description + "Configuration parameters relating to link-bandwidth for BGP."; + reference + "https://datatracker.ietf.org/doc/draft-ietf-bess-ebgp-dmz/05"; + + leaf send-cumulative { + type boolean; + description + "When set to TRUE, and sending of link-bandwidth community values + is enabled, the system will sum the bgp link-bandwidth community + values for equal cost paths as defined in + draft-ietf-bess-ebgp-dmz-05."; + } + + leaf non-transitive-ebgp { + type boolean; + when "../send-cumulative = 'TRUE'"; + description + "When set to TRUE and sending of link-bandwidth community values is + enabled, the system will send the non-transitive link-bandwidth + community learned from iBGP peers to eBGP peers."; + } + + leaf divide { + type boolean; + when "../send-cumulative = 'TRUE'"; + description + "When set to TRUE, and sending of link-bandwidth community values + is enabled, the system divides the summed bandwidth equally across + available paths as defined in draft-ietf-bess-ebgp-dmz-05."; } } + grouping bgp-common-use-multiple-paths-ebgp-config { description "Configuration parameters relating to multipath for eBGP"; diff --git a/release/models/bgp/openconfig-bgp-global.yang b/release/models/bgp/openconfig-bgp-global.yang index 28e73bac5..08db480ec 100644 --- a/release/models/bgp/openconfig-bgp-global.yang +++ b/release/models/bgp/openconfig-bgp-global.yang @@ -27,12 +27,18 @@ 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.7.1"; + oc-ext:openconfig-version "9.8.0"; + + revision "2024-06-13" { + description + "Add link-bandwidth parameters for cumulative, non-transitive and equal."; + reference "9.8.0"; + } revision "2023-12-28" { description "Clarification to last-prefix-limit-exceeded in description"; - reference "9.7.1"; + reference "9.7.1"; } revision "2023-12-28" { @@ -425,6 +431,7 @@ submodule openconfig-bgp-global { uses bgp-common-route-selection-options; uses bgp-common-global-group-use-multiple-paths; uses bgp-common-structure-neighbor-group-add-paths; + uses bgp-common-structure-link-bw; uses bgp-global-mp-all-afi-safi-list-contents; uses oc-rpol:default-policy-group; } diff --git a/release/models/bgp/openconfig-bgp-neighbor.yang b/release/models/bgp/openconfig-bgp-neighbor.yang index 3087ae03c..70132a55c 100644 --- a/release/models/bgp/openconfig-bgp-neighbor.yang +++ b/release/models/bgp/openconfig-bgp-neighbor.yang @@ -30,19 +30,25 @@ 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.7.1"; + oc-ext:openconfig-version "9.8.0"; + + revision "2024-06-13" { + description + "Add link-bandwidth parameters for cumulative, non-transitive and equal."; + reference "9.8.0"; + } revision "2023-12-28" { description "Clarification to last-prefix-limit-exceeded in description"; - reference "9.7.1"; + reference "9.7.1"; } revision "2023-12-28" { description "Add support for controling use of link-bandwidth extended community for BGP multipath."; - reference "9.7.0"; + reference "9.7.0"; } revision "2023-11-02" { @@ -274,6 +280,21 @@ submodule openconfig-bgp-neighbor { container ebgp { description "Multipath configuration for eBGP"; + container link-bandwidth-ext-community { + description + "Usage of DMZ Link-Bandwidth extended community"; + container config { + description + "Configuration parameters relating to usage of link-bandwidth"; + uses bgp-common-use-multiple-paths-link-bandwidth-config; + } + container state { + config false; + description + "State information relating to usage of link-bandwidth"; + uses bgp-common-use-multiple-paths-link-bandwidth-config; + } + } container config { description "Configuration parameters relating to eBGP multipath"; @@ -744,6 +765,7 @@ submodule openconfig-bgp-neighbor { uses bgp-common-structure-neighbor-group-add-paths; uses bgp-common-mp-all-afi-safi-list-contents; uses bgp-neighbor-use-multiple-paths; + uses bgp-common-structure-link-bw; } } diff --git a/release/models/bgp/openconfig-bgp-peer-group.yang b/release/models/bgp/openconfig-bgp-peer-group.yang index 9091e68e1..be42dd959 100644 --- a/release/models/bgp/openconfig-bgp-peer-group.yang +++ b/release/models/bgp/openconfig-bgp-peer-group.yang @@ -25,12 +25,18 @@ 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.7.1"; + oc-ext:openconfig-version "9.8.0"; + + revision "2024-06-13" { + description + "Add link-bandwidth parameters for cumulative, non-transitive and equal."; + reference "9.8.0"; + } revision "2023-12-28" { description "Clarification to last-prefix-limit-exceeded in description"; - reference "9.7.1"; + reference "9.7.1"; } revision "2023-12-28" { @@ -254,6 +260,7 @@ submodule openconfig-bgp-peer-group { uses bgp-common-structure-neighbor-group-add-paths; uses bgp-common-global-group-use-multiple-paths; uses bgp-common-mp-all-afi-safi-list-contents; + uses bgp-common-structure-link-bw; } } diff --git a/release/models/bgp/openconfig-bgp.yang b/release/models/bgp/openconfig-bgp.yang index de65238c9..784513404 100644 --- a/release/models/bgp/openconfig-bgp.yang +++ b/release/models/bgp/openconfig-bgp.yang @@ -68,19 +68,25 @@ 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.7.1"; + oc-ext:openconfig-version "9.8.0"; + + revision "2024-06-13" { + description + "Add link-bandwidth parameters for cumulative, non-transitive and equal."; + reference "9.8.0"; + } revision "2023-12-28" { description "Clarification to last-prefix-limit-exceeded in description"; - reference "9.7.1"; + reference "9.7.1"; } revision "2023-12-28" { description "Add support for controling use of link-bandwidth extended community for BGP multipath."; - reference "9.7.0"; + reference "9.7.0"; } revision "2023-11-02" {