Skip to content

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

@lukasstockner lukasstockner force-pushed the skip-unnumbered-bgp-neighbor branch from 24e509b to 863d26d Compare November 10, 2022 14:54
@lukasstockner lukasstockner force-pushed the skip-unnumbered-bgp-neighbor branch from 863d26d to 842fbaf Compare November 10, 2022 19:25
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