Skip to content

nxos: implement uptime for get_bgp_neighbors#2105

Open
ultrotter wants to merge 2 commits into
napalm-automation:developfrom
ultrotter:nxosbgpuptime
Open

nxos: implement uptime for get_bgp_neighbors#2105
ultrotter wants to merge 2 commits into
napalm-automation:developfrom
ultrotter:nxosbgpuptime

Conversation

@ultrotter

Copy link
Copy Markdown

This adds a dependency on python-dateutil to calculate years and months lengths, depending on the current date. Alternatively we can just go for a fixed arbitrary time length for years and months.

@ultrotter
ultrotter force-pushed the nxosbgpuptime branch 2 times, most recently from d1fa62a to 3e806df Compare June 20, 2024 14:33
So far we were just ignoring the time value on the switch, and returning -1.

This adds a dependency on python-dateutil to calculate years and months lengths, depending on the current date. Alternatively we can just go for a fixed arbitrary time length for years and months.

Signed-off-by: Guido Trotter <ultrotter@debian.org>
Signed-off-by: Guido Trotter <ultrotter@debian.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant