agama/rust/test
Imobach González Sosa 5dcd5d9641
Add s390x model detection using read_values command
On s390x architecture, lshw doesn't properly report the system model.
This commit adds fallback detection using the read_values command,
which provides the model information in the format:
"2064 = z900    IBM eServer zSeries 900"

The implementation:
- Runs read_values -c on s390x systems only
- Parses the output to extract the model string
- Intelligently splits IBM models into vendor and version
  (e.g., "z900 IBM eServer zSeries 900" -> vendor="IBM", version="eServer zSeries 900")
- Enriches the existing HardwareNode system class with this data

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-07-15 11:41:30 +01:00
..
share Add s390x model detection using read_values command 2026-07-15 11:41:30 +01:00