feat: Ports tab for switches with front-panel view and VLAN colours

Devices with the role "Switch" get a Ports tab: key figures, a front-panel
view of all physical interfaces grouped per stack member/line card and
medium (odd ports on top, even below), coloured by usage or by the VLAN
noted in the interface label, with a VLAN legend and filter, tooltips with
peer and description, a searchable table of all interfaces, CSV export
and a print view. Peers follow the cable path through patch panels.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-10-30 08:54:37 +01:00
1 parent 9fd3e01cdf
commit 9ecad07c96
9 files changed
+776

No files matched your search

+4
View File
@@ -19,6 +19,10 @@ def hardware_enabled():
return bool(get_plugin_config("netbox_utilities", "hardware_enabled"))
def switch_ports_enabled():
return bool(get_plugin_config("netbox_utilities", "switch_ports_enabled"))
def offline_svg_export_enabled():
return bool(get_plugin_config("netbox_utilities", "offline_svg_export_enabled"))