2.100. 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()

ARP Incomplete

test_arp_incomplete2()

Incomplete Entries

test_arp_static()

ARP Static

test_arp_static_replace_dynamic_diff_mac()

ARP Static can replace Dynamic (diff mac)

test_arp_static_replace_dynamic_same_mac()

ARP Static can replace Dynamic (same mac)

test_arp_table_swap()
test_arp_vrrp()

ARP reply with VRRP virtual src hw addr

test_garp()

GARP

test_glean_src_select()

Multi Connecteds

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.NeighborFlush(methodName='runTest')

Bases: framework.VppTestCase

Neighbor Flush

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_flush()

Neighbour Flush

class test_neighbor.NeighborReplaceTestCase(methodName='runTest')

Bases: framework.VppTestCase

ARP/ND Replacement

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_replace()

replace

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

test_tags = [<TestCaseTag.FIXME_VPP_WORKERS: 2>]