2.89. 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
-
show_commands_at_teardown
()¶ Allow subclass specific teardown logging additions.
-
tearDown
()¶ Show various debug prints after each test
-
classmethod
tearDownClass
()¶ Perform final cleanup after running all tests in this test-case
-
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)¶
-