From 64506e9cca9630549e926a46805beda1cb2e4871 Mon Sep 17 00:00:00 2001
From: "Georgios P. Katsikas" <gkatsikas@ubitech.eu>
Date: Mon, 31 Mar 2025 10:54:15 +0000
Subject: [PATCH] fix: P4 ACL temporary configuration

---
 .../p4_fabric_tna_acl_service_handler.py        | 17 -----------------
 .../descriptors/service-create-acl.json         | 17 -----------------
 2 files changed, 34 deletions(-)

diff --git a/src/service/service/service_handlers/p4_fabric_tna_acl/p4_fabric_tna_acl_service_handler.py b/src/service/service/service_handlers/p4_fabric_tna_acl/p4_fabric_tna_acl_service_handler.py
index dc86dc535..53c4e7c86 100644
--- a/src/service/service/service_handlers/p4_fabric_tna_acl/p4_fabric_tna_acl_service_handler.py
+++ b/src/service/service/service_handlers/p4_fabric_tna_acl/p4_fabric_tna_acl_service_handler.py
@@ -344,23 +344,6 @@ class P4FabricACLServiceHandler(_ServiceHandler):
                 PORT_ID: 1,
                 TRN_PORT_DST: 8080,
                 ACTION: ACTION_DROP
-            },
-            {
-                PORT_ID: 2,
-                TRN_PORT_SRC: 12345,
-                ACTION: ACTION_DROP
-            },
-            {
-                PORT_ID: 2,
-                IPV4_DST: "10.158.72.11",
-                IPV4_PREFIX_LEN: 32,
-                ACTION: ACTION_DROP
-            },
-            {
-                PORT_ID: 2,
-                IPV4_SRC: "10.158.72.12",
-                IPV4_PREFIX_LEN: 32,
-                ACTION: ACTION_DROP
             }
         ]
 
diff --git a/src/tests/p4-fabric-tna/descriptors/service-create-acl.json b/src/tests/p4-fabric-tna/descriptors/service-create-acl.json
index 225e8e85e..a0383f472 100644
--- a/src/tests/p4-fabric-tna/descriptors/service-create-acl.json
+++ b/src/tests/p4-fabric-tna/descriptors/service-create-acl.json
@@ -33,23 +33,6 @@
                                                 "port_id": 1,
                                                 "trn_port_dst": 8080,
                                                 "action": "drop"
-                                            },
-                                            {
-                                                "port_id": 2,
-                                                "trn_port_src": 12345,
-                                                "action": "drop"
-                                            },
-                                            {
-                                                "port_id": 2,
-                                                "ipv4_dst": "10.158.72.11",
-                                                "ipv4_prefix_len": 32,
-                                                "action": "drop"
-                                            },
-                                            {
-                                                "port_id": 2,
-                                                "ipv4_src": "10.158.72.12",
-                                                "ipv4_prefix_len": 32,
-                                                "action": "drop"
                                             }
                                         ]
                                     }
-- 
GitLab