Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multipath link bandwidth enabled #1028

Merged
merged 13 commits into from
Jan 30, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@ submodule openconfig-bgp-common-multiprotocol {
for multiple protocols in BGP. The groupings are common across
multiple contexts.";

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

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

revision "2023-11-01" {
description
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.5.0";
oc-ext:openconfig-version "9.6.0";

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

revision "2023-11-01" {
description
Expand Down
54 changes: 53 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.5.0";
oc-ext:openconfig-version "9.6.0";

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

revision "2023-11-01" {
description
Expand Down Expand Up @@ -611,6 +618,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 @@ -627,6 +649,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 @@ -642,6 +679,21 @@ 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 enable {
type boolean;
default "true";
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]";
}
}

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.5.0";
oc-ext:openconfig-version "9.6.0";

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

revision "2023-11-01" {
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.5.0";
oc-ext:openconfig-version "9.6.0";

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

revision "2023-11-01" {
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.5.0";
oc-ext:openconfig-version "9.6.0";

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

revision "2023-11-01" {
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.5.0";
oc-ext:openconfig-version "9.6.0";

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

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