2.102. vpp_neighbor module

Neighbour Entries

object abstractions for ARP and ND

class vpp_neighbor.VppNeighbor(test, sw_if_index, mac_addr, nbr_addr, is_static=False, is_no_fib_entry=False)

Bases: vpp_object.VppObject

ARP Entry

add_vpp_config()

Add the configuration for this object to vpp.

get_stats()
is_static()
object_id()

Return a unique string representing this object.

query_vpp_config()

Query the vpp configuration.

Returns

True if the object is configured

remove_vpp_config()

Remove the configuration for this object from vpp.

vpp_neighbor.find_nbr(test, sw_if_index, nbr_addr, is_static=0, mac=None)