Projects › VLAN Rollout to Access Switches from a CSV
VLAN Rollout to Access Switches from a CSV
The floor refresh needs four new VLANs on every access switch. Drive the change from data: read the switch list from inventory.csv and the VLANs from vlans.csv, push them with Netmiko, save each switch, and write a per-switch rollout report. The distribution switch is out of scope for this change.
Difficulty: foundation · Time: about 35 minutes
Why it matters
Pushing the same change to many devices from a data file is the bread and butter of network automation — and the place mistakes multiply. Scoping by role, correcting what is already there, and saving the result are what make a rollout safe to run twice.
Technologies
- Python
- Netmiko
- VLANs
- CSV
- Idempotent Changes
Related projects
- Automated Multi-Device Configuration Backup with Python & Netmiko
- Ansible Playbooks for Infrastructure as Code (IaC) & Compliance
- Model-Driven Programmability: RESTCONF & YANG Automation with Python
- Automated Network Validation & Pre/Post Checks with pyATS & Genie
- Python Config Backup with Change Detection
- Configuration Compliance Audit and Drift Remediation
- Templated Branch Router Rollout with Jinja2
- Pre/Post Change Verification with Automatic Rollback