I’m currently preparing for a network rollout and the preparation includes assigning subnets to the sites. There are subnets needed for management, wired users, wireless users, guests, and so on. Once subnets have been assigned, for some of the subnets,
Using Python to Calculate Cisco SD-WAN Tunnel Numbers – Part 2
In the first post I shared with you my code to calculate tunnel numbers in Cisco SD-WAN. I’m a beginner in Python so I thought it would be a great learning experience to have someone experienced in Python, such as
Using Python to Calculate Cisco SD-WAN Tunnel Numbers – Part 1
When using Cisco SD-WAN on IOS-XE, it uses tunnel interfaces to configure parameters of the implementation. There is a mapping between what interface the tunnel is sourcing from and the name of the tunnel interface. For example, if the tunnel
Python Script Pulling AWS IP Prefixes – Part 3
The two previous posts described what the script does and modules used as well as how the script leverages YAML. This time, we will go through the function that generates the access-list name. The code for this is below: The
Python Script Pulling AWS IP Prefixes – Part 2
In the previous post I described some of the design considerations for this script and what modules I use. In this post, we will look at using YAML to collect data and use it in Python in the form of
Python Script Pulling AWS IP Prefixes – Part 1
I have been playing around with Python lately with the goal of building basic skills in it. I have found that to make good progress what works best for me is: Have a project that I find interesting to work
Python – Kirk Byers Course Week 4 Part 3
This post will describe the exercises and solutions for week four of Kirk Byers Python for Network Engineers. The final exercise of week 4 is the following. [code lang=”text”] III. Create a program that converts the following uptime strings to
Python – Kirk Byers Course Week 4 Part 2
This post will describe the exercises and solutions for week four of Kirk Byers Python for Network Engineers. Our next task is to parse data from show version from a device. [code lang=text] II. Parse the below 'show version' data
Python – Kirk Byers Course Week 4 Part 1
This post will describe the exercises and solutions for week four of Kirk Byers Python for Network Engineers. The first exercise is the following: [code lang=text] I. Prompt a user to input an IP address. Re-using some of the code
Python – Kirk Byers Course Week 3 Part 3
This post will describe the exercises and solutions for week three of Kirk Byers Python for Network Engineers. The last exercise of the week is to create an IP address checker that checks the validity of an IP address. Here