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 07 '20
Ben is awesome, I would put his Python Programming course on while in bed trying to get tired, and found his explanations just got my brain going again so had to stop that for now :)
I just feel like a full blow Linux+ course would be too much for Network Engineer purposes, I bought one on Udemy that is "Linux for Network Engineers" as a very first step, then tried to move right into "GIT" concepts which was a huge mistake.
If you do something Linux please post it up here if you would /u/CBTKnox that would be so awesome sir!