Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.9.1";
oc-ext:openconfig-version "9.10.0";

revision "2026-04-27" {
description
"Add schema for BGP Confederation member-ASN ranges and
loose-path-validation.";
reference "9.10.0";
}

revision "2025-04-18" {
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.9.1";
oc-ext:openconfig-version "9.10.0";

revision "2026-04-27" {
description
"Add schema for BGP Confederation member-ASN ranges and
loose-path-validation.";
reference "9.10.0";
}

revision "2025-04-18" {
description
Expand Down
9 changes: 8 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.9.1";
oc-ext:openconfig-version "9.10.0";

revision "2026-04-27" {
description
"Add schema for BGP Confederation member-ASN ranges and
loose-path-validation.";
reference "9.10.0";
}

revision "2025-04-18" {
description
Expand Down
94 changes: 92 additions & 2 deletions 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.9.1";
oc-ext:openconfig-version "9.10.0";

revision "2026-04-27" {
description
"Add schema for BGP Confederation member-ASN ranges and
loose-path-validation.";
reference "9.10.0";
}

revision "2025-04-18" {
description
Expand Down Expand Up @@ -57,7 +64,7 @@ submodule openconfig-bgp-global {

revision "2023-12-28" {
description
"Add support for controling use of link-bandwidth extended
"Add support for controlling use of link-bandwidth extended
community for BGP multipath.";
reference "9.7.0";
}
Expand Down Expand Up @@ -272,6 +279,27 @@ submodule openconfig-bgp-global {
}
}

grouping member-as-range-config {
description "Grouping of member-AS-range configurable
attributes";

leaf first-asn {
type oc-inet:as-number;
description
"Lowest AS number included in this range";

}

leaf last-asn {
type oc-inet:as-number;
must ". >= ../first-asn" {
error-message "The last-asn must be greater than or equal to the first-asn.";
}
description
"Highest AS number included in this range";
}
Comment thread
rszarecki marked this conversation as resolved.
}

grouping bgp-global-confederation-config {
description
"Configuration options specifying parameters when the local
Expand All @@ -292,6 +320,26 @@ submodule openconfig-bgp-global {
"Remote autonomous systems that are to be treated
as part of the local confederation.";
}

leaf loose-path-validation {
type boolean;
description
"When set to FALSE, presence of ASN not listed in
member-as or member-as-range in BGP_CONFEDERATION_SEQUENCE
object of AS_PATH could be recognized as malformed path
attribute. This behaviour is not mandated or suggested
by RFC5065.

When set to TRUE, in scenario described above the BGP
AS_PATH attribute must be considered a valid path attribute.
This behaviour is fully compliant with RFC5065.
If an implementation supports peer-ASN (leftmost) validation
in AS_PATH against peer-ASN negotiated in OPEN message,
the loose-path-validation set to TRUE does not relax this
validation.";
}
Comment thread
rszarecki marked this conversation as resolved.


}

grouping bgp-global-dynamic-neighbors {
Expand Down Expand Up @@ -504,6 +552,48 @@ submodule openconfig-bgp-global {
"State information relating to the BGP confederations";
uses bgp-global-confederation-config;
}

container member-as-ranges {
description
"The configuration of continuous member-ASN ranges
constituting this confederation.";

list member-as-range {
key "first-asn last-asn";

description
"Range of member-ASN belonging to this confederation
";
leaf first-asn {
type leafref {
path "../config/first-asn";
}
description
"Lowest AS number included in this range";
}
leaf last-asn {
type leafref {
path "../config/last-asn";
}
description
"Highest AS number included in this range";

}
container config {
description "Configuration container for Member-AS
range";

uses member-as-range-config;
}
container state {
config false;
description "State container for Member-AS
range";

uses member-as-range-config;
}
}
}
}

container graceful-restart {
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.9.1";
oc-ext:openconfig-version "9.10.0";

revision "2026-04-27" {
description
"Add schema for BGP Confederation member-ASN ranges and
loose-path-validation.";
reference "9.10.0";
}

revision "2025-04-18" {
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.9.1";
oc-ext:openconfig-version "9.10.0";

revision "2026-04-27" {
description
"Add schema for BGP Confederation member-ASN ranges and
loose-path-validation.";
reference "9.10.0";
}

revision "2025-04-18" {
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.9.1";
oc-ext:openconfig-version "9.10.0";

revision "2026-04-27" {
description
"Add schema for BGP Confederation member-ASN ranges and
loose-path-validation.";
reference "9.10.0";
}

revision "2025-04-18" {
description
Expand Down
Loading