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 static GUE encapsulation #1234

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
16 changes: 15 additions & 1 deletion release/models/aft/openconfig-aft-types.yang
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ module openconfig-aft-types {
"Types related to the OpenConfig Abstract Forwarding
Table (AFT) model";

oc-ext:openconfig-version "1.2.0";
oc-ext:openconfig-version "1.3.0";

revision "2024-12-16" {
description
"Add static GUE encapsulation.";
reference "1.3.0";
}

revision "2024-07-18" {
description
Expand Down Expand Up @@ -99,6 +105,14 @@ module openconfig-aft-types {
description
"The encapsulation header is UDP packet header.";
}
enum UDPV4 {
description
"The encapsulation header is UDP packet header followed by IPv4 packet header.";
}
enum UDPV6 {
description
"The encapsulation header is UDP packet header followed by IPv6 packet header.";
}
}
description
"Types of tunnel encapsulation that are supported by systems as either
Expand Down
41 changes: 40 additions & 1 deletion release/models/local-routing/openconfig-local-routing.yang
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ module openconfig-local-routing {
protocol-specific policy after importing the route into the
protocol for distribution (again via routing policy).";

oc-ext:openconfig-version "2.0.1";
oc-ext:openconfig-version "2.1.0";

revision "2024-12-16" {
description
"Add static GUE encapsulation.";
reference "2.1.0";
}

revision "2022-11-01" {
description
Expand Down Expand Up @@ -298,6 +304,23 @@ module openconfig-local-routing {
uses local-static-state;
}

container next-hop-group {
description
"Configuration and state parameters relating to the
next-hop-group.";
container config {
description
"Configuration parameters relating to the next-hop-group.";
uses next-hop-group-config;
}
container state {
config false;
description
"Operational parameters relating to the next-hop-group.";
uses next-hop-group-config;
}
}

container next-hops {
description
"Configuration and state parameters relating to the
Expand Down Expand Up @@ -425,4 +448,20 @@ module openconfig-local-routing {
}
}

grouping next-hop-group-config {
description
"Enclosing container for next-hop-group.";
leaf id {
type leafref {
path "/network-instances/network-instance/next-hop-groups/next-hop-group/name";
}
description
"The next-hop-group that is to be used for the static route.
When this leaf is not set, and the interface-ref
value is specified for the next-hop, then the system should
treat the prefix as though it is directly connected to the
interface.";
}
}

}
Loading
Loading