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>
- add rack elevation view for one or multiple racks
- render front and rear device positions by rack unit
- show physical cabling below selected racks
- add site, location, rack, and empty-rack filters
- add network, leaf, spine, and aggregation switch icons
- add “Weitere Ansichten” navigation category
* allow disabling smooth cables and render them as straight lines instead
* rename 'disable_smooth_cables' to 'straight_cables'
* missed one in renaming
* fix inverted logic
* add GET param and option to DeviceFilterForm
* fix syntax error
* rename var
* add missing query field
* netbox v4 support
---------
Co-authored-by: Daniel Bremer <daniel.bremer@mpsd.mpg.de>
Co-authored-by: mvanhaverbeke <mattijs.vanhaverbeke@ebo-enterprises.com>
* corrected nodeId handling
* add models
* import models, migrate db
* correct migration deps
* load coordinates from db
* add serializers, correct imports
* add views and templates
* fix X-Y swap in help text
* add non-devices to coordinate group view
* Add option to show neighbors
* Updated documentation and help text
* Added newlines at end of files where they where missing
* Updated options screenshot
* fix function vars
---------
* 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