How netbox-community/netbox works
NetBox is a network-infrastructure source of truth: engineers model intended network state through its UI or programmable APIs, then automation and other tools consume that state. Its domain model spans physical infrastructure, IPAM, circuits, and related network resources; shared model features provide customization, validation, permissions, and change history. The README documents configuration rendering, scripts, event-driven webhooks, and plugins as major capabilities. The tree and excerpts support the component paths; many detailed integrations are documented but their implementations were not sampled.
Main entry points: views Web UI · api REST API · event_rules.py Event Rules · graphql GraphQL API
Components 22
User Interfaces
- Web UI
netbox/netbox/views - REST API
netbox/netbox/api - GraphQL API
netbox/netbox/graphql
Network Model
- Physical Infrastructure
netbox/dcim/models - IP Address Management
netbox/ipam/models - Circuits
netbox/circuits/models - Virtualization
netbox/virtualization/models - VPN
netbox/vpn - Wireless
netbox/wireless - Tenancy
netbox/tenancy/models
Governance and Extensibility
- Plugins
netbox/netbox/plugins - Custom Fields and Tags
netbox/extras/models
Automation and Events
- Configuration Rendering
netbox/extras/models/configs.py - Custom Scripts
netbox/extras/scripts.py - Event Rules
netbox/extras/event_rules.py - Webhooks
netbox/extras/webhooks.py
Shared Platform
- Network State
- Model Features
netbox/netbox/models/features.py - Permissions
netbox/users/models/permissions.py - Change Logging
netbox/core/models/change_logging.py
Other components
- Network Engineer
- Automation Tools
Connections 25
- Network Engineer → Web UI: models state
- Network Engineer → REST API: accesses API
- Network Engineer → GraphQL API: queries data
- Web UI → Physical Infrastructure: models infrastructure
- Web UI → IP Address Management: manages resources
- REST API → Network State: exposes network state
- GraphQL API → Network State: queries network state
- Physical Infrastructure → Network State: persists intended state
- IP Address Management → Network State: persists intended state
- Circuits → Network State: models circuits
- Virtualization → Network State: models resources
- VPN → Network State: models resources
- Wireless → Network State: models resources
- Tenancy → Network State: models resources
- Model Features → Network State: extends managed models
netbox/netbox/models/features.py - Permissions → Web UI: restricts access
- Change Logging → Network State: records changes
- Custom Fields and Tags → Model Features: extends data model
netbox/netbox/models/features.py - Configuration Rendering → Network State: renders configurations
- REST API → Automation Tools: serves rendered configs
- Network Engineer → Custom Scripts: runs workflows
- Event Rules → Custom Scripts: triggers scripts
- Event Rules → Webhooks: triggers webhooks
- Webhooks → Automation Tools: sends events
- Plugins → Web UI: adds functionality