Skip to content

Commit

Permalink
Multipath link bandwidth enabled (openconfig#1028)
Browse files Browse the repository at this point in the history
* BGP link bandwidth multipath enable at global level
  • Loading branch information
rszarecki authored and romeyod committed Sep 19, 2024
1 parent 3caf950 commit 617fa6e
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 7 deletions.
9 changes: 8 additions & 1 deletion release/models/bgp/openconfig-bgp-common-multiprotocol.yang
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,15 @@ submodule openconfig-bgp-common-multiprotocol {
for multiple protocols in BGP. The groupings are common across
multiple contexts.";

oc-ext:openconfig-version "9.6.0";
oc-ext:openconfig-version "9.7.0";


revision "2023-12-28" {
description
"Add support for controling use of link-bandwidth extended
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
Expand Down
9 changes: 8 additions & 1 deletion release/models/bgp/openconfig-bgp-common-structure.yang
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@ 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.6.0";
oc-ext:openconfig-version "9.7.0";

revision "2023-12-28" {
description
"Add support for controling use of link-bandwidth extended
community for BGP multipath.";
reference "9.7.0";
}

revision "2023-11-02" {
description
Expand Down
56 changes: 55 additions & 1 deletion release/models/bgp/openconfig-bgp-common.yang
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@ submodule openconfig-bgp-common {
may be application to a subset of global, peer-group or neighbor
contexts.";

oc-ext:openconfig-version "9.6.0";
oc-ext:openconfig-version "9.7.0";

revision "2023-12-28" {
description
"Add support for controling use of link-bandwidth extended
community for BGP multipath.";
reference "9.7.0";
}

revision "2023-11-02" {
description
Expand Down Expand Up @@ -620,6 +627,21 @@ submodule openconfig-bgp-common {
container ebgp {
description
"Multipath parameters 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";
Expand All @@ -636,6 +658,21 @@ submodule openconfig-bgp-common {
container ibgp {
description
"Multipath parameters for iBGP";
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 iBGP multipath";
Expand All @@ -651,6 +688,23 @@ 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";
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";
}
}

grouping bgp-common-use-multiple-paths-ebgp-config {
description
"Configuration parameters relating to multipath for eBGP";
Expand Down
9 changes: 8 additions & 1 deletion release/models/bgp/openconfig-bgp-global.yang
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@ 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.6.0";
oc-ext:openconfig-version "9.7.0";

revision "2023-12-28" {
description
"Add support for controling use of link-bandwidth extended
community for BGP multipath.";
reference "9.7.0";
}

revision "2023-11-02" {
description
Expand Down
9 changes: 8 additions & 1 deletion release/models/bgp/openconfig-bgp-neighbor.yang
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ 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.6.0";
oc-ext:openconfig-version "9.7.0";

revision "2023-12-28" {
description
"Add support for controling use of link-bandwidth extended
community for BGP multipath.";
reference "9.7.0";
}

revision "2023-11-02" {
description
Expand Down
9 changes: 8 additions & 1 deletion release/models/bgp/openconfig-bgp-peer-group.yang
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ 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.6.0";
oc-ext:openconfig-version "9.7.0";

revision "2023-12-28" {
description
"Add support for controling use of link-bandwidth extended
community for BGP multipath.";
reference "9.7.0";
}

revision "2023-11-02" {
description
Expand Down
9 changes: 8 additions & 1 deletion release/models/bgp/openconfig-bgp.yang
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,14 @@ 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.6.0";
oc-ext:openconfig-version "9.7.0";

revision "2023-12-28" {
description
"Add support for controling use of link-bandwidth extended
community for BGP multipath.";
reference "9.7.0";
}

revision "2023-11-02" {
description
Expand Down

0 comments on commit 617fa6e

Please sign in to comment.