Skip to content

Commit 64246ae

Browse files
authored
Merge branch 'master' into pf-decap-2
2 parents eab577f + b2258aa commit 64246ae

9 files changed

+357
-56
lines changed

release/models/bgp/openconfig-bgp-common-multiprotocol.yang

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,21 @@ submodule openconfig-bgp-common-multiprotocol {
2424
for multiple protocols in BGP. The groupings are common across
2525
multiple contexts.";
2626

27-
oc-ext:openconfig-version "9.8.0";
27+
oc-ext:openconfig-version "9.9.1";
28+
29+
revision "2025-04-18" {
30+
description
31+
"Clarification to usage of link-bandwidth-ext-community
32+
container under BGP use-multiple-paths`.";
33+
reference "9.9.1";
34+
}
35+
36+
revision "2025-03-30" {
37+
description
38+
"Add schema for auto-generated link-bandwidth extended community
39+
for learned routes.";
40+
reference "9.9.0";
41+
}
2842

2943
revision "2024-09-06" {
3044
description

release/models/bgp/openconfig-bgp-common-structure.yang

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,21 @@ submodule openconfig-bgp-common-structure {
2121
"This sub-module contains groupings that are common across multiple BGP
2222
contexts and provide structure around other primitive groupings.";
2323

24-
oc-ext:openconfig-version "9.8.0";
24+
oc-ext:openconfig-version "9.9.1";
25+
26+
revision "2025-04-18" {
27+
description
28+
"Clarification to usage of link-bandwidth-ext-community
29+
container under BGP use-multiple-paths`.";
30+
reference "9.9.1";
31+
}
32+
33+
revision "2025-03-30" {
34+
description
35+
"Add schema for auto-generated link-bandwidth extended community
36+
for learned routes.";
37+
reference "9.9.0";
38+
}
2539

2640
revision "2024-09-06" {
2741
description
@@ -325,4 +339,64 @@ submodule openconfig-bgp-common-structure {
325339
}
326340
}
327341

342+
grouping bgp-common-structure-neighbor-group-auto-gen-link-bandwidth {
343+
description
344+
"Common grouping used for both groups and neighbors which
345+
provides configuration and state parameters relating to
346+
auto-generation of link-bandwidth extended-community
347+
attribute.";
348+
349+
container import {
350+
description
351+
"Container used to provide configuration and state
352+
parameters related to auto-generation of link-bandwidth
353+
extended-community attribute for learned routes.
354+
Applies only for routes that do not have link-bandwidth
355+
extended-community.
356+
Any policy action related to link-bandwidth
357+
extended-community takes precedence over this
358+
configuration.
359+
This configuration when present, MUST be supported in
360+
context of single-hop EBGP neighbor (with and without
361+
TTL security enabled). Implementation may support it
362+
in other reasonable contexts. Implementation shall not
363+
silently ignore this configuration. If present in not
364+
supported context, implementation shall reject
365+
configuration.";
366+
367+
container config {
368+
description
369+
"Container used to provide configuration
370+
parameters related to auto-generation of link-bandwidth
371+
extended-community attribute for learned routes.
372+
Applies only for routes that do not have link-bandwidth
373+
extended-community.";
374+
uses auto-gen-link-bandwidth-config;
375+
}
376+
377+
container state {
378+
config false;
379+
description
380+
"Container used to provide state
381+
parameters related to auto-generation of link-bandwidth
382+
extended-community attribute for learned routes.
383+
Apply only for routes that do not have link-bandwidth
384+
extended-community.";
385+
uses auto-gen-link-bandwidth-config;
386+
}
387+
}
388+
}
389+
390+
grouping bgp-common-structure-neighbor-group-auto-link-bandwidth {
391+
description
392+
"Parameters related to automatic generation link-bandwidth
393+
extended community base on underlaying interface speed.";
394+
container auto-link-bandwidth {
395+
description
396+
"Parameters related to automatic generation link-bandwidth
397+
extended community base on underlaying interface speed.";
398+
uses bgp-common-structure-neighbor-group-auto-gen-link-bandwidth;
399+
}
400+
}
401+
328402
}

release/models/bgp/openconfig-bgp-common.yang

