You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@michaeljbailey I have a PR in to fix this by converting TRUNKING_VLANS to a list, but it won't give you your expected results, that would happen in later parsing of the data.
@FragmentedPacket thanks, let me see if I can pull up how I tackled this. I may be able to provide a regex that can somewhat solve this as I had to put in a local fix.
It also doesn't make a huge difference to me to need a postprocessing step. I am already structuring my code in such a way to normalize data before I ship it off to other consumers.
ISSUE TYPE
TEMPLATE USING
SAMPLE COMMAND OUTPUT
SUMMARY
The current NTC template does not handle VLAN trunks which spill over onto multiple lines.
STEPS TO REPRODUCE
The template was executed using Netmiko
send_command
withuse_textfsm=True
against a switch with the following switchport configuration:EXPECTED RESULTS
The template should parse to the following array:
ACTUAL RESULTS
The template parsed to the following array:
The text was updated successfully, but these errors were encountered: