NetBox Custom Scripts & Plugins
summary
NetBox runs Python custom scripts as web forms or via the REST API to perform repeatable business logic, with logging, optional CSV output and a built‑in dry run mode. Demo scripts create a new site and 3 devices created (Juniper 2200C) and sync external assets via Snipe‑IT to import Snipe‑IT import of 2 devices into site chs through a CI/CD GitHub Actions push. Plugins add a VPC model linked by foreign key to core prefixes, inject UI sections on prefix pages (template injection) and expose namespaced API endpoints under /api/plugins.
AI-written summary · about
chapters (12)
- 0:00Introduction to NetBox
- 2:26Custom scripts overview
- 5:17Demo: Creating a site with devices
- 8:05Demo: Integrating with external systems
- 11:40CI/CD for custom scripts
- 14:30Plugins overview
- 15:55Demo: AWS resources plugin
- 18:24Plugin code structure
- 21:29Plugin navigation and UI
- 22:32Template injection in plugins
- 26:04Plugin REST API
- 28:11Resources and Q&A
related talks
43mUsing NetBox DNS
23mImpact assessment with Netbox Path
41mHow to Build a Network Automation Stack From The Ground Up
50mJust Enough Network Automation to Get You Started
51mNetwork Automation Transformation Phase 0: Source of Truth
23mJust Claim It: Simplifying Network Automation with NetBox Operator...
36mSelf-service Network Automation Using Slack
24mNetBlocks: Staging Layouts for High-Performance Custom Host Network Stacks
