From 4cadeb2c477cfa0256172e00f2d2c4abf900e0ad Mon Sep 17 00:00:00 2001 From: Ebben Aries Date: Fri, 20 Mar 2026 08:38:57 -0700 Subject: [PATCH 1/2] Deprecate source/destination flow-label and add single flow-label leaf * (M) release/models/acl/openconfig-packet-match.yang - Deprecate source-flow-label and destination-flow-label - Add flow-label leaf to ipv6-protocol-fields-config grouping - Bump openconfig-version to 2.4.0 --- .../models/acl/openconfig-packet-match.yang | 29 +++++++++++++++++-- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/release/models/acl/openconfig-packet-match.yang b/release/models/acl/openconfig-packet-match.yang index 2020711b3..7dc9f3e5f 100644 --- a/release/models/acl/openconfig-packet-match.yang +++ b/release/models/acl/openconfig-packet-match.yang @@ -31,7 +31,14 @@ module openconfig-packet-match { wildcard ('any') for that field."; - oc-ext:openconfig-version "2.3.0"; + oc-ext:openconfig-version "2.4.0"; + + revision "2026-05-11" { + description + "Deprecate source/destination flow-label definitions and replace + with single IPv6 flow-label leaf."; + reference "2.4.0"; + } revision "2026-03-25" { description @@ -416,8 +423,13 @@ module openconfig-packet-match { leaf source-flow-label { type oc-inet:ipv6-flow-label; + status deprecated; description - "Source IPv6 Flow label."; + "Source IPv6 Flow label. + + Deprecated: use flow-label instead. The IPv6 header contains a + single flow-label field; there is no distinct source or + destination flow-label."; } leaf destination-address { @@ -437,9 +449,20 @@ module openconfig-packet-match { } leaf destination-flow-label { + type oc-inet:ipv6-flow-label; + status deprecated; + description + "Destination IPv6 Flow label. + + Deprecated: use flow-label instead. The IPv6 header contains a + single flow-label field; there is no distinct source or + destination flow-label."; + } + + leaf flow-label { type oc-inet:ipv6-flow-label; description - "Destination IPv6 Flow label."; + "IPv6 Flow label."; } uses ip-protocol-fields-common-config; From dd8ed37b9738cfc77f4edbe7de3f6190d0b39aac Mon Sep 17 00:00:00 2001 From: Ebben Aries Date: Mon, 11 May 2026 18:10:01 -0600 Subject: [PATCH 2/2] Address gemini comments --- release/models/acl/openconfig-packet-match.yang | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/release/models/acl/openconfig-packet-match.yang b/release/models/acl/openconfig-packet-match.yang index 7dc9f3e5f..baec79969 100644 --- a/release/models/acl/openconfig-packet-match.yang +++ b/release/models/acl/openconfig-packet-match.yang @@ -425,9 +425,7 @@ module openconfig-packet-match { type oc-inet:ipv6-flow-label; status deprecated; description - "Source IPv6 Flow label. - - Deprecated: use flow-label instead. The IPv6 header contains a + "Deprecated: use flow-label instead. The IPv6 header contains a single flow-label field; there is no distinct source or destination flow-label."; } @@ -452,9 +450,7 @@ module openconfig-packet-match { type oc-inet:ipv6-flow-label; status deprecated; description - "Destination IPv6 Flow label. - - Deprecated: use flow-label instead. The IPv6 header contains a + "Deprecated: use flow-label instead. The IPv6 header contains a single flow-label field; there is no distinct source or destination flow-label."; }