Power-cable detection previously relied on cable.type, which is usually
unset for power patch cables (e.g. PDU-to-PDU), so they never got the
distinct color. Power cables are now also detected by termination
component type (PowerPort/PowerOutlet/PowerFeed).
Wireless/power display is now toggled client-side via checkboxes in the
Kabeltopologie card header (before the SVG/PNG/draw.io export buttons)
instead of a server round-trip through the top filter form, so toggling
is instant and affects exports too.
Bump plugin version to 4.5.2.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds min_version/max_version to the plugin config for NetBox 4.7.x and
extends the rack view's cable topology with optional wireless and power
cable display, rendered with distinct colors and dash patterns from
regular network cables.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
* [fix] get only valid role images
* [up] add post delete signals for device roles
* [fix] move signal registration in `apps.py`
* [fix] register signals in plugin config & filter valid role images
* [fix] undo role image filter as it is wrong and unnecessary
* [up] revert formatting with black
* Added end to end interface connections, made showing cables and wireless optional
* Fixed 'Hide Unconnected' and other bugs
* rename var + extra check
* Add filter selection image for readme
* Added guidance on using the selection options
* Renaming to selection_options
* Renamed filter_selection to selection_options
* Update README.md
* Bug fix
* fix parameter order
* differentiate line type for interface connections
* allow both cables and logical connections
* Change logical connection line type
Co-authored-by: Mario <github@franzbonenkamp.de>
* Hide redundant connections, configurable options
* updated readme + removed visjs setting from settings
* Update README.md
Co-authored-by: Mario <github@franzbonenkamp.de>
* updated readme for 'Show Logical Connections'
Co-authored-by: tagrusendorf <tagrusendorf@dev-netbox.tag.kbproductions.ca>
Co-authored-by: mattieserver <3049868+mattieserver@users.noreply.github.com>
Co-authored-by: Mario <github@franzbonenkamp.de>
Co-authored-by: Mattijs Vanhaverbeke <mattijs.vanhaverbeke@ebo-enterprises.com>
* [up] add config for custom images, better js
* [up] use bundler to bundle js
* [fix] remove domcontentloaded since defer is used
* [fix] formatting with black
* [fix] images drf api
* [up] add support for custom icons on additional roles: power panel, power feed, circuit
* [up] optimize topology generation by using `_id` when trying to access pk of related object
* [fix] kebab case instead of slugification
* [fix] use empty queryset in api views & change coord save logic
* init
* added circuit (or at least part of)
* refactor circuits + fix js
* small changes
* small changes
* added power + rework settings
* small changes