Skip to content

Conversation

@vkoulermos
Copy link

@vkoulermos vkoulermos commented Feb 19, 2022

Description

Added parenthesis within regexes in which the code is trying to parse AS_PATH. Changes were performed in iosxr/show_bgp.py for classes ShowBgpInstanceNeighborsReceivedRoutes, ShowBgpInstanceNeighborsAdvertisedRoutes and ShowBgpInstanceAllAll.

Also fixed show ShowBgpInstanceAllAll not matching IPv6 prefixes with p16 and as a result their paths/nexthops were added as indexes to the previous prefix of p16_1.

Motivation and Context

To parse BGP confederation paths. I wanted to use the learn bgp feature for an upcoming migration from XE to XR but most of the table was missing.

Impact (If any)

Screenshots:

ShowBgpNeighRoutes

ShowBgpAdvertised

Show bgp all all

Checklist:

  • I have updated the changelog.
  • I have updated the documentation (If applicable).
  • I have added tests to cover my changes (If applicable).
  • All new and existing tests passed.
  • All new code passed compilation.

@vkoulermos vkoulermos requested a review from a team as a code owner February 19, 2022 15:58
@bobody64
Copy link
Contributor

Thanks for contributing!

@sjpatel21 sjpatel21 requested a review from bastell May 25, 2022 18:14
@omehrabi omehrabi removed the request for review from bastell August 12, 2022 19:25
@vkoulermos
Copy link
Author

Can you merge this please?

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.

3 participants