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

Category: Scrapli

scrapli network automation

Python Scrapli AsyncIO Usage

Posted on September 4, 2021September 12, 2021 by Gurpreet Kochar

We have seen how to achieve parallel task execution in python using multi-threading as in the below-linked post. Let’s see how we can leverage Python Scrapli AsyncIO to achieve similar results. Part1 of scrapli can be found here What is AsyncIO? asyncio is a library to write concurrent code using the async/await syntax. asyncio is used as a foundation…

Read more
Multithreading vs Multiprocessing vs Asynchronous

[Practical] Multithreading vs Multiprocessing vs Asynchronous

Posted on September 2, 2021September 12, 2021 by Gurpreet Kochar

We have already seen in theory how all of the above differ and where each of them is applicable and useful. In this post, I will try to demonstrate the same concept using practical examples. I could have spun up tens of devices in GNS3/Eve-ng but I figured just using manual delays to simulate the…

Read more
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
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
 

Loading Comments...