feat: client software overview based on netbox-slm

New page "Client Software Übersicht" in a "Software" group of the netbox-inventory
menu (fallback: own Hardware menu). It shows, per tenant or tenant group
including subgroups, the software products recorded with netbox-slm, their
versions and the clients they are installed on: key figures, charts of the most
widespread products and their version distribution, a sortable and searchable
product list, a drill-down per product/version with the list of clients, and a
CSV export. Without an own selection the global tenant filter applies; the
device role filter is pre-set to the configured client roles.

Devices with a client role (software_device_roles, default "Clients") get a
"Software" tab listing their installations with add, edit and delete actions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-11-18 14:18:59 +01:00
1 parent 5d6c4c9cd8
commit 63b3b31763
15 files changed
+1209 -3

No files matched your search

+9
View File
@@ -1,4 +1,6 @@
from django.apps import apps
from django.urls import include, path
from netbox.plugins import get_plugin_config
from utilities.urls import get_model_urls
from . import disk_views, hardware_views, switch_port_views, views # noqa: F401 - hardware_views registers its model views
@@ -41,3 +43,10 @@ urlpatterns = [
path("devices/<int:pk>/disks/fill/", disk_views.DeviceDiskBulkFillView.as_view(), name="device_disk_fill"),
path("devices/<int:pk>/disks/move/", disk_views.DeviceDiskMoveView.as_view(), name="device_disk_move"),
]
if get_plugin_config("netbox_utilities", "software_enabled") and apps.is_installed("netbox_slm"):
from . import software_views
urlpatterns.append(
path("software/", software_views.SoftwareOverviewView.as_view(), name="software_overview"),
)