From 40f7c6a5c1df91f5faf29ab69487b09b8afba119 Mon Sep 17 00:00:00 2001 From: vishnureddybadveli <112267356+vishnureddybadveli@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:03:06 -0800 Subject: [PATCH 1/2] Adding enum to specifiy policy forwarding behaviour in case of decapsulate a packet --- .../policy-forwarding/openconfig-pf-forwarding-policies.yang | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/release/models/policy-forwarding/openconfig-pf-forwarding-policies.yang b/release/models/policy-forwarding/openconfig-pf-forwarding-policies.yang index 9485ab3c4..0a4029a2f 100644 --- a/release/models/policy-forwarding/openconfig-pf-forwarding-policies.yang +++ b/release/models/policy-forwarding/openconfig-pf-forwarding-policies.yang @@ -214,6 +214,11 @@ submodule openconfig-pf-forwarding-policies { "The policy is used only to classify incoming packets into corresponding network instances."; } + enum HW_LOOKUP_POLICY { + description + "The policy reflects how to decapsulate a packet and + forward inner packet before or after HW look up ."; + } } default PBR_POLICY; description From dd27719bc20febc675b9e295e83dd71c90b2b77e Mon Sep 17 00:00:00 2001 From: vishnureddybadveli <112267356+vishnureddybadveli@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:01:26 -0800 Subject: [PATCH 2/2] Update openconfig-pf-forwarding-policies.yang with revision number Bump up revision number after adding leaf to policy forwarding for forwarding inner packet before or after HW look up. --- .../openconfig-pf-forwarding-policies.yang | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/release/models/policy-forwarding/openconfig-pf-forwarding-policies.yang b/release/models/policy-forwarding/openconfig-pf-forwarding-policies.yang index 0a4029a2f..eb230bfcc 100644 --- a/release/models/policy-forwarding/openconfig-pf-forwarding-policies.yang +++ b/release/models/policy-forwarding/openconfig-pf-forwarding-policies.yang @@ -21,8 +21,15 @@ submodule openconfig-pf-forwarding-policies { "This submodule contains configuration and operational state relating to the definition of policy-forwarding policies."; - oc-ext:openconfig-version "0.6.1"; + oc-ext:openconfig-version "0.6.2"; + revision "2023-11-12" { + description + "Add support for forwarding inner packet before or after + HW look up."; + reference "0.6.2"; + } + revision "2023-04-25" { description "Clarify use of interface-ref.";