netbox-topology-explorer
NetBox plugin that adds a Topology tab to each location (dcim.Location),
each tenant and each tenant group.
The tab shows a graphical view of all devices in the selected scope. Clicking on a device reveals the full cable path trace (port → cable → remote port, traversing patch panels) and highlights the route. A tabular view with CSV export is also available.
No data is created or modified: the plugin reads existing NetBox data and reuses NetBox's native cable tracing engine.
Compatibility
| Package | NetBox | Python |
|---|---|---|
| 0.1.x | ≥ 4.5 | ≥ 3.10 |
Installation
1. Install the package
pip install netbox-topology-explorer
# or from source:
pip install git+https://github.com/SelfSimon/netbox-topology-explorer.git
2. Enable the plugin in NetBox
Add the plugin to configuration.py (or configuration/plugins.py depending
on your setup):
PLUGINS = [
# ... other plugins
'netbox_topology_explorer',
]
No migrations are required: the plugin does not create any database models.
3. Restart NetBox
sudo systemctl restart netbox netbox-rq
Usage
- Location (Infrastructure > Locations) → Topology tab
- Tenant (Tenancy > Tenants) → Topology tab
- Tenant Group → Topology tab
Keyboard shortcuts in the graphical view:
Escape— deselect the active device- Mouse wheel — zoom
- Drag background — pan the graph
License
MIT — see LICENSE.
Contributors
- G1tHub-PRO — Original author
- SelfSimon — Contributor
Developer setup
Quick setup for contributors — creates a virtualenv, installs development
dependencies and installs the pre-commit git hooks.
PowerShell (Windows):
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
pip install -e ".[dev]"
pre-commit install
pre-commit run --all-files
POSIX (macOS / Linux):
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -e '.[dev]'
pre-commit install
pre-commit run --all-files
If you prefer automation, run scripts/bootstrap.ps1 on Windows or
scripts/bootstrap.sh on POSIX systems to perform these steps.
Metadata
Release files for netbox-topology-explorer 0.2.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 | |
|---|---|---|---|
| netbox_topology_explorer-0.2.0.tar.gz | 24.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| netbox_topology_explorer-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.9 kB
Release files / netbox_topology_explorer-0.2.0.tar.gz
| Download URL | netbox_topology_explorer-0.2.0.tar.gz |
|---|---|
| Size | 24.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4785d7032e4af75ad7ab979d069d5749af7c254b01aee89d39ab5851f1c24219
|
|
BLAKE2b-256 checksum How to use checksums |
104b3a89b3c5dfad308567676510d3bebeea1b7f393c39ab78fefaf737f4f844
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 17, 2026.
Transparency logRelease files / netbox_topology_explorer-0.2.0-py3-none-any.whl
| Download URL | netbox_topology_explorer-0.2.0-py3-none-any.whl |
|---|---|
| Size | 24.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6f71322d93f745fe951d51e8314526739ce712d4076ef020620745f5c2784f8
|
|
BLAKE2b-256 checksum How to use checksums |
8d085bfb05bd4bf6b116d08582759a56661909e18232a41bf672a7af8c269798
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 17, 2026.
Transparency log