Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip unnumbered BGP neighbors instead of failing #260

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lukasstockner
Copy link
Contributor

@lukasstockner lukasstockner commented May 16, 2022

- What I did
Handle ValueError when trying to parse the IP of a BGP neighbor.

In case unnumbered BGP is used, neigh_str will be an interface name, which can't be represented in this MIB. So instead of failing, just skip the neighbor.

- How I did it
Catch ValueError, continue.

- How to verify it

  • Set up unnumbered BGP
  • Query SNMP
  • Check logs

- Description for the changelog
Skip unnumbered BGP neighbors instead of failing

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