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

Add config leaf for bgp allocate-vpn-label for L3VPN IPv[46] unicast address families #1001

Closed
wants to merge 5 commits into from
Closed
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
39 changes: 36 additions & 3 deletions release/models/bgp/openconfig-bgp-common-multiprotocol.yang
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-11-16" {
description
"Allow configuring VPN label allocation for received paths
to IPv4 and IPv6 Unicast L3VPN AFI-SAFI.";
reference "9.6.0";
}

revision "2023-11-01" {
description
Expand Down Expand Up @@ -580,8 +587,21 @@ submodule openconfig-bgp-common-multiprotocol {
"Common configuration applied across L3VPN for IPv4
and IPv6";

// placeholder -- specific configuration options that are generic
// across IPv[46] unicast address families.
// specific configuration options that are generic
// accross L3VPN IPv[46] unicast address families.
container config {
description
"Configuration parameters for L3VPN IPv[46] Unicast AFI-SAFI options";
uses bgp-common-mp-l3vpn-ipv4-ipv6-unicast-common-config;
}

container state {
config false;
description
"State information for L3VPN IPv[46] Unicast parameters";
uses bgp-common-mp-l3vpn-ipv4-ipv6-unicast-common-config;
}

uses bgp-common-mp-all-afi-safi-common;
}

Expand Down Expand Up @@ -706,4 +726,17 @@ submodule openconfig-bgp-common-multiprotocol {
"If set to true, send the default-route to the neighbor(s)";
}
}

grouping bgp-common-mp-l3vpn-ipv4-ipv6-unicast-common-config {
description
"Common configuration parameters for L3VPN IPv4 Unicast
and L3VPN IPv6 Unicast address families";

leaf allocate-vpn-label-received-paths {
type boolean;
description
"This leaf indicates whether the allocation of
locally computed VPN label is enabled for received VPN paths";
}
}
}
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-11-16" {
description
"Allow configuring VPN label allocation for received paths
to IPv4 and IPv6 Unicast L3VPN AFI-SAFI.";
reference "9.6.0";
}

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

revision "2023-11-16" {
description
"Allow configuring VPN label allocation for received paths
to IPv4 and IPv6 Unicast L3VPN AFI-SAFI.";
reference "9.6.0";
}

revision "2023-11-01" {
description
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-11-16" {
description
"Allow configuring VPN label allocation for received paths
to IPv4 and IPv6 Unicast L3VPN AFI-SAFI.";
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-11-16" {
description
"Allow configuring VPN label allocation for received paths
to IPv4 and IPv6 Unicast L3VPN AFI-SAFI.";
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-11-16" {
description
"Allow configuring VPN label allocation for received paths
to IPv4 and IPv6 Unicast L3VPN AFI-SAFI.";
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-11-16" {
description
"Allow configuring VPN label allocation for received paths
to IPv4 and IPv6 Unicast L3VPN AFI-SAFI.";
reference "9.6.0";
}

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