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

IOS_SHOW_INTERFACES: Add additional logic to account for sub-interfaces #206

Merged
merged 4 commits into from
May 25, 2018

Conversation

jmcgill298
Copy link
Contributor

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT

cisco_ios_show_interfaces

SUMMARY

Bug reported for sub-interface parsing. I have accounted for that and other differences in the data provided in that issue.

Fixes #197


@jmcgill298 jmcgill298 changed the title Ios subintf IOS_SHOW_INTERFACES: Add additional logic to account for sub-interfaces May 20, 2018
Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+)
Value MTU (\d+)
Value DUPLEX (.+?)
Value SPEED (.+?)
Value DUPLEX (([Ff]ull|[Aa]uto|[Hh]alf|[Aa]-).*?)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(([Ff]ull|[Aa]uto|[Hh]alf|[Aa]-\d+).*?) - perhaps? same on nxos?

@itdependsnetworks itdependsnetworks merged commit 2bbeaa0 into networktocode:master May 25, 2018
@jmcgill298 jmcgill298 deleted the ios_subintf branch October 12, 2018 03:14
jvanderaa pushed a commit that referenced this pull request Nov 10, 2021
IOS_SHOW_INTERFACES: Add additional logic to account for sub-interfaces
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.

Unable to parse out subinterface information from Cisco IOS content
2 participants