Skip to content

'cisco_xe' device_type not mapping through to ntc-templates properly #2112

Discussion options

You must be logged in to vote

I received some assistance over at github.com/networktocode/ntc-templates. I was asked to run the following...

output = net_connect.send_command("show ip interface brief")
from ntc_templates.parse import parse_output
output_parsed = parse_output(platform="cisco_ios", command="show ip interface brief", data=output)
print(output_parsed)

That produced the desired output. Then I was referred back here. Any thoughts on what I'm missing / doing wrong?

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@r1chardnoggin
Comment options

Comment options

You must be logged in to vote
1 reply
@r1chardnoggin
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ktbyers
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants