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:
1 parent
5d6c4c9cd8
commit
63b3b31763
15 files changed
+1209
-3
No files matched your search
@@ -19,6 +19,12 @@ def hardware_enabled():
|
||||
return bool(get_plugin_config("netbox_utilities", "hardware_enabled"))
|
||||
|
||||
|
||||
def software_enabled():
|
||||
from django.apps import apps
|
||||
|
||||
return bool(get_plugin_config("netbox_utilities", "software_enabled")) and apps.is_installed("netbox_slm")
|
||||
|
||||
|
||||
def switch_ports_enabled():
|
||||
return bool(get_plugin_config("netbox_utilities", "switch_ports_enabled"))
|
||||
|
||||
|
||||
Reference in new issue
Block a user