Skip to content

Fix encapsulation column in Arista sh int status #2118

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

Merged
merged 3 commits into from
May 8, 2025

Conversation

mjbear
Copy link
Collaborator

@mjbear mjbear commented Apr 29, 2025

resolves #2117

  • Takes care of the Encapsulation header
  • Includes a loose \S+ regex should there ever be text in the Encapsulation column
  • Modified the TYPE capture group regex so trailing whitespace was not captured

Note:
If there is ever encapsulation data, but not flags, this could cause a parsing issue where data could end up in the wrong capture group for those two. We don't have raw test data that includes data in the Flags column or Encapsulation. Thank you for understanding!

@ktbyers
Copy link
Contributor

ktbyers commented May 1, 2025

Looks good to me.

@mjbear mjbear marked this pull request as ready for review May 1, 2025 23:30
@mjbear mjbear merged commit 19b2885 into networktocode:master May 8, 2025
10 checks passed
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.

Arista show interface status broke in ntc-templates 7.5.0 and later
3 participants