2.80. test_neighbor module¶
-
class
test_neighbor.
ARPTestCase
(methodName='runTest')¶ Bases:
framework.VppTestCase
ARP Test Case
-
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
-
classmethod
tearDownClass
()¶ Perform final cleanup after running all tests in this test-case
-
test_arp
()¶ ARP
-
test_arp_duplicates
()¶ ARP Duplicates
-
test_arp_forus
()¶ ARP for for-us
-
test_arp_incomplete
()¶ Incomplete Entries
-
test_arp_static
()¶ ARP Static
-
test_arp_table_swap
()¶
-
test_arp_vrrp
()¶ ARP reply with VRRP virtual src hw addr
-
test_garp
()¶ GARP
-
test_mpls
()¶ MPLS
-
test_proxy_arp
()¶ Proxy ARP
-
test_proxy_mirror_arp
()¶ Interface Mirror Proxy ARP
-
verify_arp_req
(rx, smac, sip, dip)¶
-
verify_arp_resp
(rx, smac, dmac, sip, dip)¶
-
verify_arp_vrrp_resp
(rx, smac, dmac, sip, dip)¶
-
verify_ip
(rx, smac, dmac, sip, dip)¶
-
verify_ip_o_mpls
(rx, smac, dmac, label, sip, dip)¶
-
-
class
test_neighbor.
NeighborAgeTestCase
(methodName='runTest')¶ Bases:
framework.VppTestCase
ARP/ND Aging
-
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
-
classmethod
tearDownClass
()¶ Perform final cleanup after running all tests in this test-case
-
test_age
()¶ Aging/Recycle
-
verify_arp_req
(rx, smac, sip, dip)¶
-
wait_for_no_nbr
(intf, address, n_tries=50, s_time=1)¶
-
-
class
test_neighbor.
NeighborStatsTestCase
(methodName='runTest')¶ Bases:
framework.VppTestCase
ARP/ND Counters
-
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
-
classmethod
tearDownClass
()¶ Perform final cleanup after running all tests in this test-case
-
test_arp_stats
()¶ ARP Counters
-
test_nd_stats
()¶ ND Counters
-