get_arp_table() wrote 0.0 as the age, but neither ip neigh nor /proc/net/arp has one. 0.0 means "confirmed just now", and an application ranking sightings by freshness takes it at its word. The driver now reports -1.0 (napalm-device-types' ARP_AGE_UNKNOWN, NAPALM's own value for "not reported"). CHANGELOG under Unreleased/Fixed.
Test: test_ip_neigh_reports_no_age and test_proc_net_arp_reports_no_age in tests/unit/test_driver.py.
`get_arp_table()` wrote `0.0` as the age, but neither `ip neigh` nor `/proc/net/arp` has one. `0.0` means "confirmed just now", and an application ranking sightings by freshness takes it at its word. The driver now reports `-1.0` (napalm-device-types' `ARP_AGE_UNKNOWN`, NAPALM's own value for "not reported"). CHANGELOG under Unreleased/Fixed.
Test: `test_ip_neigh_reports_no_age` and `test_proc_net_arp_reports_no_age` in `tests/unit/test_driver.py`.
Refs NetOrk/netork#1327. Depends on NAPALM/napalm-device-types#57 for the contract (`ARP_AGE_UNKNOWN`).
Priority: P4 (blocks NetOrk/netork#1190)
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.
get_arp_table()wrote0.0as the age, but neitherip neighnor/proc/net/arphas one.0.0means "confirmed just now", and an application ranking sightings by freshness takes it at its word. The driver now reports-1.0(napalm-device-types'ARP_AGE_UNKNOWN, NAPALM's own value for "not reported"). CHANGELOG under Unreleased/Fixed.Test:
test_ip_neigh_reports_no_ageandtest_proc_net_arp_reports_no_ageintests/unit/test_driver.py.Refs NetOrk/netork#1327. Depends on NAPALM/napalm-device-types#57 for the contract (
ARP_AGE_UNKNOWN).Priority: P4 (blocks NetOrk/netork#1190)
Neither ip neigh nor /proc/net/arp has an age, so get_arp_table reports ARP_AGE_UNKNOWN instead of 0.0 ("confirmed just now"). NetOrk/netork#1327