Lines changed: 76 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,21 @@ submodule openconfig-bgp-common {
2424
may be application to a subset of global, peer-group or neighbor
2525
contexts.";
2626

27-
oc-ext:openconfig-version "9.8.0";
27+
oc-ext:openconfig-version "9.9.1";
28+
29+
revision "2025-04-18" {
30+
description
31+
"Clarification to usage of link-bandwidth-ext-community
32+
container under BGP use-multiple-paths`.";
33+
reference "9.9.1";
34+
}
35+
36+
revision "2025-03-30" {
37+
description
38+
"Add schema for auto-generated link-bandwidth extended community
39+
for learned routes.";
40+
reference "9.9.0";
41+
}
2842

2943
revision "2024-09-06" {
3044
description
@@ -642,7 +656,10 @@ submodule openconfig-bgp-common {
642656
"Multipath parameters for eBGP";
643657
container link-bandwidth-ext-community {
644658
description
645-
"Usage of DMZ Link-Bandwidth extended community";
659+
"Controlls if and how BGP Link-Bandwidth extended community
660+
affect the forwarding of traffic when multipath is enabled.
661+
It does not affect community value or propagation of the
662+
community over BGP sessions.";
646663
container config {
647664
description
648665
"Configuration parameters relating to usage of link-bandwidth";
@@ -673,7 +690,10 @@ submodule openconfig-bgp-common {
673690
"Multipath parameters for iBGP";
674691
container link-bandwidth-ext-community {
675692
description
676-
"Usage of DMZ Link-Bandwidth extended community";
693+
"Controlls if and how BGP Link-Bandwidth extended community
694+
affect the forwarding of traffic when multipath is enabled.
695+
It does not affect community value or propagation of the
696+
community over BGP sessions.";
677697
container config {
678698
description
679699
"Configuration parameters relating to usage of link-bandwidth";
@@ -703,18 +723,23 @@ submodule openconfig-bgp-common {
703723

704724
grouping bgp-common-use-multiple-paths-link-bandwidth-config {
705725
description
706-
"Parameters controlling usage of of DMZ Link-Bandwidth
707-
extended community in pultipath RIB/FIB formation";
726+
"Parameters controlling usage of Link-Bandwidth
727+
extended community in formation of next hops and next hop
728+
groups in cross-protocol, network-instance scoped, global RIB";
708729
leaf enabled {
709730
type boolean;
710731
description
711-
"When set to TRUE, BGP multiplepath shall distributed traffic
732+
"When set to TRUE, BGP multiple path shall distribute traffic
712733
load among contributing routes proportionally to value of
713734
Local Administrator subfield of link-bandwidth extended
714735
community [draft-ietf-idr-link-bandwidth-07].
715-
This leaf has no effect if BGP multi-path is disabled or
716-
if maximum-path attribute of BGP multi-path value is set
717-
to 1";
736+
When set to FALSE, BGP multipath shall distribute traffic
737+
load among contributing routes regardless of link-bandwidth value
738+
attached to routes contributing to multipath in the BGP Local-RIB.
739+
Load distribution could be equal or weighted base on other configuration
740+
not related to BGP multipath (e.g. ISIS with ECMP).
741+
This leaf has no effect if BGP multipath is disabled or if maximum-path
742+
attribute of BGP multipath maximum-path value is set to 1.";
718743
}
719744
}
720745

@@ -853,4 +878,46 @@ submodule openconfig-bgp-common {
853878
}
854879

855880

881+
grouping auto-gen-link-bandwidth-config {
882+
description
883+
"Grouping of parameters related to automatic generation of
884+
link-bandwidth extended community.";
885+
886+
leaf enabled {
887+
description
888+
"Append a link-bandwidth extended community for BGP routes that do not
889+
have link-bandwidth extended community attached.
890+
This configuration when present, MUST be supported in
891+
context of single-hop EBGP neighbor (with and without
892+
TTL security enabled). Implementation may support it
893+
in other reasonable contexts. Implementation shall not
894+
silently ignore this configuration. If present in not
895+
supported context, implementation shall reject
896+
configuration.";
897+
type boolean;
898+
default false;
899+
}
900+
901+
leaf hold-down-time {
902+
description
903+
"Suppress for a number of seconds changes in the link-bandwidth value
904+
when bandwidth increases. Every time bandwidth of link increases,
905+
it must remain constant for hold-down-time before it is reflected
906+
into link-bandwidth extended community of routes learned on this
907+
link.";
908+
type uint16;
909+
units seconds;
910+
}
911+
912+
leaf transitive {
913+
description
914+
"When leaf is set to TRUE, generate link-bandwidth extended community
915+
as a transitive type. When set to FALSE - generate as
916+
non-transitive. The non-transitive is default and matches
917+
original/earlier versions of IETF draft.";
918+
type boolean;
919+
default false;
920+
}
921+
}
922+
856923
}

release/models/bgp/openconfig-bgp-global.yang

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,21 @@ submodule openconfig-bgp-global {
2727
"This sub-module contains groupings that are specific to the
2828
global context of the OpenConfig BGP module";
2929

30-
oc-ext:openconfig-version "9.8.0";
30+
oc-ext:openconfig-version "9.9.1";
31+
32+
revision "2025-04-18" {
33+
description
34+
"Clarification to usage of link-bandwidth-ext-community
35+
container under BGP use-multiple-paths`.";
36+
reference "9.9.1";
37+
}
38+
39+
revision "2025-03-30" {
40+
description
41+
"Add schema for auto-generated link-bandwidth extended community
42+
for learned routes.";
43+
reference "9.9.0";
44+
}
3145

3246
revision "2024-09-06" {
3347
description

release/models/bgp/openconfig-bgp-neighbor.yang

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,21 @@ submodule openconfig-bgp-neighbor {
3030
"This sub-module contains groupings that are specific to the
3131
neighbor context of the OpenConfig BGP module.";
3232

33-
oc-ext:openconfig-version "9.8.0";
33+
oc-ext:openconfig-version "9.9.1";
34+
35+
revision "2025-04-18" {
36+
description
37+
"Clarification to usage of link-bandwidth-ext-community
38+
container under BGP use-multiple-paths`.";
39+
reference "9.9.1";
40+
}
41+
42+
revision "2025-03-30" {
43+
description
44+
"Add schema for auto-generated link-bandwidth extended community
45+
for learned routes.";
46+
reference "9.9.0";
47+
}
3448

3549
revision "2024-09-06" {
3650
description
@@ -853,6 +867,7 @@ submodule openconfig-bgp-neighbor {
853867
uses bgp-common-structure-neighbor-group-ebgp-multihop;
854868
uses bgp-common-structure-neighbor-group-route-reflector;
855869
uses bgp-common-structure-neighbor-group-as-path-options;
870+
uses bgp-common-structure-neighbor-group-auto-link-bandwidth;
856871
uses bgp-neighbor-use-multiple-paths;
857872
uses oc-rpol:apply-policy-group;
858873

release/models/bgp/openconfig-bgp-peer-group.yang

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,21 @@ submodule openconfig-bgp-peer-group {
2525
"This sub-module contains groupings that are specific to the
2626
peer-group context of the OpenConfig BGP module.";
2727

28-
oc-ext:openconfig-version "9.8.0";
28+
oc-ext:openconfig-version "9.9.1";
29+
30+
revision "2025-04-18" {
31+
description
32+
"Clarification to usage of link-bandwidth-ext-community
33+
container under BGP use-multiple-paths`.";
34+
reference "9.9.1";
35+
}
36+
37+
revision "2025-03-30" {
38+
description
39+
"Add schema for auto-generated link-bandwidth extended community
40+
for learned routes.";
41+
reference "9.9.0";
42+
}
2943

3044
revision "2024-09-06" {
3145
description
@@ -361,6 +375,7 @@ submodule openconfig-bgp-peer-group {
361375
uses bgp-common-structure-neighbor-group-ebgp-multihop;
362376
uses bgp-common-structure-neighbor-group-route-reflector;
363377
uses bgp-common-structure-neighbor-group-as-path-options;
378+
uses bgp-common-structure-neighbor-group-auto-link-bandwidth;
364379
uses bgp-common-global-group-use-multiple-paths;
365380
uses oc-rpol:apply-policy-group;
366381

release/models/bgp/openconfig-bgp.yang

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,21 @@ module openconfig-bgp {
6868
whereas leaf not present inherits its value from the leaf present
6969
at the next higher level in the hierarchy.";
7070

71-
oc-ext:openconfig-version "9.8.0";
71+
oc-ext:openconfig-version "9.9.1";
72+
73+
revision "2025-04-18" {
74+
description
75+
"Clarification to usage of link-bandwidth-ext-community
76+
container under BGP use-multiple-paths`.";
77+
reference "9.9.1";
78+
}
79+
80+
revision "2025-03-30" {
81+
description
82+
"Add schema for auto-generated link-bandwidth extended community
83+
for learned routes.";
84+
reference "9.9.0";
85+
}
7286

7387
revision "2024-09-06" {
7488
description

0 commit comments

Comments
 (0)