python

A 12-post collection


RSS feed of posts tagged python

IP subnet filtering with Python

In this blog post I want to share, and talk about, Python program I wrote to solve problem of filtering out child prefixes. Contents Problem description Solution Naïve algorithm Patricia »

Pynetbox - NetBox Python API client part 4 - tags and auto-assign prefixes

Time for another post in the series on Pynetbox, API client for NetBox. In the previous posts I showed how to retrieve, create and modify objects. Here we'll have a »

Compute largest summary prefix-length with Python

I'm sure many of you had to compute summary network given a number of subnets. It's one of those rare occasions when you have to dust off binary maths skills »

Pynetbox - NetBox Python API client part 3 - updates and deletions

Time for another post in the series on Pynetbox, awesome PythonAPI client for NetBox. In part 1 we learned how to retrieve information from NetBox, and how to work with »

Pynetbox - NetBox Python API client part 2 - creating objects

Welcome to the second post in the series dedicated to Pynetbox, Python API client for NetBox. In this episode I'll be talking about object creation and we'll go through a »