netenglabs / suzieq

Using network observability to operate and design healthier networks
https://www.stardustsystems.net/
Apache License 2.0
791 stars 105 forks source link

NXOS: routes timestamp parser fix for older versions #870

Closed ddutt closed 1 year ago

ddutt commented 1 year ago

When a route had a single nexthop, the timestamp returned was not a list in one of the older NXOS releases. This caused the parser to hiccup. This patch fixes that by checking if the timestamp is a list before attempting to suck out a value.

Proposed Release Note Entry

Better handle older NXOS version route table entries with a single nexthop