api: add device uuid (nvml), and OS in hwinfo

and prepare pool query