Package org.metricshub.ipmi.client
Class SolRequest
java.lang.Object
org.metricshub.ipmi.client.SolRequest
Opens a Serial over LAN console in the session of the client (IPMI 2.0 section 15). The BMC usually requires the
Administrator privilege to activate the SOL payload: open the client with
privilege(PrivilegeLevel.Administrator).-
Method Summary
Modifier and TypeMethodDescriptionopen()Activates the SOL payload and opens the console.Overrides the deadline of the client for the activation of the console.
-
Method Details
-
timeout
Overrides the deadline of the client for the activation of the console.- Parameters:
deadline- the time the activation may take, session setup included- Returns:
- this request
-
open
Activates the SOL payload and opens the console.- Returns:
- the console, to close when done: closing it deactivates the payload
- Throws:
IpmiCompletionCodeException- when the BMC refuses the activation, for a lack of privilege for instanceIpmiClientException- when the BMC offers no SOL payload instance, or the activation fails
-