fix: an ARP entry's expiry is no age #35

Merged
christianmanivong merged 1 commits from fix/arp-unknown-age into main 2026-10-30 09:11:49 +00:00
Owner

get_arp_table() and get_ipv6_neighbors_table() reported expires, the seconds left until the entry expires, as the age: an entry refreshed a second ago looked 20 minutes old. The API reports no age, so both now report -1.0 (napalm-device-types' ARP_AGE_UNKNOWN). CHANGELOG under Unreleased/Fixed.

Test: test_expires_is_not_an_age in TestGetArpTable and TestGetIpv6NeighborsTable (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)

`get_arp_table()` and `get_ipv6_neighbors_table()` reported `expires`, the seconds left until the entry expires, as the age: an entry refreshed a second ago looked 20 minutes old. The API reports no age, so both now report `-1.0` (napalm-device-types' `ARP_AGE_UNKNOWN`). CHANGELOG under Unreleased/Fixed. Test: `test_expires_is_not_an_age` in `TestGetArpTable` and `TestGetIpv6NeighborsTable` (`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)
christianmanivong added 1 commit 2026-10-30 07:38:11 +00:00
fix: an ARP entry's expiry is no age
driver / standard (pull_request) Successful in 18s
driver / lint (pull_request) Successful in 14s
driver / types (pull_request) Successful in 1m6s
driver / test (3.12) (pull_request) Successful in 1m27s
driver / lowest (pull_request) Successful in 37s
driver / test (3.13) (pull_request) Successful in 1m27s
driver / build (pull_request) Successful in 30s
driver / security (pull_request) Successful in 1m12s
CI / driver (pull_request) Successful in 3m12s
driver / publish (pull_request) Skipped
bb0810d693
get_arp_table and get_ipv6_neighbors_table reported expires, the seconds
left until the entry expires: an entry refreshed a second ago looked 20
minutes old. Both now report ARP_AGE_UNKNOWN (-1.0).

NetOrk/netork#1327
christianmanivong merged commit c02a745bb3 into main 2026-10-30 09:11:49 +00:00
christianmanivong deleted branch fix/arp-unknown-age 2026-10-30 09:11:49 +00:00
Sign in to join this conversation.