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

Support for BGP confederations in AS_PATH for IOS-XR #620

Open
wants to merge 30 commits into
base: main
Choose a base branch
from

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.

@LukasMcClelland
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