Package org.metricshub.ipmi.client
Class FrusRequest
java.lang.Object
org.metricshub.ipmi.client.FrusRequest
Reads the FRU inventories of the BMC: those that the FRU Device Locator records of the SDR repository point at,
and the one of the system board.
-
Method Details
-
ids
Reads only the FRUs with the given device IDs (0 is the system board on most BMCs).- Parameters:
deviceIds- the FRU device IDs to read- Returns:
- this request
-
timeout
Overrides the deadline of the client for this request.- Parameters:
deadline- the time the request may take, session setup included- Returns:
- this request
-
execute
Reads the selected FRUs.- Returns:
- the FRUs, in the order of their locator records; a FRU that could not be read entirely is returned with its problems
- Throws:
IpmiClientException- when the repository cannot be read, or the BMC stops answering
-