From bc5f5305997e3b8f624b64bcc2d68687f31d515a Mon Sep 17 00:00:00 2001 From: vinay Tripathi Date: Fri, 20 Oct 2023 05:20:47 +0000 Subject: 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 --- test/test_ipsec_spd_fp_input.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_ipsec_spd_fp_input.py') 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 -- cgit 1.2.3-korg