feat: export switch port usage as PDF instead of a Ports tab
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]>
This commit is contained in:
1 parent
8f2cc22f88
commit
8eb075db9f
13 files changed
+611
-452
No files matched your search
+5
-2
@@ -4,10 +4,13 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "netbox-utilities"
|
||||
version = "0.17.0"
|
||||
description = "Navigation, tenant utilities, connection VLANs, partial-width racks, disks and bulk operations for NetBox 4.6/4.7"
|
||||
version = "0.18.0"
|
||||
description = "Navigation, tenant utilities, connection VLANs, partial-width racks, disks, CPU & RAM, switch port export and bulk operations for NetBox 4.6/4.7"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"reportlab>=4.0",
|
||||
]
|
||||
license = { text = "MIT" }
|
||||
authors = [
|
||||
{ name = "MrBlake" }
|
||||
|
||||
Reference in new issue
Block a user