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
cisco_ios_show_interface_link template breaks when there are subinterfaces #1605
Comments
would maybe using the below work better? Value PORT (\S+) |
It is simpler than adding |
The line formatting looks a little odd. I'd expect the "columns" to generally line up. The sample output from above with the header line
|
ISSUE TYPE
TEMPLATE USING
SAMPLE COMMAND OUTPUT
SUMMARY
When subinterfaces are present, the subinterface is not included in the second group for the regex match for port information
STEPS TO REPRODUCE
EXPECTED RESULTS
results =
{'downtime': '',
'name': 'L3 Link',
'port': 'Te6/0/1',
'since': '',
'uptime': '9w4d'},
{'downtime': '',
'name': 'L3 Link VR',
'port': 'Te6/0/1.602',
'since': '',
'uptime': '9w4d'}
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: