2.61. test_pppoe module

class test_pppoe.TestPPPoE(methodName='runTest')

Bases: framework.VppTestCase

PPPoE Test Case

create_stream_ip4(src_if, dst_if, client_ip, dst_ip, count=1)
create_stream_pppoe_discovery(src_if, dst_if, client_mac, count=1)
create_stream_pppoe_ip4(src_if, dst_if, client_mac, session_id, client_ip, count=1)
create_stream_pppoe_lcp(src_if, dst_if, client_mac, session_id, count=1)
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

test_PPPoE_Add_Twice()

PPPoE Add Same Session Twice Test

test_PPPoE_Decap()

PPPoE Decap Test

test_PPPoE_Decap_Multiple()

PPPoE Decap Multiple Sessions Test

test_PPPoE_Del_Twice()

PPPoE Delete Same Session Twice Test

test_PPPoE_Encap()

PPPoE Encap Test

test_PPPoE_Encap_Multiple()

PPPoE Encap Multiple Sessions Test

verify_decapped_pppoe(src_if, capture, sent)
verify_encaped_pppoe(src_if, capture, sent, session_id)