2.71. test_ipsec_tun_if_esp module¶
- class test_ipsec_tun_if_esp.TemplateIpsec4TunIfEsp(methodName='runTest')¶
Bases:
test_ipsec_tun_if_esp.TemplateIpsec4TunProtect,template_ipsec.TemplateIpsecIPsec tunnel interface tests
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- setUp()¶
Clear trace before running each test
- 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
- classmethod tearDownClass()¶
Perform final cleanup after running all tests in this test-case
- class test_ipsec_tun_if_esp.TemplateIpsec4TunIfEspUdp(methodName='runTest')¶
Bases:
test_ipsec_tun_if_esp.TemplateIpsec4TunProtect,template_ipsec.TemplateIpsecIPsec UDP tunnel interface tests
- config_sa_tra(p)¶
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- setUp()¶
Clear trace before running each test
- 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
- classmethod tearDownClass()¶
Perform final cleanup after running all tests in this test-case
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- verify_encrypted(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TemplateIpsec4TunProtect¶
Bases:
objectIPsec IPv4 Tunnel protect
- config_network(p)¶
- config_protect(p)¶
- config_sa_tra(p)¶
- config_sa_tun(p)¶
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- tun4_input_node = 'ipsec4-tun-input'¶
- unconfig_network(p)¶
- unconfig_protect(p)¶
- unconfig_sa(p)¶
- class test_ipsec_tun_if_esp.TemplateIpsec6TunIfEsp(methodName='runTest')¶
Bases:
test_ipsec_tun_if_esp.TemplateIpsec6TunProtect,template_ipsec.TemplateIpsecIPsec tunnel interface tests
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- class test_ipsec_tun_if_esp.TemplateIpsec6TunProtect¶
Bases:
objectIPsec IPv6 Tunnel protect
- config_network(p)¶
- config_protect(p)¶
- config_sa_tra(p)¶
- config_sa_tun(p)¶
- unconfig_network(p)¶
- unconfig_protect(p)¶
- unconfig_sa(p)¶
- class test_ipsec_tun_if_esp.TemplateIpsecItf4¶
Bases:
objectIPsec Interface IPv4
- config_network(p, instance=4294967295)¶
- config_protect(p)¶
- config_sa_tun(p, src, dst)¶
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- tun4_input_node = 'ipsec4-tun-input'¶
- unconfig_network(p)¶
- unconfig_protect(p)¶
- unconfig_sa(p)¶
- class test_ipsec_tun_if_esp.TemplateIpsecItf6¶
Bases:
objectIPsec Interface IPv6
- config_network(p)¶
- config_protect(p)¶
- config_sa_tun(p, src, dst)¶
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- tun6_decrypt_node_name = ['esp6-decrypt-tun', 'esp6-decrypt-tun-post']¶
- tun6_encrypt_node_name = 'esp6-encrypt-tun'¶
- tun6_input_node = 'ipsec6-tun-input'¶
- unconfig_network(p)¶
- unconfig_protect(p)¶
- unconfig_sa(p)¶
- class test_ipsec_tun_if_esp.TestIpsec4MultiTunIfEsp(methodName='runTest')¶
Bases:
test_ipsec_tun_if_esp.TemplateIpsec4TunProtect,template_ipsec.TemplateIpsec,template_ipsec.IpsecTun4IPsec IPv4 Multi Tunnel interface
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tags = [<TestCaseTag.FIXME_VPP_WORKERS: 2>]¶
- test_tun_44()¶
Multiple IPSEC tunnel interfaces
- test_tun_rr_44()¶
Round-robin packets acrros multiple interface
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- class test_ipsec_tun_if_esp.TestIpsec4TunIfEsp1(methodName='runTest')¶
Bases:
test_ipsec_tun_if_esp.TemplateIpsec4TunIfEsp,template_ipsec.IpsecTun4TestsIpsec ESP - TUN tests
- test_tun_basic64()¶
ipsec 6o4 tunnel basic test
- test_tun_basic_frag44()¶
ipsec 4o4 tunnel frag basic test
- test_tun_burst64()¶
ipsec 6o4 tunnel basic test
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- class test_ipsec_tun_if_esp.TestIpsec4TunIfEsp2(methodName='runTest')¶
Bases:
test_ipsec_tun_if_esp.TemplateIpsec4TunIfEsp,template_ipsec.IpsecTcpTestsIpsec ESP - TCP tests
- class test_ipsec_tun_if_esp.TestIpsec4TunIfEspAll(methodName='runTest')¶
Bases:
test_ipsec_tun_if_esp.TemplateIpsec4TunProtect,template_ipsec.TemplateIpsec,template_ipsec.IpsecTun4IPsec IPv4 Tunnel interface all Algos
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- rekey(p)¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tun_44()¶
IPSEC tunnel all algos
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- class test_ipsec_tun_if_esp.TestIpsec4TunIfEspHandoff(methodName='runTest')¶
Bases:
test_ipsec_tun_if_esp.TemplateIpsec4TunIfEsp,template_ipsec.IpsecTun4HandoffTestsIpsec ESP 4 Handoff tests
- test_tun_handoff_44_police()¶
ESP 4o4 tunnel with policer worker hand-off test
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- class test_ipsec_tun_if_esp.TestIpsec4TunIfEspNoAlgo(methodName='runTest')¶
Bases:
test_ipsec_tun_if_esp.TemplateIpsec4TunProtect,template_ipsec.TemplateIpsec,template_ipsec.IpsecTun4IPsec IPv4 Tunnel interface no Algos
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tun_44()¶
IPSec SA with NULL algos
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- class test_ipsec_tun_if_esp.TestIpsec4TunIfEspUdp(methodName='runTest')¶
Bases:
test_ipsec_tun_if_esp.TemplateIpsec4TunIfEspUdp,template_ipsec.IpsecTun4TestsIpsec ESP UDP tests
- setUp()¶
Clear trace before running each test
- test_keepalive()¶
IPSEC NAT Keepalive
- tun4_input_node = 'ipsec4-tun-input'¶
- class test_ipsec_tun_if_esp.TestIpsec4TunIfEspUdpGCM(methodName='runTest')¶
Bases:
test_ipsec_tun_if_esp.TemplateIpsec4TunIfEspUdp,template_ipsec.IpsecTun4TestsIpsec ESP UDP GCM tests
- setUp()¶
Clear trace before running each test
- tun4_input_node = 'ipsec4-tun-input'¶
- class test_ipsec_tun_if_esp.TestIpsec4TunProtect(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,test_ipsec_tun_if_esp.TemplateIpsec4TunProtect,template_ipsec.IpsecTun4IPsec IPv4 Tunnel protect - transport mode
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tags = [<TestCaseTag.FIXME_VPP_WORKERS: 2>]¶
- test_tun_44()¶
IPSEC tunnel protect
- class test_ipsec_tun_if_esp.TestIpsec4TunProtectTun(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,test_ipsec_tun_if_esp.TemplateIpsec4TunProtect,template_ipsec.IpsecTun4IPsec IPv4 Tunnel protect - tunnel mode
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- gen_encrypt_pkts(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- gen_pkts(sw_intf, src, dst, count=1, payload_size=100)¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tags = [<TestCaseTag.FIXME_VPP_WORKERS: 2>]¶
- test_tun_44()¶
IPSEC tunnel protect
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- verify_decrypted(p, rxs)¶
- verify_encrypted(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TestIpsec4TunProtectTunDrop(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,test_ipsec_tun_if_esp.TemplateIpsec4TunProtect,template_ipsec.IpsecTun4IPsec IPv4 Tunnel protect - tunnel mode - drop
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- gen_encrypt_pkts(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tun_drop_44()¶
IPSEC tunnel protect bogus tunnel header
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- class test_ipsec_tun_if_esp.TestIpsec4TunProtectUdp(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,test_ipsec_tun_if_esp.TemplateIpsec4TunProtect,template_ipsec.IpsecTun4IPsec IPv4 Tunnel protect - transport mode
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_keepalive()¶
IPSEC NAT Keepalive
- test_tags = [<TestCaseTag.FIXME_VPP_WORKERS: 2>]¶
- test_tun_44()¶
IPSEC UDP tunnel protect
- verify_encrypted(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TestIpsec6MultiTunIfEsp(methodName='runTest')¶
Bases:
test_ipsec_tun_if_esp.TemplateIpsec6TunProtect,template_ipsec.TemplateIpsec,template_ipsec.IpsecTun6IPsec IPv6 Multi Tunnel interface
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tags = [<TestCaseTag.FIXME_VPP_WORKERS: 2>]¶
- test_tun_66()¶
Multiple IPSEC tunnel interfaces
- tun6_decrypt_node_name = ['esp6-decrypt-tun', 'esp6-decrypt-tun-post']¶
- tun6_encrypt_node_name = 'esp6-encrypt-tun'¶
- class test_ipsec_tun_if_esp.TestIpsec6TunIfEsp1(methodName='runTest')¶
Bases:
test_ipsec_tun_if_esp.TemplateIpsec6TunIfEsp,template_ipsec.IpsecTun6TestsIpsec ESP - TUN tests
- test_tun_basic46()¶
ipsec 4o6 tunnel basic test
- test_tun_burst46()¶
ipsec 4o6 tunnel burst test
- tun6_decrypt_node_name = ['esp6-decrypt-tun', 'esp6-decrypt-tun-post']¶
- tun6_encrypt_node_name = 'esp6-encrypt-tun'¶
- class test_ipsec_tun_if_esp.TestIpsec6TunIfEspHandoff(methodName='runTest')¶
Bases:
test_ipsec_tun_if_esp.TemplateIpsec6TunIfEsp,template_ipsec.IpsecTun6HandoffTestsIpsec ESP 6 Handoff tests
- test_tun_handoff_66_police()¶
ESP 6o6 tunnel with policer worker hand-off test
- tun6_decrypt_node_name = ['esp6-decrypt-tun', 'esp6-decrypt-tun-post']¶
- tun6_encrypt_node_name = 'esp6-encrypt-tun'¶
- class test_ipsec_tun_if_esp.TestIpsec6TunProtect(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,test_ipsec_tun_if_esp.TemplateIpsec6TunProtect,template_ipsec.IpsecTun6IPsec IPv6 Tunnel protect - transport mode
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tags = [<TestCaseTag.FIXME_VPP_WORKERS: 2>]¶
- test_tun_46()¶
IPSEC tunnel protect 4o6
- test_tun_66()¶
IPSEC tunnel protect 6o6
- tun6_decrypt_node_name = ['esp6-decrypt-tun', 'esp6-decrypt-tun-post']¶
- tun6_encrypt_node_name = 'esp6-encrypt-tun'¶
- class test_ipsec_tun_if_esp.TestIpsec6TunProtectTun(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,test_ipsec_tun_if_esp.TemplateIpsec6TunProtect,template_ipsec.IpsecTun6IPsec IPv6 Tunnel protect - tunnel mode
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- gen_encrypt_pkts6(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- gen_pkts6(p, sw_intf, src, dst, count=1, payload_size=100)¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tags = [<TestCaseTag.FIXME_VPP_WORKERS: 2>]¶
- test_tun_66()¶
IPSEC tunnel protect
- tun6_decrypt_node_name = ['esp6-decrypt-tun', 'esp6-decrypt-tun-post']¶
- tun6_encrypt_node_name = 'esp6-encrypt-tun'¶
- verify_decrypted6(p, rxs)¶
- verify_encrypted6(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TestIpsec6TunProtectTunDrop(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,test_ipsec_tun_if_esp.TemplateIpsec6TunProtect,template_ipsec.IpsecTun6IPsec IPv6 Tunnel protect - tunnel mode - drop
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- gen_encrypt_pkts6(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tun_drop_66()¶
IPSEC 6 tunnel protect bogus tunnel header
- tun6_decrypt_node_name = ['esp6-decrypt-tun', 'esp6-decrypt-tun-post']¶
- tun6_encrypt_node_name = 'esp6-encrypt-tun'¶
- class test_ipsec_tun_if_esp.TestIpsecGre6IfEspTra(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,template_ipsec.IpsecTun6TestsIpsec GRE ESP - TRA tests
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- gen_encrypt_pkts6(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- gen_pkts6(p, sw_intf, src, dst, count=1, payload_size=100)¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- tun6_decrypt_node_name = ['esp6-decrypt-tun', 'esp6-decrypt-tun-post']¶
- tun6_encrypt_node_name = 'esp6-encrypt-tun'¶
- verify_decrypted6(p, rxs)¶
- verify_encrypted6(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TestIpsecGreIfEsp(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,template_ipsec.IpsecTun4TestsIpsec GRE ESP - TUN tests
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- gen_encrypt_pkts(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- gen_pkts(sw_intf, src, dst, count=1, payload_size=100)¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- verify_decrypted(p, rxs)¶
- verify_encrypted(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TestIpsecGreIfEspTra(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,template_ipsec.IpsecTun4TestsIpsec GRE ESP - TRA tests
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- gen_encrypt_non_ip_pkts(sa, sw_intf, src, dst, count=1, payload_size=100)¶
- gen_encrypt_pkts(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- gen_pkts(sw_intf, src, dst, count=1, payload_size=100)¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_gre_non_ip()¶
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- verify_decrypted(p, rxs)¶
- verify_encrypted(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TestIpsecGreTebIfEsp(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,template_ipsec.IpsecTun4TestsIpsec GRE TEB ESP - TUN tests
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- gen_encrypt_pkts(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- gen_pkts(sw_intf, src, dst, count=1, payload_size=100)¶
- omac = '00:11:22:33:44:55'¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- verify_decrypted(p, rxs)¶
- verify_encrypted(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TestIpsecGreTebIfEspTra(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,template_ipsec.IpsecTun4TestsIpsec GRE TEB ESP - Tra tests
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- gen_encrypt_pkts(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- gen_pkts(sw_intf, src, dst, count=1, payload_size=100)¶
- omac = '00:11:22:33:44:55'¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- verify_decrypted(p, rxs)¶
- verify_encrypted(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TestIpsecGreTebUdpIfEspTra(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,template_ipsec.IpsecTun4TestsIpsec GRE TEB UDP ESP - Tra tests
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- gen_encrypt_pkts(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- gen_pkts(sw_intf, src, dst, count=1, payload_size=100)¶
- omac = '00:11:22:33:44:55'¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- verify_decrypted(p, rxs)¶
- verify_encrypted(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TestIpsecGreTebVlanIfEsp(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,template_ipsec.IpsecTun4TestsIpsec GRE TEB ESP - TUN tests
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- gen_encrypt_pkts(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- gen_pkts(sw_intf, src, dst, count=1, payload_size=100)¶
- omac = '00:11:22:33:44:55'¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- verify_decrypted(p, rxs)¶
- verify_encrypted(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TestIpsecItf4(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,test_ipsec_tun_if_esp.TemplateIpsecItf4,template_ipsec.IpsecTun4IPsec Interface IPv4
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tags = [<TestCaseTag.FIXME_VPP_WORKERS: 2>]¶
- test_tun_44()¶
IPSEC interface IPv4
- test_tun_44_null()¶
IPSEC interface IPv4 NULL auth/crypto
- test_tun_44_police()¶
IPSEC interface IPv4 with input policer
- test_tun_instance_44()¶
- class test_ipsec_tun_if_esp.TestIpsecItf4MPLS(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,test_ipsec_tun_if_esp.TemplateIpsecItf4,template_ipsec.IpsecTun4IPsec Interface MPLSoIPv4
- gen_encrypt_pkts(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tun_mpls_o_ip4()¶
IPSEC interface MPLS over IPv4
- tun4_encrypt_node_name = 'esp-mpls-encrypt-tun'¶
- verify_encrypted(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TestIpsecItf6(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,test_ipsec_tun_if_esp.TemplateIpsecItf6,template_ipsec.IpsecTun6IPsec Interface IPv6
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tags = [<TestCaseTag.FIXME_VPP_WORKERS: 2>]¶
- test_tun_44()¶
IPSEC interface IPv6
- test_tun_66_police()¶
IPSEC interface IPv6 with input policer
- class test_ipsec_tun_if_esp.TestIpsecItf6MPLS(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,test_ipsec_tun_if_esp.TemplateIpsecItf6,template_ipsec.IpsecTun6IPsec Interface MPLSoIPv6
- gen_encrypt_pkts6(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tun_mpls_o_ip6()¶
IPSEC interface MPLS over IPv6
- tun6_encrypt_node_name = 'esp-mpls-encrypt-tun'¶
- verify_encrypted6(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TestIpsecMGreIfEspTra4(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,template_ipsec.IpsecTun4Ipsec mGRE ESP v4 TRA tests
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- gen_encrypt_pkts(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- gen_pkts(sw_intf, src, dst, count=1, payload_size=100)¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tun_44()¶
mGRE IPSEC 44
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- verify_decrypted(p, rxs)¶
- verify_encrypted(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TestIpsecMGreIfEspTra6(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,template_ipsec.IpsecTun6Ipsec mGRE ESP v6 TRA tests
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- gen_encrypt_pkts6(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- gen_pkts6(p, sw_intf, src, dst, count=1, payload_size=100)¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tun_66()¶
mGRE IPSec 66
- tun6_decrypt_node_name = ['esp6-decrypt-tun', 'esp6-decrypt-tun-post']¶
- tun6_encrypt_node_name = 'esp6-encrypt-tun'¶
- verify_decrypted6(p, rxs)¶
- verify_encrypted6(p, sa, rxs)¶
- class test_ipsec_tun_if_esp.TestIpsecMIfEsp4(methodName='runTest')¶
Bases:
template_ipsec.TemplateIpsec,template_ipsec.IpsecTun4Ipsec P2MP ESP v4 tests
- encryption_type¶
alias of
scapy.layers.ipsec.ESP
- gen_encrypt_pkts(p, sa, sw_intf, src, dst, count=1, payload_size=100)¶
- gen_pkts(sw_intf, src, dst, count=1, payload_size=100)¶
- setUp()¶
Clear trace before running each test
- tearDown()¶
Show various debug prints after each test
- test_tun_44()¶
P2MP IPSEC 44
- tun4_decrypt_node_name = ['esp4-decrypt-tun', 'esp4-decrypt-tun-post']¶
- tun4_encrypt_node_name = 'esp4-encrypt-tun'¶
- verify_decrypted(p, rxs)¶
- verify_encrypted(p, sa, rxs)¶
- test_ipsec_tun_if_esp.config_tra_params(p, encryption_type, tun_if)¶
- test_ipsec_tun_if_esp.config_tun_params(p, encryption_type, tun_if, src=None, dst=None)¶