python
2024
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.
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: 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.
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.
2023
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.
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
Check_MK: Use API on Check_MK 2.x to trigger tabula rasa for hosts
·166 words·1 min
blog
python
api
check_mk
Sometimes if you must reinventory a huge amount of devices in Check_MK 2.
ProxySG authentication performance low
·541 words·3 mins
troubleshooting
blog
python
proxysg
bcaaa
Last year I had an intresting case on Bluecoat/Symantec ProxySG (now Broadcom) with performance issues.