Introduction
If you've automated the generation of your network configuration, chances are you've used Jinja. If not,
Jinja is a templating engine used to generate text-based files from data input.
Below shows a quick example:
One feature that Jinja provides is filters. Filters allow you to
Today I want to share with you a small tip on how to dynamically set class attributes within Python. Before we do, I just want to point out that this is actually something I learnt a few months back after going through the Nornir code base. Therefore true kudos goes
The other day I was asked:
How do I get usernames and passwords into my Python scripts? For example to use with Netmiko, Scrapli or Nornir.
The simple answer to this is the library python-dotenv.
Whats python-dotenv?
python-dotenv is a library that loads your environment variables from a .env file.
Today I want to talk about something that I have been enjoying and adopting more and more over the last 6 months, which is using the code as a form of documentation/source of truth for open-source projects/code.
What do I mean by this? By this, I simply mean,
A common question that arises in the area of network automation is:
What’s the difference between Ansible and Nornir?
I mean, they are both frameworks that can manage and automate groups of network devices, right? They are also both built on top of Python. So what is the difference
Today I want to share with you a small tip that I regularly use to prevent having to write multiple else-if statements within my code. You may now be asking,
what's wrong with writing multiple else-if statements?
Well, to be fair, nothing. However, I will show you an
For those of you who are new to SuzieQ, its an:
open-source platform that polls your network stores the data in a DB, allowing you to query and analyse your data in lots of cool ways. Think troubleshooting and config compliance testing.
One of the biggest releases to date has
3 min read
Subscribe to our newsletter and stay updated.
Don't miss anything. Get all the latest posts delivered straight to your inbox.