netbox-wdm
A NetBox 4.7.0+ plugin for WDM (Wavelength Division Multiplexing) device management.
Manages ITU channel plans, channel-to-port assignments, trunk port identification, ROADM live editing, and wavelength service tracking.
Alpha software. The API and data model may change between releases. Use in production at your own risk.
Features
- Overlay pattern --
WdmDeviceTypeProfileoverlaysDeviceType(blueprint),WdmNodeoverlaysDevice(instance). - Dual port support -- separate MUX and DEMUX front port assignments per channel, with duplex and single-fiber modes.
- ITU grid support -- DWDM C-band 100 GHz (44 ch), DWDM C-band 50 GHz (88 ch), DWDM L-band 100 GHz (72 ch), DWDM L-band 50 GHz (143 ch), CWDM (18 ch).
- EXP / 1310 ports -- express upgrade and 1310 nm gray optic pass-through as COM rear port positions.
- Auto-population -- channels automatically created from profile templates when a device is added.
- DeviceType integration -- WDM Profile tab on DeviceType detail pages.
- Modular chassis support -- a WDM profile can also attach to a
ModuleType, so a multi-bay chassis gets one independent set of channels and line ports per installed cassette module. - Wavelength editor -- TypeScript frontend with undo/redo, dirty state, optimistic concurrency, conditional MUX/DEMUX columns.
- Wavelength services -- end-to-end service tracking with sequenced channel assignments and PROTECT guards.
- Circuit trace visualization -- interactive horizontal flow diagram on
WdmCircuitdetail pages. - Full CRUD stack -- list, detail, edit, delete, bulk import/edit/delete views for all models.
- REST API -- CRUD endpoints plus
apply-mapping(atomic ROADM editor) andstitch(wavelength path). - GraphQL -- strawberry-django types, filters, and schema for all models.
- Sample data -- management command with realistic WDM topologies, patch panels, and end-to-end cabling.
Compatibility
| Plugin version | NetBox version | Python |
|---|---|---|
| main (unreleased) | 4.7.0+ | 3.12-3.14 |
| 0.2.x | 4.5 | 3.12-3.14 |
CI runs the full suite against the latest 4.7 release. NetBox's module relocation (moving an installed module to another bay or device) is handled: a relocated module takes its WDM channels and line ports with it.
Installation
pip install netbox-wdm
In your NetBox configuration.py:
PLUGINS = ["netbox_wdm"]
Configuration
Optional settings, with their defaults, in PLUGINS_CONFIG:
PLUGINS_CONFIG = {
"netbox_wdm": {
# Maximum number of hops the cable-chain walker follows between two
# WDM nodes (path discovery and circuit trace rendering). Raise this
# if legitimate chains pass through more intermediate devices; a
# warning is logged when the cap truncates a trace.
"max_trace_hops": 100,
},
}
Apply migrations:
cd /opt/netbox/netbox
python manage.py migrate
Documentation
Full documentation: jsenecal.github.io/netbox-wdm
Key references:
docs/developer/architecture-- overlay pattern, port topology, position-stack alignment.docs/developer/style-guide-- frontend conventions for the TypeScript components.docs/user/modular-chassis-- WDM profiles on ModuleType, per-module channels and line ports, install/remove lifecycle.
Models
| Model | Description |
|---|---|
WdmDeviceTypeProfile |
1:1 overlay on dcim.DeviceType -- defines grid, node type, and fiber type (duplex / single-fiber) |
WdmChannelTemplate |
Channel-to-port blueprint with MUX and DEMUX front port template assignments |
WdmNode |
1:1 overlay on dcim.Device -- instance of a WDM device |
WdmLinePort |
Identifies trunk RearPorts with direction (common / east / west) and role (tx / rx / bidi) |
WdmChannel |
Per-channel instance with MUX and DEMUX front port assignments |
WdmWavelengthPath |
End-to-end traced path through the cable plant between WDM nodes |
WdmCircuit |
Logical service grouping one or more wavelength paths |
Modular chassis support
Some WDM hardware is a bare chassis that takes swappable cassette modules
(for example, a 1RU shelf with two CWDM MUX/DEMUX bays). netbox-wdm models
this by letting a WdmProfile attach to a dcim.ModuleType instead of a
DeviceType: each installed Module gets its own WdmChannel and
WdmLinePort rows, scoped to that module, so two cassettes in the same
chassis behave as independent WDM nodes that happen to share a device shell.
Installing or removing a module creates or tears down its channels and line
ports automatically; wavelength paths and port-sync state are retraced for
any node affected by the change. See docs/user/modular-chassis for the
full lifecycle and a worked example.
Related plugins
netbox-wdm is part of a three-plugin set that models the full optical transport stack:
- netbox-fms -- Fiber Management System. Defines fiber cable construction (buffer tubes, ribbons, strands), plans splices in closures, and provisions the fiber circuits that WDM wavelength paths ride on.
- netbox-pathways -- physical cable plant documentation with PostGIS. Models conduits, aerial spans, structures (poles, manholes, cabinets), and the geographic routes the cables carrying WDM circuits traverse.
Contributing
PRs welcome. Use conventional-commits PR titles (feat:, fix:, chore:, docs:, ...) -- release-drafter assembles release notes from them. Run make setup after cloning to install dev dependencies and the pre-commit hooks (including the AI-attribution-rejecting commit-msg hook).
License
Metadata
Release files for netbox-wdm 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| netbox_wdm-0.3.0.tar.gz | 177.8 kB | With provenance | Details for netbox_wdm-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| netbox_wdm-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for netbox_wdm-0.3.0-py3-none-any.whl |
Total release size: 350.1 kB
Release files / netbox_wdm-0.3.0.tar.gz
| Download URL | netbox_wdm-0.3.0.tar.gz |
|---|---|
| Size | 177.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acde573fb7e9e75e9a9a8cac5b2effa134e91c9f29d195420aeeb80d676f29da
|
|
BLAKE2b-256 checksum How to use checksums |
e650feae90fd8769fb64d653d60dba0bc4e258a056d5a496a9fc681d41df20d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / netbox_wdm-0.3.0-py3-none-any.whl
| Download URL | netbox_wdm-0.3.0-py3-none-any.whl |
|---|---|
| Size | 172.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88c9e5d214c31561c5008b319c879572de426458cfc87c236606b0b814b19e99
|
|
BLAKE2b-256 checksum How to use checksums |
22a8011814e2d681e5425bf2c5d05b441ca844c9075af5d35fb80b8ea857731e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logSecurity for netbox-wdm 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for netbox_wdm-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.