2.56. test_span module¶
-
class
test_span.
Tag
(dot1, vlan)¶ Bases:
tuple
-
dot1
¶ Alias for field number 0
-
vlan
¶ Alias for field number 1
-
-
class
test_span.
TestSpan
(methodName='runTest')¶ Bases:
framework.VppTestCase
SPAN Test Case
-
bridge
(sw_if_index, is_add=1)¶
-
create_stream
(src_if, packet_sizes, do_dot1=False, bcast=False)¶
-
decap_gre
(pkt)¶ Decapsulate the original payload frame by removing GRE header
-
decap_vxlan
(pkt)¶ Decapsulate the original payload frame by removing VXLAN header
-
setUp
()¶
-
classmethod
setUpClass
()¶
-
tearDown
()¶
-
test_device_span
()¶ SPAN device rx mirror
-
test_l2_bcast_mirror
()¶ SPAN l2 broadcast mirror
-
test_l2_rx_tx_span
()¶ SPAN l2 rx tx mirror
-
test_l2_tx_span
()¶ SPAN l2 tx mirror
-
test_span_l2_rx
()¶ SPAN l2 rx mirror
-
test_span_l2_rx_dst_1ad_vtr
()¶ SPAN l2 rx mirror into 1ad subif+vtr
-
test_span_l2_rx_dst_1q_vtr
()¶ SPAN l2 rx mirror into 1q subif+vtr
-
test_span_l2_rx_dst_gre_subif_vtr
()¶ SPAN l2 rx mirror into gre-subif+vtr
-
test_span_l2_rx_dst_vxlan
()¶ SPAN l2 rx mirror into vxlan
-
verify_capture
(cap1, cap2)¶
-
xconnect
(a, b, is_add=1)¶
-