2.112. vpp_neighbor module

Neighbour Entries

object abstractions for ARP and ND

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

Bases: vpp_object.VppObject

ARP Entry

add_vpp_config()

Add the configuration for this object to vpp.

get_stats()
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, ip_addr, is_static=0, inet=2, mac=None)