fix: client software overview shows client roles only

The overview is always limited to devices whose role is listed in
software_device_roles, now "Client" and "Windows Client" by default and
matched by name or slug (windows-client from the Windows agent). The role
filter offers only these roles as checkboxes; none ticked means all client
roles, so servers can no longer appear by clearing the filter.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-11-18 14:25:12 +01:00
1 parent e24a12164c
commit 7d267ec05d
7 files changed
+59 -20

No files matched your search

+4 -3
View File
@@ -227,7 +227,7 @@ sudo systemctl restart netbox netbox-rq
| `switch_ports_enabled` | `True` | Front panel and **Export switch port usage** button for switches |
| `switch_device_roles` | `["Switch"]` | Device roles (case-insensitive) that get the front panel and export button |
| `software_enabled` | `True` | Client software overview and **Software** device tab (requires netbox-slm) |
| `software_device_roles` | `["Clients"]` | Device roles (case-insensitive) that show the **Software** tab and are pre-selected in the overview |
| `software_device_roles` | `["Client", "Windows Client"]` | Device roles (name or slug, case-insensitive) shown in the client software overview and given the **Software** tab |
| `wireless_trace_enabled` | `True` | Cable trace continues across wireless links (radio bridges) to the cabled port of the peer radio |
## Usage
@@ -526,8 +526,9 @@ Software Übersicht* (in the menu of netbox-inventory, otherwise in the
Clicking a product shows how many clients run each version and the list of
clients; clicking a version filters that list. The current selection can be
exported as CSV. Without an own selection the global tenant filter applies.
The device role filter is pre-set to `software_device_roles`; clearing it
includes all devices.
Only devices with a role from `software_device_roles` (name or slug, e.g.
`Windows Client` / `windows-client`) are included; servers and other devices
never appear. The role checkboxes narrow the selection to single client roles.
Software lists of the **NetBox Windows Agent** (mode `netbox`) and the
**NetBox Synchronizer** desktop app (agent scan) arrive as an inventory report