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

Tag: API

fastapi_5

Python API Using FASTAPI – UPDATE – PUT – PATCH – Part V

Posted on November 15, 2021November 5, 2021 by Gurpreet Kochar

To continue our journey to build a python API using FASTAPI, we will see how to update a record in the database either fully or partially. These operations are called PUT or PATCH. The fundamental difference between a PUT and PATCH operation is that PUT indicates updating the entire record while PATCH means updating a…

Read more
fastapi_4

Python API Using FASTAPI – POST – CREATE – Part IV

Posted on November 11, 2021October 29, 2021 by Gurpreet Kochar

Up until now, we have seen various techniques of dealing with GET requests but this post will deal with the next operation of POST which means creating a new object or resource on the server/database. The table below gives the mapping of the HTTP request methods to CRUD operations. Let’s see how to use POST…

Read more
fastapi_2

Python API Using FASTAPI – For Network Engineers – Dynamic Routes – Part II

Posted on November 4, 2021November 4, 2021 by Gurpreet Kochar

In Part 1 we saw how to get started with FASTAPI and writing simple GET endpoints. In this post, we will see how we can configure dynamic routes to accept variables in the get request. Please note I am not referring to passing query parameters here. We will see how to use query parameters in…

Read more
fastapi_1

Python API Using FASTAPI – For Network Engineers – Part I

Posted on November 1, 2021November 4, 2021 by Gurpreet Kochar

There are multiple frameworks one could leverage to write a simple API but in this post, we are going to talk about a relatively newer framework called FASTAPI for writing your own quick and simple python API using FASTAPI for network automation. Step1:- Create a virtual environment and install the required libraries. Step2:- Download database.csv…

Read more

Beginners Guide to Network Automation

Posted on August 2, 2021August 3, 2021 by Gurpreet Kochar

Network Automation is the new buzz word which essentially means use of software and technology to reduce human effort to perform the tasks that we have been conventionally doing thus far. You could read up on the definitions and different perspectives of major players in this industry like CISCO JUNIPER VMWARE REDHAT Here in this…

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. 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
© 2026 Network Automation | Powered by Minimalist Blog WordPress Theme

Loading Comments...