2.44. test_p2p_ethernet module¶
-
class
test_p2p_ethernet.
P2PEthernetAPI
(methodName='runTest')¶ Bases:
framework.VppTestCase
P2P Ethernet tests
-
create_p2p_ethernet
(parent_if, sub_id, remote_mac)¶
-
delete_p2p_ethernet
(parent_if, remote_mac)¶
-
p2p_sub_ifs
= []¶
-
classmethod
setUpClass
()¶
-
test_api
()¶ delete/create p2p subif
-
test_p2p_subif_creation_10k
(*args, **kwargs)¶ create 100k of p2p subifs
-
test_p2p_subif_creation_1k
()¶ create 1k of p2p subifs
-
-
class
test_p2p_ethernet.
P2PEthernetIPV4
(methodName='runTest')¶ Bases:
framework.VppTestCase
P2P Ethernet IPv4 tests
-
create_p2p_ethernet
(parent_if, sub_id, remote_mac)¶
-
create_stream
(src_mac=None, dst_mac=None, src_ip=None, dst_ip=None, size=None)¶
-
delete_p2p_ethernet
(parent_if, remote_mac)¶
-
p2p_sub_ifs
= []¶
-
packets
= []¶
-
send_packets
(src_if=None, dst_if=None, packets=None, count=None)¶
-
setUp
()¶
-
classmethod
setUpClass
()¶
-
tearDown
()¶
-
test_ip4_rx_p2p_subif
()¶ receive ipv4 packet via p2p subinterface
-
test_ip4_rx_p2p_subif_route
()¶ route rx packet not matching p2p subinterface
-
test_ip4_tx_p2p_subif
()¶ send ip4 packet via p2p subinterface
-
test_ip4_tx_p2p_subif_drop
()¶ drop tx ip4 packet not matching p2p subinterface
-
verify_counters
(counter_id, expected_value)¶
-
-
class
test_p2p_ethernet.
P2PEthernetIPV6
(methodName='runTest')¶ Bases:
framework.VppTestCase
P2P Ethernet IPv6 tests
-
create_p2p_ethernet
(parent_if, sub_id, remote_mac)¶
-
create_stream
(src_mac=None, dst_mac=None, src_ip=None, dst_ip=None, size=None)¶
-
delete_p2p_ethernet
(parent_if, remote_mac)¶
-
p2p_sub_ifs
= []¶
-
packets
= []¶
-
send_packets
(src_if=None, dst_if=None, packets=None, count=None)¶
-
setUp
()¶
-
classmethod
setUpClass
()¶
-
tearDown
()¶
-
test_ip6_rx_p2p_subif
()¶ receive ipv6 packet via p2p subinterface
-
test_ip6_rx_p2p_subif_drop
()¶ drop rx packet not matching p2p subinterface
-
test_ip6_rx_p2p_subif_route
()¶ route rx ip6 packet not matching p2p subinterface
-
test_ip6_tx_p2p_subif
()¶ send packet via p2p subinterface
-
test_ip6_tx_p2p_subif_drop
()¶ drop tx ip6 packet not matching p2p subinterface
-
test_no_p2p_subif
()¶ standard routing without p2p subinterfaces
-
verify_counters
(counter_id, expected_value)¶
-