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

Author: Gurpreet Kochar

list comprehension

Python List Comprehensions

Posted on October 28, 2021October 26, 2021 by Gurpreet Kochar

From the perspective of a network engineer who has just started out on their journey to learn python and network automation, one of the first intimidating concepts that they are likely to come across is the list comprehensions. In this post we will try and cover the basics of python list comprehensions If you have…

Read more
netbox docker

Netbox Docker Installation [Quick and Easy]

Posted on October 24, 2021March 31, 2023 by Gurpreet Kochar

There are a couple of ways you can install Netbox. The first one is a little time-consuming bare-bones method while the second one leverages docker and is just plug and play method. Let’s take a look at Netbox Docker installation method but If you aren’t familiar with Docker, here is a 5 part series that…

Read more
SDWAN Vulnerability scanner

Cisco SDWAN Vulnerability Scanner using Python

Posted on September 29, 2021September 28, 2021 by Gurpreet Kochar

Cisco does have a bug toolkit to programmatically fetch the vulnerability information but it doesn’t have any such API for SDWAN vulnerability information yet. So I had the option to create a web scraper to fetch that information into an excel sheet and update it automatically at a click of a button. Let’s take a…

Read more
yaml

What is YAML For Network Engineers

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

YAML Ain’t Markup Language. From official documentation, YAML is a data serialization standard for all programming languages. Let’s break it down to understand what does MarkUp and data serialization standard really means and the relevance of YAML for network engineers. Q1:- What is a Markup Language? Ans:- A Markup Language is not really a language…

Read more
jinja2

[Advanced] Jinja2 Template Inheritance

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

Jinja2 template inheritance is probably the most powerful feature of the Jinja2 templating library that makes it super easy to scale in large projects and at the same time making it modular and easy to maintain. Most of the time you will find the concept of inheritance explained in the context of web development as…

Read more
jinja2

Basics of Python Jinja2 Templating Library.

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

In the previous Jinja2 post, we have seen a basic use case for network configuration automation. In this post, let’s dive into the basics of Python Jinja2 templating library. The intent is to cover fundaments of jinja2 that most of the time are overlooked because tend to dive directly into the “how to use jinja2”…

Read more
git for network engineers

Git for Network Engineers

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

As more and more network engineers shift towards the world of network automation, GIT is increasingly becoming a more and more important skill set on your resume. While is it not necessary to understand behind the scenes of git for a network engineer or the implementation details of the framework but it indeed is important…

Read more

Docker for Network Engineers Part V – Docker Compose

Posted on September 16, 2021September 9, 2021 by Gurpreet Kochar

In the previous post about Dockerfiles, we saw how to use a YAML file to define the template of the docker containers/images and use those set of instructions to build and distribute your containers. However, what if the application that you are writing has multiple components to it. For example:- You wrote a device monitoring…

Read more
docker for network engineers

Docker for Network Engineers Part IV – What is a Dockerfile

Posted on September 14, 2021September 14, 2021 by Gurpreet Kochar

We have seen the manual method of creating a container from an image and an image back from a container after you have done all the customizations. What if there is a more automated way of doing this. We can achieve the same end goal by using a DockerFile. What is DockerFile? Dockerfile is nothing…

Read more
docker for network engineers

Docker for Network Engineers Part III – Creating a custom docker image/container

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

In this post on Docker for Network Engineers, From the ubuntu container that we created in the last post, we will now customize the container to install all the base dependencies that we need for our project. apt upgrade apt update apt install software-properties-common add-apt-repository ppa:deadsnakes/ppa apt install python3.9 apt install python3-pip apt install nano…

Read more
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 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...