So much great stuff in this presentation. I have only been coding in python right at a year now. Network engineer to start trying to steam roll my way into DevOps! I have seen linters thrown around in forums all the time but never really knew what they did or how to use them, so thanks for that!. Another great add was the environment variables.. As most i struggled with how to handle my network creds in a script with out actually putting them in my scripts (Learned Linux at the same time as learning python). After a lot of searches I finally came to the environ variables!! Wish I could comment on every aspect of this video, but would read all that lol.. Anyways, thanks for all the great info!
Hank, Really enjoyed all the way.. and appreciate your efforts. Please do Pyang sessions in depth, that will be definitely useful. It will definitely help in NSO and yang implementation in real time. hope you will do this .. thanks alot
Thanks for this, enjoyed the video and picked up some good info from you. Do you have examples on organizing code for CLI scraping sessions using netmiko,paramiko etc? I have been playing with python for 6 months, and I still find it quite tedious and very frustrating. I wish we had API available in our environment, but I'm not so lucky :). I have written a script to take user input for a IP address, and find out what switch and port the host is connected to when in an extended OTV data center environment. It solves the problem of where does my host really live, without doing manual traceroute, arp, OTV route mac lookups every time. The challenge I face is, the script takes 30 seconds to run, due to the nature of netmiko having to wait for responses before continuing on with the next part of the script. i'm looking for ways to help speed that up, but i'm not sure if it's possible with CLI scraping?
Glad you enjoyed the video/session. There's a lot in your question, too much to really cover in a comment like this but a couple of thoughts. You could look at async to allow your code to do more than one thing at once, but there are complexities in there. Also, if you are on Nexus, you could see if NX-API CLI options respond faster than CLI.
@@HankPreston Unfortunately, we are on 6.2.x code on 7k, I believe the API requires 7.x . . I validated that the feature was not available on a device :(
informative session but I was hoping to get something about real networking, like libraries to exchange data between machines, networking services, TCP/IP, etc..
Great presentation Hank, thanks for sharing your knowledge with us!
This was a great session Hank!
So much great stuff in this presentation. I have only been coding in python right at a year now. Network engineer to start trying to steam roll my way into DevOps! I have seen linters thrown around in forums all the time but never really knew what they did or how to use them, so thanks for that!. Another great add was the environment variables.. As most i struggled with how to handle my network creds in a script with out actually putting them in my scripts (Learned Linux at the same time as learning python). After a lot of searches I finally came to the environ variables!! Wish I could comment on every aspect of this video, but would read all that lol.. Anyways, thanks for all the great info!
Thanks os much for the comments Patrick, glad you found it helpful! Be sure to register for the upcoming episodes as well. bit.ly/2OK35TR
Thanks, Hank. I needed this.
This is AWESOME. Wishing I'd been on this 2 years ago.
DItto!
Learning so much... as i go through :)! Thanks Hank.
Where can we get code for cisco live netdevops series to practice ?
So much to learn this being an network engineer..yet trying to catch this up !! Will be helpful if someone dictate where to start from
This is awesome delivery and tutorial thanks Hank
Hank, Really enjoyed all the way.. and appreciate your efforts. Please do Pyang sessions in depth, that will be definitely useful. It will definitely help in NSO and yang implementation in real time. hope you will do this .. thanks alot
Much appreciated.
Please note example1.py will not work on Windows since the module os.getuid() does not exist in module os for Windows on Python3
Unix System Resoucres ;) Great video and some really helpful detail delivered at a nice pace!
Efficient talk, thank you sir
Thanks for this, enjoyed the video and picked up some good info from you. Do you have examples on organizing code for CLI scraping sessions using netmiko,paramiko etc? I have been playing with python for 6 months, and I still find it quite tedious and very frustrating. I wish we had API available in our environment, but I'm not so lucky :). I have written a script to take user input for a IP address, and find out what switch and port the host is connected to when in an extended OTV data center environment. It solves the problem of where does my host really live, without doing manual traceroute, arp, OTV route mac lookups every time. The challenge I face is, the script takes 30 seconds to run, due to the nature of netmiko having to wait for responses before continuing on with the next part of the script. i'm looking for ways to help speed that up, but i'm not sure if it's possible with CLI scraping?
Glad you enjoyed the video/session.
There's a lot in your question, too much to really cover in a comment like this but a couple of thoughts. You could look at async to allow your code to do more than one thing at once, but there are complexities in there. Also, if you are on Nexus, you could see if NX-API CLI options respond faster than CLI.
@@HankPreston Unfortunately, we are on 6.2.x code on 7k, I believe the API requires 7.x . . I validated that the feature was not available on a device :(
informative session but I was hoping to get something about real networking, like libraries to exchange data between machines, networking services, TCP/IP, etc..
Much appreciated.
Please note example1.py will not work on Windows since the module os.getuid() does not exist in module os for Windows on Python3