2.54. test_ipsec_tun_if_esp module

class test_ipsec_tun_if_esp.TemplateIpsec4TunIfEsp(methodName='runTest')

Bases: template_ipsec.TemplateIpsec

IPsec tunnel interface tests

encryption_type
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.TemplateIpsec6TunIfEsp(methodName='runTest')

Bases: template_ipsec.TemplateIpsec

IPsec tunnel interface tests

encryption_type
setUp()

Clear trace before running each test

tearDown()

Show various debug prints after each test

class test_ipsec_tun_if_esp.TemplateIpsecGRETunIfEsp(methodName='runTest')

Bases: template_ipsec.TemplateIpsec

IPsec GRE tunnel interface tests

encryption_type
gen_encrypt_pkts(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

verify_decrypted(p, rxs)
verify_encrypted(p, sa, rxs)
class test_ipsec_tun_if_esp.TestIpsec4MultiTunIfEsp(methodName='runTest')

Bases: template_ipsec.TemplateIpsec, template_ipsec.IpsecTun4

IPsec IPv4 Multi Tunnel interface

encryption_type
setUp()

Clear trace before running each test

tearDown()

Show various debug prints after each test

test_tun_44()

Multiple IPSEC tunnel interfaces

tun4_decrypt_node_name = 'esp4-decrypt'
tun4_encrypt_node_name = 'esp4-encrypt'
class test_ipsec_tun_if_esp.TestIpsec4TunIfEsp1(methodName='runTest')

Bases: test_ipsec_tun_if_esp.TemplateIpsec4TunIfEsp, template_ipsec.IpsecTun4Tests

Ipsec 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'
tun4_encrypt_node_name = 'esp4-encrypt'
class test_ipsec_tun_if_esp.TestIpsec4TunIfEsp2(methodName='runTest')

Bases: test_ipsec_tun_if_esp.TemplateIpsec4TunIfEsp, template_ipsec.IpsecTcpTests

Ipsec ESP - TCP tests

class test_ipsec_tun_if_esp.TestIpsec4TunIfEspAll(methodName='runTest')

Bases: template_ipsec.TemplateIpsec, template_ipsec.IpsecTun4

IPsec IPv4 Tunnel interface all Algos

config_network(p)
encryption_type
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'
tun4_encrypt_node_name = 'esp4-encrypt'
unconfig_network(p)
class test_ipsec_tun_if_esp.TestIpsec6MultiTunIfEsp(methodName='runTest')

Bases: template_ipsec.TemplateIpsec, template_ipsec.IpsecTun6

IPsec IPv6 Multi Tunnel interface

encryption_type
setUp()

Clear trace before running each test

tearDown()

Show various debug prints after each test

test_tun_66()

Multiple IPSEC tunnel interfaces

tun6_decrypt_node_name = 'esp6-decrypt'
tun6_encrypt_node_name = 'esp6-encrypt'
class test_ipsec_tun_if_esp.TestIpsec6TunIfEsp1(methodName='runTest')

Bases: test_ipsec_tun_if_esp.TemplateIpsec6TunIfEsp, template_ipsec.IpsecTun6Tests

Ipsec 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'
tun6_encrypt_node_name = 'esp6-encrypt'
class test_ipsec_tun_if_esp.TestIpsecGRETunIfEsp1(methodName='runTest')

Bases: test_ipsec_tun_if_esp.TemplateIpsecGRETunIfEsp, template_ipsec.IpsecTun4Tests

Ipsec GRE ESP - TUN tests

tun4_decrypt_node_name = 'esp4-decrypt'
tun4_encrypt_node_name = 'esp4-encrypt'