2.47. test_ipsec_esp module¶
-
class
test_ipsec_esp.
TemplateIpsecEsp
(methodName='runTest')¶ Bases:
template_ipsec.TemplateIpsec
Basic test for ipsec esp sanity - tunnel and transport modes.
Below 4 cases are covered as part of this test 1) ipsec esp v4 transport basic test - IPv4 Transport mode
scenario using HMAC-SHA1-96 intergrity algo- ipsec esp v4 transport burst test
- Above test for 257 pkts
- ipsec esp 4o4 tunnel basic test - IPv4 Tunnel mode
- scenario using HMAC-SHA1-96 intergrity algo
- ipsec esp 4o4 tunnel burst test
- Above test for 257 pkts
TRANSPORT MODE:
— encrypt —TUNNEL MODE:
— encrypt — plain —Note : IPv6 is not covered
-
classmethod
config_esp_tra
()¶
-
classmethod
config_esp_tun
()¶
-
encryption_type
¶ alias of
scapy.layers.ipsec.ESP
-
classmethod
setUpClass
()¶ Perform class setup before running the testcase Remove shared memory files, start vpp and connect the vpp-api
-
class
test_ipsec_esp.
TestIpsecEsp1
(methodName='runTest')¶ Bases:
test_ipsec_esp.TemplateIpsecEsp
,template_ipsec.IpsecTraTests
,template_ipsec.IpsecTunTests
Ipsec ESP - TUN & TRA tests
-
class
test_ipsec_esp.
TestIpsecEsp2
(methodName='runTest')¶ Bases:
test_ipsec_esp.TemplateIpsecEsp
,template_ipsec.IpsecTcpTests
Ipsec ESP - TCP tests