I have been looking at some updates to the current version of ipmitool (1.8.9) to add a command line option -x for the FRU output.
Is it reasonable to add library calls from libxml2 to this project and could this be considered for a future enhancement?
The end result is a system inventory in XML that can be easily translated by XSLT into a database.
The schema is pretty much the same as the current printf output. Changes mainly include libxml2 calls within ipmi_fru.c to provide the XML structure.
Eg. <FRU_TREE>
<FRU>
<CHASSIS>
<SERIALNUMBER>VALUE</SERIALNUMBER>
<PARTNUMBER>VALUE</PARTNUMBER>
</CHASSIS>
<BOARD>
<SERIALNUMBER>VALUE</SERIALNUMBER>
</BOARD>
</FRU>
</FRU_TREE>
--snip
Stuart.
Nobody/Anonymous
Interface Improvements (example)
version-1.8.13
Public
| Field | Old Value | Date | By |
|---|---|---|---|
| is_private | 1 | 2008-11-21 05:56:44 PST | stuartmcg |