Return values, Diagnostics, Files – HP Insight Control Software for Linux User Manual
Page 75: Authors, See also

DeviceName:peru, StartU:5, HeightU:2
This is a sample XML input:
<?xml version="1.0" encoding="ISO-8859-1"?>
<node-list>
<node name="second_floor_bldgA">
<hw-attribute name="DeviceType">Datacenter</hw-attribute>
</node>
<node name="southamerica">
<hw-attribute name="DeviceType">Rack</hw-attribute>
<sw-attribute name="DataCentreID">second_floor_bldgA</sw-attribute>
<sw-attribute name="RowNumber">1</sw-attribute>
<sw-attribute name="PositionRow">8</sw-attribute>
<sw-attribute name="rackHeight">48</sw-attribute>
</node>
<node name="ecuador">
<sw-attribute name="StartU">17</sw-attribute>
<sw-attribute name="HeightU">4</sw-attribute>
<sw-attribute name="RackName">southamerica</sw-attribute>
</node>
<node name="bolivia">
<hw-attribute name="DeviceType">Server</hw-attribute>
<sw-attribute name="StartU">13</sw-attribute>
<sw-attribute name="HeightU">8</sw-attribute>
<sw-attribute name="RackName">southamerica</sw-attribute>
</node>
<node name="peru">
<hw-attribute name="DeviceType">Server</hw-attribute>
<sw-attribute name="StartU">5</sw-attribute>
<sw-attribute name="HeightU">2</sw-attribute>
<sw-attribute name="RackName">southamerica</sw-attribute>
</node>
</node-list>
RETURN VALUES
The ipmxml2txt command returns exit status based on the success or failure of the operation.
0 No errors.
1 Errors in the command-line arguments, or missing required content.
DIAGNOSTICS
ipmxml2txt
displays error messages in stderr for any of the following conditions:
+ Missing or unrecognized arguments.
+ File not found or not readable.
+ Output file already exists
+ Syntax error in the text input file
FILES
/opt/ipm/examples
is a directory containing examples of converted files and formats.
AUTHORS
ipmxml2txt
was developed by the Hewlett-Packard Company.
SEE ALSO
ipm(1M), ipmtxt2xml(1M)
.
RETURN VALUES
75