ARP_AGE_UNKNOWN (napalm_device_types.arp, -1.0): the age a driver reports in get_arp_table and get_ipv6_neighbors_table when the device does not say how old an entry is.
NAPALM requires an age on every entry, and many devices have none (ip neigh, /proc/net/arp, a router's host list). Drivers filled in 0.0, which means "confirmed just now", and an application ranking sightings by freshness takes it at its word. -1.0 is NAPALM's own value for this (its IOS driver reports it). An expiry countdown is not an age either. The README states the contract; CHANGELOG under Unreleased.
Test: tests/test_arp_age.py.
Refs NetOrk/netork#1327. The driver PRs (fritzbox, openwrt, zyxel, linux, tplink-jetstream, windows, proxmox, opnsense, bsd, netgear) follow this contract.
`ARP_AGE_UNKNOWN` (`napalm_device_types.arp`, `-1.0`): the `age` a driver reports in `get_arp_table` and `get_ipv6_neighbors_table` when the device does not say how old an entry is.
NAPALM requires an age on every entry, and many devices have none (`ip neigh`, `/proc/net/arp`, a router's host list). Drivers filled in `0.0`, which means "confirmed just now", and an application ranking sightings by freshness takes it at its word. `-1.0` is NAPALM's own value for this (its IOS driver reports it). An expiry countdown is not an age either. The README states the contract; CHANGELOG under Unreleased.
Test: `tests/test_arp_age.py`.
Refs NetOrk/netork#1327. The driver PRs (fritzbox, openwrt, zyxel, linux, tplink-jetstream, windows, proxmox, opnsense, bsd, netgear) follow this contract.
Priority: P4 (blocks NetOrk/netork#1190)
NAPALM requires an age on every entry of get_arp_table and
get_ipv6_neighbors_table. Many devices do not report one, and drivers
filled in 0.0, which means "confirmed just now". ARP_AGE_UNKNOWN (-1.0, as
NAPALM's IOS driver reports) is the value for "not reported"; the README
states the contract.
NetOrk/netork#1327
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
ARP_AGE_UNKNOWN(napalm_device_types.arp,-1.0): theagea driver reports inget_arp_tableandget_ipv6_neighbors_tablewhen the device does not say how old an entry is.NAPALM requires an age on every entry, and many devices have none (
ip neigh,/proc/net/arp, a router's host list). Drivers filled in0.0, which means "confirmed just now", and an application ranking sightings by freshness takes it at its word.-1.0is NAPALM's own value for this (its IOS driver reports it). An expiry countdown is not an age either. The README states the contract; CHANGELOG under Unreleased.Test:
tests/test_arp_age.py.Refs NetOrk/netork#1327. The driver PRs (fritzbox, openwrt, zyxel, linux, tplink-jetstream, windows, proxmox, opnsense, bsd, netgear) follow this contract.
Priority: P4 (blocks NetOrk/netork#1190)