diff --git a/release/models/aft/openconfig-aft-common.yang b/release/models/aft/openconfig-aft-common.yang index b2c44dad6..f44153418 100644 --- a/release/models/aft/openconfig-aft-common.yang +++ b/release/models/aft/openconfig-aft-common.yang @@ -23,7 +23,15 @@ submodule openconfig-aft-common { "Submodule containing definitions of groupings that are re-used across multiple contexts within the AFT model."; - oc-ext:openconfig-version "2.3.0"; + oc-ext:openconfig-version "2.4.0"; + + revision "2023-05-25" { + description + "Add gre and mpls containers under next-hops aft entry state. + Add ttl and tos under gre, mpls and ip-in-ip aft entry state + for telemetry."; + reference "2.4.0"; + } revision "2023-04-19" { description @@ -204,6 +212,33 @@ submodule openconfig-aft-common { description "State parameters relating to IP-in-IP encapsulation."; uses aft-common-entry-nexthop-ipip-state; + uses aft-common-entry-nexthop-encap-outer-header-state; + } + } + + container gre { + description + "When specified, the packet has an GRE header applied to it before + forwarding to the specified next-hop."; + + container state { + config false; + description + "State parameters relating to GRE encapsulation."; + uses aft-common-entry-nexthop-encap-outer-header-state; + } + } + + container mpls { + description + "When specified, the packet has an MPLS header applied to it before + forwarding to the specified next-hop."; + + container state { + config false; + description + "State parameters relating to MPLS encapsulation."; + uses aft-common-entry-nexthop-encap-outer-header-state; } } @@ -379,6 +414,29 @@ submodule openconfig-aft-common { } } + grouping aft-common-entry-nexthop-encap-outer-header-state { + description + "Outer header fields of encapsulation applied on a next-hop"; + + leaf ttl { + type uint8; + description + "This leaf reflects the configured/default TTL value that is used in the + outer header during packet encapsulation. When this leaf is not set, + the TTL value of the inner packet is copied over as the outer packet's + TTL value during encapsulation."; + } + + leaf tos { + type uint8; + description + "This leaf reflects the configured/default TOS value that is used in the + outer header during packet encapsulation. When this leaf is not set, + the TOS value of the inner packet is copied over as the outer packet's + TOS value during encapsulation."; + } + } + grouping aft-common-install-protocol { description "Grouping for a common reference to the protocol which diff --git a/release/models/aft/openconfig-aft-ethernet.yang b/release/models/aft/openconfig-aft-ethernet.yang index d0b85dfc7..433a235e7 100644 --- a/release/models/aft/openconfig-aft-ethernet.yang +++ b/release/models/aft/openconfig-aft-ethernet.yang @@ -20,7 +20,15 @@ submodule openconfig-aft-ethernet { "Submodule containing definitions of groupings for the abstract forwarding tables for Ethernet."; - oc-ext:openconfig-version "2.3.0"; + oc-ext:openconfig-version "2.4.0"; + + revision "2023-05-25" { + description + "Add gre and mpls containers under next-hops aft entry state. + Add ttl and tos under gre, mpls and ip-in-ip aft entry state + for telemetry."; + reference "2.4.0"; + } revision "2023-04-19" { description diff --git a/release/models/aft/openconfig-aft-ipv4.yang b/release/models/aft/openconfig-aft-ipv4.yang index 04d4054c2..be777a21f 100644 --- a/release/models/aft/openconfig-aft-ipv4.yang +++ b/release/models/aft/openconfig-aft-ipv4.yang @@ -20,7 +20,15 @@ submodule openconfig-aft-ipv4 { "Submodule containing definitions of groupings for the abstract forwarding tables for IPv4."; - oc-ext:openconfig-version "2.3.0"; + oc-ext:openconfig-version "2.4.0"; + + revision "2023-05-25" { + description + "Add gre and mpls containers under next-hops aft entry state. + Add ttl and tos under gre, mpls and ip-in-ip aft entry state + for telemetry."; + reference "2.4.0"; + } revision "2023-04-19" { description diff --git a/release/models/aft/openconfig-aft-ipv6.yang b/release/models/aft/openconfig-aft-ipv6.yang index 6b6cd1937..07bb6b556 100644 --- a/release/models/aft/openconfig-aft-ipv6.yang +++ b/release/models/aft/openconfig-aft-ipv6.yang @@ -20,7 +20,15 @@ submodule openconfig-aft-ipv6 { "Submodule containing definitions of groupings for the abstract forwarding tables for IPv6."; - oc-ext:openconfig-version "2.3.0"; + oc-ext:openconfig-version "2.4.0"; + + revision "2023-05-25" { + description + "Add gre and mpls containers under next-hops aft entry state. + Add ttl and tos under gre, mpls and ip-in-ip aft entry state + for telemetry."; + reference "2.4.0"; + } revision "2023-04-19" { description diff --git a/release/models/aft/openconfig-aft-mpls.yang b/release/models/aft/openconfig-aft-mpls.yang index 4b4fd828c..0c4a03129 100644 --- a/release/models/aft/openconfig-aft-mpls.yang +++ b/release/models/aft/openconfig-aft-mpls.yang @@ -21,7 +21,15 @@ submodule openconfig-aft-mpls { "Submodule containing definitions of groupings for the abstract forwarding table for MPLS label forwarding."; - oc-ext:openconfig-version "2.3.0"; + oc-ext:openconfig-version "2.4.0"; + + revision "2023-05-25" { + description + "Add gre and mpls containers under next-hops aft entry state. + Add ttl and tos under gre, mpls and ip-in-ip aft entry state + for telemetry."; + reference "2.4.0"; + } revision "2023-04-19" { description diff --git a/release/models/aft/openconfig-aft-pf.yang b/release/models/aft/openconfig-aft-pf.yang index 85ee9d78f..5896ca58a 100644 --- a/release/models/aft/openconfig-aft-pf.yang +++ b/release/models/aft/openconfig-aft-pf.yang @@ -28,7 +28,15 @@ submodule openconfig-aft-pf { fields other than the destination address that is used in other forwarding tables."; - oc-ext:openconfig-version "2.3.0"; + oc-ext:openconfig-version "2.4.0"; + + revision "2023-05-25" { + description + "Add gre and mpls containers under next-hops aft entry state. + Add ttl and tos under gre, mpls and ip-in-ip aft entry state + for telemetry."; + reference "2.4.0"; + } revision "2023-04-19" { description diff --git a/release/models/aft/openconfig-aft-state-synced.yang b/release/models/aft/openconfig-aft-state-synced.yang index a20dd9257..73dd12290 100644 --- a/release/models/aft/openconfig-aft-state-synced.yang +++ b/release/models/aft/openconfig-aft-state-synced.yang @@ -16,7 +16,15 @@ submodule openconfig-aft-state-synced { "Submodule containing definitions of groupings for the state synced signals corresponding to various abstract forwarding tables."; - oc-ext:openconfig-version "2.3.0"; + oc-ext:openconfig-version "2.4.0"; + + revision "2023-05-25" { + description + "Add gre and mpls containers under next-hops aft entry state. + Add ttl and tos under gre, mpls and ip-in-ip aft entry state + for telemetry."; + reference "2.4.0"; + } revision "2023-04-19" { description diff --git a/release/models/aft/openconfig-aft.yang b/release/models/aft/openconfig-aft.yang index c204271de..d00b14453 100644 --- a/release/models/aft/openconfig-aft.yang +++ b/release/models/aft/openconfig-aft.yang @@ -42,7 +42,15 @@ module openconfig-aft { is referred to as an Abstract Forwarding Table (AFT), rather than the FIB."; - oc-ext:openconfig-version "2.3.0"; + oc-ext:openconfig-version "2.4.0"; + + revision "2023-05-25" { + description + "Add gre and mpls containers under next-hops aft entry state. + Add ttl and tos under gre, mpls and ip-in-ip aft entry state + for telemetry."; + reference "2.4.0"; + } revision "2023-04-19" { description