Skip to content

Commit

Permalink
Updated UDP enums related to openconfig-aft-types. (#1248)
Browse files Browse the repository at this point in the history
* Update encap-header type enum to include UDPV4 and UDPV6 enums 
* Deprecate the encap-header type enum "UDP"


Co-authored-by: Darren Loher <[email protected]>
  • Loading branch information
tengyiG and dplore authored Feb 6, 2025
1 parent 850e572 commit a172285
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions 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 "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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a172285

Please sign in to comment.