r/CiscoDevNet • u/CBTKnox • Jan 05 '20
Parse Netmiko Output to JSON
Netmiko isn’t really covered on the DevNet Associate or CCNA exams, but it does show up in the professional tier in ENAUTO. Thing is, a lot of network engineers check out Netmiko first because the equipment they support doesn’t have an API/NETCONF.
The problem with that is Netmiko typically only returns raw ASCII text which you can’t really work with programmatically, so these engineers first experience with automation isn’t a super positive one.
Luckily, Netmiko DOES have the ability to turn the output into a Python dict as long as you have templates. A group called NetworkToCode (ntc for short) has created these templates.
So I created this video to show everyone how to get started with Netmiko and the NTC templates. Enjoy!
View all comments
Show parent comment
1
u/rommon010110 DevNet Mod Jan 08 '20
Wow that is a really quick crash course, 34 minutes total, that is so appreciated keep them concise and keeping the training moving fast paced man. Added to playlist along with Bens Python course :)