2.126. test_vxlan_gbp module¶
-
class
test_vxlan_gbp.
TestVxlanGbp
(methodName='runTest')¶ Bases:
framework.VppTestCase
VXLAN GBP Test Case
-
assert_eq_pkts
(pkt1, pkt2)¶ Verify the Ether, IP, UDP, payload are equal in both packets
-
check_encapsulation
(pkt, vni, local_only=False, mcast_pkt=False)¶
-
classmethod
create_vxlan_gbp_flood_test_bd
(vni, n_ucast_tunnels)¶
-
decapsulate
(pkt)¶ Decapsulate the original payload frame by removing VXLAN header
-
encapsulate
(pkt, vni)¶ Encapsulate the original payload frame by adding VXLAN GBP header with its UDP, IP and Ethernet fields
-
property
frame_reply
¶ Ethernet frame modeling a generic reply
-
property
frame_request
¶ Ethernet frame modeling a generic request
-
ip_range
(start, end)¶ range of remote ip’s
-
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_decap
()¶ Decapsulation test Send encapsulated frames from pg0 Verify receipt of decapsulated frames on pg1
-
test_encap
()¶ Encapsulation test Send frames from pg1 Verify receipt of encapsulated frames on pg0
-
test_encap_big_packet
()¶ Encapsulation test send big frame from pg1 Verify receipt of encapsulated frames on pg0
-
test_ucast_flood
()¶ Unicast flood test Send frames from pg3 Verify receipt of encapsulated frames on pg0
-