NetBox plugin: graphical topology view of devices and cable path traces per location
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netbox_topology_explorer-0.1.1.tar.gz.
File metadata
- Download URL: netbox_topology_explorer-0.1.1.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9aef8ec6477c5910edd125f824c145d3de6ecb55faa6bdabae7f203f6f06c1ac
|
|
| MD5 |
d5280b3ad39688f2427e9b94099bacdc
|
|
| BLAKE2b-256 |
8e70d14e413cfa71f865793793c2a9855c32e0016ff9c0afcd92eb7ccac36bfc
|
Provenance
The following attestation bundles were made for netbox_topology_explorer-0.1.1.tar.gz:
Publisher:
publish.yml on SelfSimon/netbox-topology-explorer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
netbox_topology_explorer-0.1.1.tar.gz -
Subject digest:
9aef8ec6477c5910edd125f824c145d3de6ecb55faa6bdabae7f203f6f06c1ac - Sigstore transparency entry: 2134310503
- Sigstore integration time:
-
Permalink:
SelfSimon/netbox-topology-explorer@10b3760cf66cab89f0aa7580ab781e5293207fe1 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/SelfSimon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@10b3760cf66cab89f0aa7580ab781e5293207fe1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file netbox_topology_explorer-0.1.1-py3-none-any.whl.
File metadata
- Download URL: netbox_topology_explorer-0.1.1-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18b74981ae118290ce1c58b21d4d6395391c03ce0a6a7c47f5062763c1361f90
|
|
| MD5 |
afc30870cdb64f9b91a4f56bdb4cb8d0
|
|
| BLAKE2b-256 |
026de87d879ed94d1390df4ace31b9a4d7a2f28b36ea0b99daa926415320803f
|
Provenance
The following attestation bundles were made for netbox_topology_explorer-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on SelfSimon/netbox-topology-explorer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
netbox_topology_explorer-0.1.1-py3-none-any.whl -
Subject digest:
18b74981ae118290ce1c58b21d4d6395391c03ce0a6a7c47f5062763c1361f90 - Sigstore transparency entry: 2134310526
- Sigstore integration time:
-
Permalink:
SelfSimon/netbox-topology-explorer@10b3760cf66cab89f0aa7580ab781e5293207fe1 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/SelfSimon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@10b3760cf66cab89f0aa7580ab781e5293207fe1 -
Trigger Event:
push
-
Statement type: