2.46. test_ipsec_ah module¶
-
class
test_ipsec_ah.
TemplateIpsecAh
(methodName='runTest')¶ Bases:
template_ipsec.TemplateIpsec
Basic test for IPSEC using AH transport and Tunnel mode
Below 4 cases are covered as part of this test 1) ipsec ah v4 transport basic test - IPv4 Transport mode
scenario using HMAC-SHA1-96 intergrity algo- ipsec ah v4 transport burst test
Above test for 257 pkts- ipsec ah 4o4 tunnel basic test - IPv4 Tunnel mode
scenario using HMAC-SHA1-96 intergrity algo- ipsec ah 4o4 tunnel burst test
Above test for 257 pktsTRANSPORT MODE:
— encrypt —TUNNEL MODE:
— encrypt — plain —Note : IPv6 is not covered
-
classmethod
config_ah_tra
()¶
-
classmethod
config_ah_tun
()¶
-
encryption_type
¶ alias of
scapy.layers.ipsec.AH
-
classmethod
setUpClass
()¶ Perform class setup before running the testcase Remove shared memory files, start vpp and connect the vpp-api
-
tearDown
()¶ Show various debug prints after each test
-
class
test_ipsec_ah.
TestIpsecAh1
(methodName='runTest')¶ Bases:
test_ipsec_ah.TemplateIpsecAh
,template_ipsec.IpsecTraTests
,template_ipsec.IpsecTunTests
Ipsec AH - TUN & TRA tests
-
class
test_ipsec_ah.
TestIpsecAh2
(methodName='runTest')¶ Bases:
test_ipsec_ah.TemplateIpsecAh
,template_ipsec.IpsecTcpTests
Ipsec AH - TCP tests