[python]Configuring cisco asa

Introduction I am testing some functions for sending configuration over to cisco asa with netmiko. Netmiko support sending commands and sending commands as a set. In order to deliver the command as a set Jinja2 template engine is used to fill up the variables of the template. The purpose of this post is to record … Continue reading [python]Configuring cisco asa

[python]Check if randomly generated number is a prime with decorator

In this script a random number is generated, before the number is passed the number is checked if it is a prime number if it is then the number is passed. I can either do this with calling a function that checks for prime number validity or use a decorator. A decorator is a function … Continue reading [python]Check if randomly generated number is a prime with decorator