As more and more of the infrastructure becomes virtualized and the gradual shift from conventional methods to CI/CD and DevOps mindset in the field of network engineering and automation is adopted, it is going to become an absolute necessity to have digital twins of the live networks. What is Digital Twin for Network Automation? Digital…
Author: Gurpreet Kochar
Data Analysis with Python For Network Engineers.
Excel is one of the primary data sources that we network engineers have to deal with. While you will find a lot of people with very proficient skills with excel when it comes to manipulating data and making sense of it but now there is a need to be able to programmatically access the data…
Python NAPALM For Network Automation
We have seen how we can leverage python’s Netmiko module to interact with devices programmatically. In this blog post, we will see how we can achieve similar results with the NAPALM library for network automation. The main advantage of using NAPALM over netmiko is that there is a lot of stuff and heavy lifting that…
How to read write csv with python for Network Automation Part 3
We have covered how to use csv modules in the previous two posts. In this post, we will try to make the job easier using the python pandas library to read write csv with python for Network Automation. In my opinion, pandas is the one-stop-shop for all needs when you are dealing with tabular data…
What is DevOps/NetDevOps For Network Engineers?
DevOps, NetDevops, DevNetOps, While DevOps may hold different meanings to different people but at the very heart, DevOps is an ideology that aims at bringing about change in how software and applications were developed traditionally. Before we understand what is DevOps for Network Engineers. As the software industry was evolving DevOps ideology came into existence…
Multithreading with Python for Network Engineers
Up until now, we have been establishing connections to devices sequentially, i.e If you have 10 devices from which you want to pull show version data, the script will connect to device1, extract show version, goto device2, extra show version, connect to the device and extract show version and so on until all devices are…
How to Automate Network Devices using Python Netmiko Part 2
In Part 1 of this series, we saw how to establish a connection with network devices using python netmiko and fetch command outputs. In this post, we will see how to enter into enable mode and also configure cisco devices using python netmiko programmatically. If you are new to netmiko, please read Part1 here For…
How to read write Excel with python for Network Automation Part 2
We have already seen how to work with and manipulate CSV files with python for network automation. This post is going to talk about ways you can manipulate excel for network automation using python. Please read How to read write Excel with python for Network Automation Part 1 From one of the previous posts, we…
How To Install and Parse Data with Netmiko Genie Plugin
In the previous post, we have seen how to leverage the TEXTFSM parser with netmiko. In this post, we will see how to install and parse data with Netmiko Genie plugin into a formatted data structure that we can easily export to a datasheet. List of available GENIE PARSERS. Step1:- Install pyats and netmiko You…
How to Install and Parse data with Netmiko TextFSM Plugin
The foremost is to be setup TextFSM correctly for Netmiko to work. The official site (Netmiko & NTC )explains a method that didn’t really work for me. I have tried to set up TextFSM using pip install ntc_templates and also using git clone but none of them particularly worked for me out of the box….