Skip to content

Network Automation

My journey with Network & Cloud Automation

Menu
  • Beginner
  • DevOps-NetDevOps
  • Network Automation
    • Docker
    • Python Libraries
      • NAPALM
      • Netmiko
      • Jinja2
      • Scrapli
      • Yang
  • Cloud Automation
    • Terraform
  • Python 🐍 Tips and Tricks
Menu

Month: August 2021

asyncio

[Theory] Multithreading vs Multiprocessing vs AsyncIO

Posted on August 31, 2021September 1, 2021 by Gurpreet Kochar

I have been using a multi-threaded version of the synchronous codes that we usually see to interact with devices and for over a year now and I have a network of nearly 28k devices (routers / switches / WLCs / FWs ) that I need to manage. With that multithreaded version, I was able to…

Read more
scrapli network automation

How to use Scrapli for Network Automation

Posted on August 29, 2021September 1, 2021 by Gurpreet Kochar

Scrapli stands for scrape cli very cleverly joined together in one word. Althought he source documentation of this network devices interaction library is really wonderful and can be found here, this is my journal on my path to learning various libraries for device interactions and understand how they differ from each other and which one…

Read more
openpyxl for network engineers

How to read write excel using python openpyxl

Posted on August 27, 2021August 25, 2021 by Gurpreet Kochar

In the previous articles, we have seen how to leverage pandas and csv modules for reading and writing csv and excel files. This post will talk about how to read write excel using python openpyxl. Although pandas is a much more robust package to deal with excel files or tabular data, it has its own…

Read more
yang for network engineers

What is YANG For Network Engineers

Posted on August 25, 2021August 24, 2021 by Gurpreet Kochar

As network engineers are bombarded with more and more terms like NETCONF, RESTCONF, YANG, REST APIs every day, it’s becoming increasingly important to understand the basics of these terms if not in-depth for all network engineers. To begin this series of uncovering the meaning and relevance of these terms for network engineers, let’s start by…

Read more
textfsm for network engineers

How to Parse data with TextFSM

Posted on August 23, 2021August 21, 2021 by Gurpreet Kochar

TextFsm is available as a plugin to various device interaction libraries like Netmiko but what if we need to use TEXTFSM as a standalone python package, it is also available. Conditions where you don’t have access to the devices but have outputs from the device in a text file. We have already seen how to…

Read more

Python Jinja2 For Network Engineers

Posted on August 21, 2021August 21, 2021 by Gurpreet Kochar

Jinja2 is a templating framework that is extremely versatile and its usage is not limited to any particular field like networking or web development. In this post, we will see the power of Jinja2 for network engineers. This flow chart gives the overall concept of jinja2 Let’s take an example to make this more clear….

Read more
Devops_digital_twin

What is Digital Twin for Network Automation

Posted on August 19, 2021August 20, 2021 by Gurpreet Kochar

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…

Read more
python pandas parse write to excel

Data Analysis with Python For Network Engineers.

Posted on August 18, 2021August 18, 2021 by Gurpreet Kochar

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…

Read more
Python Napalm network automation

Python NAPALM For Network Automation

Posted on August 17, 2021August 10, 2021 by Gurpreet Kochar

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…

Read more

How to read write csv with python for Network Automation Part 3

Posted on August 16, 2021August 20, 2021 by Gurpreet Kochar

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…

Read more
  • 1
  • 2
  • 3
  • Next
All Blog Posts
My Resume

Upcoming Posts

Sorry - nothing planned yet!

Recent Posts

  • How to backup configuration to TFTP Server using Ansible – Part II
  • How to backup network devices using Ansible – Part I
  • Netmiko SSH Proxy/JumpServer
  • A short note on SASE
  • Understanding Ansible

Recent Comments

  1. Gurpreet Kochar on Netbox Docker Installation [Quick and Easy]
  2. rayk32 on Netbox Docker Installation [Quick and Easy]
  3. Python API Using FASTAPI - For Network Engineers - Part I – on Python API Using FASTAPI – For Network Engineers – Dynamic Routes – Part II
  4. Python API Using FASTAPI - For Network Engineers - Dynamic Routes - Part II – on Python API Using FASTAPI – For Network Engineers – Part I
  5. Netbox Docker Installation [Quick and Easy] – Network Automation on Docker for Network Engineers Part V – Docker Compose

Archives

  • September 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
Topic Request / Suggestion
Loading
© 2023 Network Automation | Powered by Minimalist Blog WordPress Theme
Network Automation
Proudly powered by WordPress Theme: MinimalistBlogger.
 

Loading Comments...