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

Updates to the ES model to allow the configuration of an ES-import route target #1109

Merged
Merged
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 @@ -8,6 +8,7 @@ module openconfig-ethernet-segments {

import openconfig-extensions { prefix oc-ext; }
import openconfig-interfaces { prefix oc-if; }
import openconfig-yang-types { prefix oc-yang-types; }
import openconfig-evpn-types { prefix oc-evpn-types; }

// meta
Expand All @@ -23,7 +24,13 @@ module openconfig-ethernet-segments {
The ethernet segments are used in EVPN services are
defined for the whole device";

oc-ext:openconfig-version "0.1.0";
oc-ext:openconfig-version "0.2.0";

revision "2024-09-06" {
description
"Added ability to configure an explicit es-import-route-target for an ES";
reference "0.2.0";
}

revision "2021-06-28" {
description
Expand Down Expand Up @@ -199,6 +206,17 @@ grouping evpn-ethernet-segment-df-config {
"RFC 7432: BGP MPLS-Based Ethernet VPN";
}

leaf es-import-route-target {
type oc-yang-types:mac-address;
description
"Received ES routes with an ES-Import extended community set to this value
are imported into this ethernet segment. When configured by a user, the
es-import-route-target will be used, otherwise the system automatically
derives the value used by following the procedures in RFC 7432 Section 7.6.";
reference
"RFC 7432: BGP MPLS-Based Ethernet VPN Section 7.6";
}

uses oc-if:interface-ref-common;
}

Expand Down Expand Up @@ -247,4 +265,4 @@ grouping evpn-ethernet-segment-df-config {

uses evpn-ethernet-segment-top;

}
}
Loading