Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netbox_topology_explorer-0.1.1.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netbox_topology_explorer-0.1.1-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

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

Hashes for netbox_topology_explorer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9aef8ec6477c5910edd125f824c145d3de6ecb55faa6bdabae7f203f6f06c1ac
MD5 d5280b3ad39688f2427e9b94099bacdc
BLAKE2b-256 8e70d14e413cfa71f865793793c2a9855c32e0016ff9c0afcd92eb7ccac36bfc

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_topology_explorer-0.1.1.tar.gz:

Publisher: publish.yml on SelfSimon/netbox-topology-explorer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file netbox_topology_explorer-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_topology_explorer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 18b74981ae118290ce1c58b21d4d6395391c03ce0a6a7c47f5062763c1361f90
MD5 afc30870cdb64f9b91a4f56bdb4cb8d0
BLAKE2b-256 026de87d879ed94d1390df4ace31b9a4d7a2f28b36ea0b99daa926415320803f

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page