* [RFC] Add read-only DMI hardware endpoint to Proxmox VE
@ 2026-06-16 13:43 Krasimir Rangelov
0 siblings, 0 replies; only message in thread
From: Krasimir Rangelov @ 2026-06-16 13:43 UTC (permalink / raw)
To: pve-devel
Hello Proxmox developers,
>
> I would like to propose a small, read-only API extension for Proxmox VE: a new endpoint at GET /nodes/{node}/hardware/dmi.
>
> The endpoint would expose basic DMI hardware identification data from /sys/devices/virtual/dmi/id/ (for example BIOS vendor/version/date, board vendor/name/serial, chassis details, product name/UUID/serial, and system vendor). The implementation would be protected => 1 so it runs via pvedaemon with sufficient privileges to read sysfs directly, while still requiring Sys.Audit on /nodes/{node}.
>
> My goal is to provide a standard, documented way to retrieve hardware metadata for asset management, inventory tracking, provisioning, CMDB integration, and reporting. I am reading the data directly from sysfs rather than using dmidecode, since sysfs is faster, avoids parsing, and is available on Linux systems exposing DMI.
>
> I have prepared a sample implementation as a new module PVE/API2/Hardware/DMI.pm, plus registration in PVE/API2/Hardware.pm. I would appreciate feedback on the API shape, permission model, and whether the endpoint belongs in pve-manager or another repository.
>
> If this sounds acceptable, I can split it into a small patch series and send it to the list.
>
> Best regards,
> Krasimir Rangelov
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-16 14:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-16 13:43 [RFC] Add read-only DMI hardware endpoint to Proxmox VE Krasimir Rangelov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox