Ports without a label show the VLANs of their cable. A label with exactly
one number counts as that VLAN ID, so "Server 30", "VLAN 30", "30" and a
cable with VLAN 30 share one colour and legend entry. A numeric label that
differs from the cable VLANs is flagged with an orange corner and a
warning; tooltips and the PDF port list show label and cable VLANs.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A 48-port switch fits on one row again; the port list keeps the wider
columns without line breaks and the VLAN legend is kept on one page.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The export uses A4 portrait: wide port groups are split evenly (a 48-port
switch into 1-24 and 25-48) with larger tiles, the legend has four
columns and the port list has wider columns and a smaller font so that
names, status and type no longer wrap.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Switches get an "Export switch port usage" button that downloads an A4
landscape PDF: key figures, a front panel with one colour per VLAN label
(full colour = connected, pale = free, dashed with a cross = disabled,
text colour chosen for contrast), a VLAN legend and the full port list
with peers. The PDF follows the language of the user's NetBox
preferences (German or English). The Ports tab with its script and
styles is removed. ReportLab becomes a dependency.
Co-Authored-By: Claude Opus 5.5 <[email protected]>