Skip to main content

blog

2024

Building a Flask web app with MongoDB and DataTables
·1174 words·6 mins
netdevops blog flask mongodb pymongo datatables pandas
In modern web applications, handling and visualizing large datasets is essential.
Boosting NetBox Performance: A Guide to Scaling Workers with Docker and Native Installations
·816 words·4 mins
netdevops blog netbox workers docker systemd
NetBox is an essential tool for network documentation and IP address management, but as your infrastructure grows, so do the demands placed on it.
Howto handle credentials in middleware containers
·1832 words·9 mins
netdevops blog python vault ansible
So, you’re diving into the world of middleware containers, huh?
Logging in Docker & Python: Guide to JSON logging with Graylog
·1443 words·7 mins
netdevops blog docker graylog python flask loguru vault
Logging is a critical aspect of modern application development and operations.
LiveLab: Use Forgejo CI/CD for middleware containers
·3832 words·18 mins
blog netdevops livelab forgejo python ci_cd git docker flask actions workflow
Forgejo is an interesting alternative to GitLab, Gitea, Bitbucket, etc.
LiveLab: Cisco PnP provisioning with Netbox
·2707 words·13 mins
blog netdevops livelab cisco pnp netbox middleware flask
If you’re tired of feeling like a circus performer juggling flaming torches when provisioning Cisco devices, it’s time to meet your new best friend: Netbox.
Netbox Config Contexts and Config Templates
·1736 words·9 mins
netdevops blog netbox ansible context_data config_templates
One of NetBox’s killer features is its context data & configuration template rendering, which positions it as the ultimate single source of truth, regardless of the vendor or vendor mix in use.
Faker - a fake data generator
·169 words·1 min
netdevops blog python
When developing scripts, you sometimes need fake data to test your code and implementations.
LiveLab: Automating Excel Reports with Ansible, Flask, Mongodb, TextFSM and Pandas
·2081 words·10 mins
blog netdevops livelab ansible excel flask mongodb textfsm pandas
Today, I want to show you how I use Ansible, Flask, MongoDB, TextFSM and Pandas to generate Excel reports.
LiveLab: Netbox VLAN deployment to Cisco devices
·1886 words·9 mins
netdevops livelab blog python netbox apiflask
Welcome to my latest blog post where I’ll be taking you through an exciting demonstration of integrating NetBox with custom middleware to automate VLAN deployments on Cisco devices.
Flask decorator for Netbox webhook authentication
·151 words·1 min
netdevops blog python netbox webhook flask apiflask
Today, I am excited to share with you a decorator for Flask/APIFlask, specifically designed for Netbox webhook authentication.
Netdevops python libraries toolbox
·1720 words·9 mins
netdevops blog python apiflask flask loguru ciscoconfparse dynaconf pymongo rq netmiko paramiko ansible pandas ntc_templates textfsm requests
In the ever-evolving landscape of network management and automation, the role of Network DevOps has become increasingly pivotal.
Use Ansible Tower API
·349 words·2 mins
netdevops blog python ansible tower api
Here are some code examples to use the Ansible Tower API from python scripts.
Creating a RESTful API with APIFlask, JWT Token-based Security and PyTest
·680 words·4 mins
netdevops blog apiflask jwt pytest
In this blog post, I will show you how to create a simple RESTful API using APIFlask.
Validators / Converters / Formatter / Helper in Python
·743 words·4 mins
netdevops blog python validator helper converter
If you are engaged in NetDevOps, you need to validate and convert data, and occasionally, you’ll require some assistance.
Working with MongoDB & Python
·1357 words·7 mins
netdevops blog python mongodb
MongoDB is considered an easy-to-use database for several reasons, particularly when used in conjunction with PyMongo.
Interaction with REST API <-> Ansible playbook
·473 words·3 mins
netdevops blog ansible api
This is a short example how you interact from an ansible playbook with a rest api.
Netbox <-> Ansible Tower inventory integration
·220 words·2 mins
netdevops blog ansible netbox inventory
How to integrate NetBox inventory into Ansible Tower as an inventory source?

2023

Create ansible config file with all default values
·34 words·1 min
netdevops blog ansible
If you need in your venv environment a plane ansible.
FLASK with LDAP Authentication against Active Directory and group authorization for specific pages
·457 words·3 mins
netdevops blog python flask ldap active_directory
This is an example of how to implement authentication for a FLASK website using Active Directory with LDAP.
Ansible: Disable / Enable proxy for single task
·152 words·1 min
netdevops blog ansible proxy tower
In my AWX Tower, I have globally set up a proxy.
Rollout new images to Cisco devices with Ansible
·307 words·2 mins
netdevops blog ansible cisco rollout update
Depending on the hardware model, this playbook will copy the appropriate image from an HTTP web server to the switch.
Merge subnet lists
·80 words·1 min
netdevops blog python subnet cidr merge
This is a small python snippet to merge multiple subnet lists mixed with single ip addresses and CIDRs.

2022

APIFlask Webhook Listener for Netbox
·258 words·2 mins
netdevops blog netbox python api apiflask
This little code snippet is the base of my Netbox Webhook Listener written in APIFlask.
Automation: Netbox sync to CheckMK
·1055 words·5 mins
blog netbox python api check_mk
Script to sync Netbox assets to CheckMK