summaryrefslogtreecommitdiffstats
path: root/test/test_ipsec_spd_fp_input.py
diff options
context:
space:
mode:
authorvinay Tripathi <vinayx.tripathi@intel.com>2023-10-20 05:20:47 +0000
committerFan Zhang <fanzhang.oss@gmail.com>2023-10-31 10:33:13 +0000
commitbc5f5305997e3b8f624b64bcc2d68687f31d515a (patch)
treed7fe0ff7b8881d26936568696353a9ff98faecfc /test/test_ipsec_spd_fp_input.py
parent75069cee95039172e8d2a3af58e4a8ed0a411d3a (diff)
ipsec: modify IPsec related tests to send and verify UDP-encapsulated ESP traffics
In this patch, IPsec related test files have been modified to send UDP-encapsulated ESP packets,and validate against Inbound and Outbound policies that are configured with Bypass, Discard and Protect action. Type: test Change-Id: I4b8da18270fd177868223bfe1389dc9c50e86cc5 Signed-off-by: vinay Tripathi <vinayx.tripathi@intel.com>
Diffstat (limited to 'test/test_ipsec_spd_fp_input.py')
-rw-r--r--test/test_ipsec_spd_fp_input.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_ipsec_spd_fp_input.py b/test/test_ipsec_spd_fp_input.py
index d70623ef2ea..03800325f05 100644
--- a/test/test_ipsec_spd_fp_input.py
+++ b/test/test_ipsec_spd_fp_input.py
@@ -4,9 +4,9 @@ import ipaddress
from util import ppp
from framework import VppTestRunner
-from template_ipsec import IPSecIPv4Fwd
from template_ipsec import IPSecIPv6Fwd
from test_ipsec_esp import TemplateIpsecEsp
+from template_ipsec import SpdFastPathTemplate
def debug_signal_handler(signal, frame):
@@ -20,7 +20,7 @@ import signal
signal.signal(signal.SIGINT, debug_signal_handler)
-class SpdFastPathInbound(IPSecIPv4Fwd):
+class SpdFastPathInbound(SpdFastPathTemplate):
# In test cases derived from this class, packets in IPv4 FWD path
# are configured to go through IPSec inbound SPD policy lookup.
# Note that order in which the rules are applied is