From f9e7e21714e6049f43ad7fe401e75d5a0a9316a6 Mon Sep 17 00:00:00 2001 From: PINS Working Group Date: Tue, 26 Oct 2021 23:33:00 -0700 Subject: [PATCH] [PINS] Add submit to ingress port to copp_cfg file Submission containing materials of a third party: Copyright Google LLC; Licensed under Apache 2.0 Co-authored-by: Glenn Connery Signed-off-by: Brian O'Connor --- files/image_config/copp/copp_cfg.j2 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/files/image_config/copp/copp_cfg.j2 b/files/image_config/copp/copp_cfg.j2 index c9b15c1279b5..66beceeafb41 100755 --- a/files/image_config/copp/copp_cfg.j2 +++ b/files/image_config/copp/copp_cfg.j2 @@ -13,7 +13,7 @@ "trap_priority":"4", "queue": "4" }, - "queue4_group2": { + "queue4_group2": { "trap_action":"copy", "trap_priority":"4", "queue": "4", @@ -60,7 +60,10 @@ "trap_action": "trap", "trap_priority": "1" - } + }{%- if include_p4rt == "y" %}, + "trap.group.send_to_ingress" : { + "submit_to_ingress_name" : "send_to_ingress" + }{% endif %} }, "COPP_TRAP": { "bgp": {