Today I`m going to quickly show you how you can save a bunch of time and code when writing classes.
Typically when writing a class we do something like this.
class Interface:
def __init__(self, name: str, speed: int, mtu: int) -> None:
self.name = name
self.speed
Today I want to share a very cool feature of SuzieQ, which I've been using a lot at the moment, but before I dive in, for those of you who are new to SuzieQ...
SuzieQ is an observability platform that allows you to query your network using a
The other day I was made aware (thanks to Dinesh Dutt) of a small tip when working with and iterating over Pandas DataFrames.
If you`ve used Python and tools like Batfish (course here) or Suzieq (course here) to automate your network, then you may be familiar with DataFrames. However,
Don't get me wrong Pip is a great package manager but there is one thing that had always bugged me, that was having all the dependencies within a single file. For example having all of your development dependencies (linters, formators etc) and your application dependencies (Scrapli, Nornir etc)
A look at the different tools that we can use to perform a differential comparison—ranging from difflib for text block comparison to the more advanced diffsync.
In my previous life as a firewall admin, I found that there were two key things to maintaining a healthy firewall ACL. First, ensure it passes the necessary traffic! Secondly, ensure that the ACL was cluttered with any unnecessary ACL entries. By making sure our ACL's were clutter-free
When I first started in network automation, I took to Vim, vigorously writing out code. Was it clean code, easy to support and extend? Hell no! I have to admit it was damn ugly code. At the end of the day, I had just started out and was enjoying my
1 min read
Subscribe to our newsletter and stay updated.
Don't miss anything. Get all the latest posts delivered straight to your inbox.