Skip to content
Open
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 @@ -11,6 +11,7 @@ module openconfig-network-instance-static {
import openconfig-aft { prefix "oc-aft"; }
import openconfig-aft-types { prefix "oc-aftt"; }
import openconfig-local-routing { prefix "oc-loc-rt"; }
import openconfig-inet-types { prefix "oc-inet"; }

// meta
organization "OpenConfig working group";
Expand All @@ -22,7 +23,13 @@ module openconfig-network-instance-static {
description
"Static configurations associated with a network instance";

oc-ext:openconfig-version "0.2.1";
oc-ext:openconfig-version "0.3.0";

revision "2026-07-07" {
description
"Add a global encapsulation header template for static next-hops.";
reference "0.3.0";
}

revision "2025-08-05" {
description
Expand Down Expand Up @@ -56,6 +63,12 @@ module openconfig-network-instance-static {
statically configured next hop group";
}

uses static-encap-header-template-top {
description
"Configuration and state parameters relating to the global
encapsulation header template.";
}

uses static-next-hops-top {
description
"Configuration and state parameters relating to
Expand Down Expand Up @@ -151,6 +164,61 @@ module openconfig-network-instance-static {
}
}

grouping static-encap-header-template-top {
description
"Logical grouping for the global encapsulation header template.";

container encap-header-template {
description
"Surrounding container for the global encapsulation header template.";

container config {
description
"Configuration parameters relating to the encapsulation header
template.";

uses static-encap-header-template;
}

container state {
config false;
description
"State parameters relating to the encapsulation header template.";

uses static-encap-header-template;
}
}
}

grouping static-encap-header-template {
description
"Configuration parameters for the global encapsulation header
template.";

leaf ipv4-dst-udp-port {
type oc-inet:port-number;
description
"Destination UDP port to use when the encapsulated payload is an
IPv4 packet.";
}

leaf ipv6-dst-udp-port {
type oc-inet:port-number;
description
"Destination UDP port to use when the encapsulated payload is an
IPv6 packet.";
}

leaf mpls-dst-udp-port {
type oc-inet:port-number;
description
"Destination UDP port to use when the encapsulated payload is an
MPLS packet.";
reference
"RFC 7510: Encapsulating MPLS in UDP";
}
Comment thread
tasaleh marked this conversation as resolved.
}

grouping static-nhg-next-hop {
description
"Configuration parameters relating to an individual next-hop
Expand Down