Skip to content

Commit

Permalink
Add static GUE encapsulation
Browse files Browse the repository at this point in the history
  • Loading branch information
danameme committed Dec 17, 2024
1 parent f01a86d commit 1f61636
Show file tree
Hide file tree
Showing 4 changed files with 704 additions and 3 deletions.
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

0 comments on commit 1f61636

Please sign in to comment.