From a1722856e7e576484eaebd43129269c5298f81b9 Mon Sep 17 00:00:00 2001 From: tengyiG Date: Thu, 6 Feb 2025 21:45:35 +0000 Subject: [PATCH] Updated UDP enums related to openconfig-aft-types. (#1248) * Update encap-header type enum to include UDPV4 and UDPV6 enums * Deprecate the encap-header type enum "UDP" Co-authored-by: Darren Loher --- release/models/aft/openconfig-aft-types.yang | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/release/models/aft/openconfig-aft-types.yang b/release/models/aft/openconfig-aft-types.yang index 56d920b5f..4594d4aa0 100644 --- a/release/models/aft/openconfig-aft-types.yang +++ b/release/models/aft/openconfig-aft-types.yang @@ -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 "2025-01-28" { + description + "Deprecated UDP enum and replaced it by more fine-grained enums UDPV4 and UDPV6."; + reference "1.3.0"; + } revision "2024-07-18" { description @@ -97,7 +103,16 @@ module openconfig-aft-types { } enum UDP { description - "The encapsulation header is UDP packet header."; + "DEPRECATED. The encapsulation header is UDP packet header. This node + is deprecated in favor of UDPV4 and UDPV6 nodes."; + } + enum UDPV4 { + description + "The encapsulation header is a UDP + IPv4 header."; + } + enum UDPV6 { + description + "The encapsulation header is a UDP + IPv6 header."; } } description