Skip to content

Closes #2003: Fix NXOS ping source_interface bugs#2004

Open
decoupca wants to merge 7 commits into
napalm-automation:developfrom
decoupca:2003-fix-nxos-ping
Open

Closes #2003: Fix NXOS ping source_interface bugs#2004
decoupca wants to merge 7 commits into
napalm-automation:developfrom
decoupca:2003-fix-nxos-ping

Conversation

@decoupca

@decoupca decoupca commented Sep 6, 2023

Copy link
Copy Markdown
Contributor

Fixes two source_interface bugs in NXOS driver, whereby passing either an invalid or valid source_interface parameter returns an empty data structure.

@decoupca

decoupca commented Sep 6, 2023

Copy link
Copy Markdown
Contributor Author

This PR solves my original issue, but it's a good idea to include an else statement after the block starting on line 379 to catch any future similar errors. Should that raise an exception or just add the output to ping_dict["error"] like the first if statement?

@mirceaulinic mirceaulinic added this to the 5.0.0 milestone Mar 21, 2024
@mirceaulinic

Copy link
Copy Markdown
Member

@decoupca yes, I think it should explicitly raise an exception. Thanks!

@mirceaulinic mirceaulinic removed this from the 5.0.0 milestone Apr 10, 2024
@mirceaulinic

Copy link
Copy Markdown
Member

@decoupca is this still something you'd like to continue on?

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.

2 participants