Python - Inheritance vs Composition

Introduction In our previous article, we looked at - Inheritance vs Polymorphism. Within this article, we will look at another OOP aspect - Inheritance vs Composition. To explain this our example will be base upon a small ACL builder. This builder build an ACL for either an IOS or Junos…

Read More

Python - Inheritance vs Polymorphism

Introduction Two important terms to understand when learning Python and OOP (object-oriented programming) are inheritance and polymorphism. Inheritance Inheritance establishes a relationship between two classes - parent (superclass) and child (subclass). Child classes keep the attributes and methods of their parent, whilst also adding new attributes or methods of its…

Read More

Python - Creational Design Patterns

Introduction Design patterns offer solutions to common software design problems. When it comes to OOP (object-oriented programming), design patterns are more focused on solving the problems of object generation and interaction, rather than the larger scale problems of overall software architecture.[1] Gang of Four In 1994, four authors --…

Read More

How to Build a Spine and Leaf Fabric with Ansible

Introduction Today we will be exploring the world of Ansible and how it can be used to automate the network. Within this tutorial we will start with automating the provisioning of an L3 spine and leaf fabric. Once complete we will then automate the connectivity testing across the fabric. Let's…

Read More

Juniper Releases FREE Network Automation Labs

For those of you starting out on your network automation journey, then this is for you. The great guys at Juniper have released a set of free network automation labs at https://labs.networkreliability.engineering/. As they state, NRE Labs is a no-strings-attached, community-centered initiative to bring the skills of…

Read More