Neighbor

Keys

Leafs

class Interfaces.Interface.Ipv4.Neighbor

Bases: Entity

Class Hierarchy: Interfaces Interface Ipv4 Neighbor

This class represents configuration data.

A list of mappings from IPv4 addresses to

link-layer addresses.

Entries in this list are used as static entries in the

ARP Cache.

ip(key)

The IPv4 address of the neighbor node

type: str

pattern: (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?

The link-layer address of the neighbor node

type: str

pattern: ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2})*)?

mandatory: True