fix: an unknown ARP age is -1.0, not 0.0
driver / standard (pull_request) Successful in 16s
driver / lint (pull_request) Successful in 14s
driver / test (3.12) (pull_request) Successful in 1m1s
driver / types (pull_request) Successful in 1m7s
driver / test (3.13) (pull_request) Successful in 57s
driver / lowest (pull_request) Successful in 30s
driver / build (pull_request) Successful in 30s
driver / security (pull_request) Successful in 1m7s
CI / driver (pull_request) Successful in 2m42s
driver / publish (pull_request) Skipped
driver / standard (pull_request) Successful in 16s
driver / lint (pull_request) Successful in 14s
driver / test (3.12) (pull_request) Successful in 1m1s
driver / types (pull_request) Successful in 1m7s
driver / test (3.13) (pull_request) Successful in 57s
driver / lowest (pull_request) Successful in 30s
driver / build (pull_request) Successful in 30s
driver / security (pull_request) Successful in 1m7s
CI / driver (pull_request) Successful in 2m42s
driver / publish (pull_request) Skipped
get_arp_table on Smart switches wrote 0.0 ("confirmed just now") and
ignored the "Age (min)" column of show arp. It now reports ARP_AGE_UNKNOWN;
parsing the column waits for real switch output, since the docstring
example and the test fixture are not taken from a switch.
NetOrk/netork#1327
This commit is contained in:
1 parent
c4facc1105
commit
7b179383c6
3 files changed
+16
-3
No files matched your search
@@ -12,6 +12,12 @@ All notable changes to this driver. The format follows
|
||||
- The floor on napalm is 5.1: older releases import `pkg_resources`, which a Python
|
||||
3.12 venv no longer has.
|
||||
|
||||
### Fixed
|
||||
- `get_arp_table()` on Smart switches reports the age as `-1.0` (unknown,
|
||||
napalm-device-types' `ARP_AGE_UNKNOWN`) instead of `0.0`, which means "confirmed
|
||||
just now". The "Age (min)" column of `show arp` is not parsed until real switch
|
||||
output confirms its format (NetOrk/netork#1327).
|
||||
|
||||
## [0.6.0] - 2026-10-23
|
||||
|
||||
The first release on PyPI, under the new name `napalm-netgear-switches`.
|
||||
|
||||
Reference in new issue
Block a user