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>
This commit is contained in:

committed by
Fan Zhang

parent
75069cee95
commit
bc5f530599
@ -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
|
||||
|
Reference in New Issue
Block a user