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

DevOps For Network Engineers

What is DevOps/NetDevOps For Network Engineers?

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

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…

Read more
multithreading with python for network engineers

Multithreading with Python for Network Engineers

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

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…

Read more
Netmiko TEXTFSM

How to Automate Network Devices using Python Netmiko Part 2

Posted on August 11, 2021January 30, 2022 by Gurpreet Kochar

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…

Read more
python pandas parse write to excel

How to read write Excel with python for Network Automation Part 2

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

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…

Read more
netmiko genie parser

How To Install and Parse Data with Netmiko Genie Plugin

Posted on August 9, 2021August 7, 2021 by Gurpreet Kochar

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…

Read more
Netmiko TEXTFSM

How to Install and Parse data with Netmiko TextFSM Plugin

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

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….

Read more
automation excel with python

How to read write Excel with python for Network Automation Part 1

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

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. There are a lot of modules available that can interact with excel programmatically using python. To name a few:- xlrd –…

Read more

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

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

In Part1 of this series of network automation, we saw how to read device data from csv files and build a dictionary of that data so that we can have netmiko leverage that directly from the csv sheet rather than building the dictionary manually for each device. Now, we are going to see how to…

Read more

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

Posted on August 4, 2021August 5, 2021 by Gurpreet Kochar

We sure can build static dictionaries to interact with network devices for the purpose of network automation. How to Automate Network Devices using Python Netmiko Part I In the real world, this is not practical, we almost always will be required to read the device data from an inventory source which most of the time…

Read more
Netmiko TEXTFSM

How to Automate Network Devices using Python Netmiko Part I

Posted on August 3, 2021October 1, 2024 by Gurpreet Kochar

In this post, we are going to cover the very basics of Netmiko. This is a beginner-level introduction on how to automate networking devices using python netmiko in which we will talk about how to install and set up SSH to network devices using python. Also how to write a basic script for interacting with devices…

Read more
  • Previous
  • 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. Jack on Multithreading with Python for Network Engineers
  2. LifeCanvas on [Theory] Multithreading vs Multiprocessing vs AsyncIO
  3. Jasper Horng on Netmiko SSH Proxy/JumpServer
  4. asdfasdf on Python API Using FASTAPI – UPDATE – PUT – PATCH – Part V
  5. Gurpreet Kochar on Python Scrapli AsyncIO Usage

Archives

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

Loading Comments...