Buy My Book on Amazon Buy My Book Direct (PDF) GitHub Profile LinkedIn Profile

Running containerlabs Inside Jenkins Container

Map docker daemon from host to docker container

Git / GitHub - Notes

My personal notes on Git and Github

Permissions in Linux

Users and Permissions

Build a Docker Image for Network Automation

Development environment for network autommation

Working with the FortiGate REST API

Learn how to set up and use the FortiGate REST API with Python

Extending the LogMessage class

Extend LogMessage and Operations Classes

LogMessage and Operations classes

Designing a Device Logs Class in Python

Class Methods and Variables

Understanding Python Class Methods with `datetime` and a Fun Example 😄

Inheritance in Python

Post 2 of series on OOP for Network Engineers

Your First Python Class is a Device

Post 1 of series on Python OOP for Network Engineers

Using Python to Convert CIDR to Subnet/Wild Card

Use ipaddress library to quickly convert CIDR to IP/Mask - useful when converting from NX-OS/XR to IOS-XE. Cisco uses CIDR notation in ACLS, and Static Routes in some IOS Versions and IP+Subnet/Wildcard Mask in other, this library can do conversion.