Class GetChassisStatusResponseData
java.lang.Object
org.sentrysoftware.ipmi.core.coding.commands.chassis.GetChassisStatusResponseData
- All Implemented Interfaces:
ResponseData
Wrapper for Get Chassis Status response.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
acFailed()
boolean
boolean
byte
byte
byte
byte
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setCurrentPowerState
(byte currentPowerState) void
setFrontPanelButtonCapabilities
(byte frontPanelButtonCapabilities) void
setLastPowerEvent
(byte lastPowerEvent) void
setMiscChassisState
(byte miscChassisState) boolean
boolean
boolean
boolean
-
Field Details
-
FRONT_PANEL_BUTTON_CAPABILITIES_NOT_SET_MESSAGE
- See Also:
-
-
Constructor Details
-
GetChassisStatusResponseData
public GetChassisStatusResponseData()
-
-
Method Details
-
setCurrentPowerState
public void setCurrentPowerState(byte currentPowerState) -
getCurrentPowerState
public byte getCurrentPowerState() -
getPowerRestorePolicy
-
isPowerControlFault
public boolean isPowerControlFault()- Returns:
- True when controller attempted to turn system power on or off, but system did not enter desired state
-
isPowerFault
public boolean isPowerFault()- Returns:
- True when fault was detected in main power subsystem.
-
isInterlock
public boolean isInterlock()- Returns:
- True when interlock was detected (chassis is presently shut down because a chassis panel interlock switch is active)
-
isPowerOverload
public boolean isPowerOverload()- Returns:
- True when system was shut down because of power overload condition.
-
isPowerOn
public boolean isPowerOn()- Returns:
- True when system power is on.
-
setLastPowerEvent
public void setLastPowerEvent(byte lastPowerEvent) -
getLastPowerEvent
public byte getLastPowerEvent() -
wasIpmiPowerOn
public boolean wasIpmiPowerOn()- Returns:
- True when last 'Power is on' state was entered via IPMI command.
-
wasPowerFault
public boolean wasPowerFault()- Returns:
- True if last power down caused by power fault.
-
wasInterlock
public boolean wasInterlock()- Returns:
- True if last power down caused by a power interlock being activated.
-
wasPowerOverload
public boolean wasPowerOverload()- Returns:
- True if last power down caused by a Power overload.
-
acFailed
public boolean acFailed()- Returns:
- True if AC failed.
-
setMiscChassisState
public void setMiscChassisState(byte miscChassisState) -
getMiscChassisState
public byte getMiscChassisState() -
isChassisIdentifyCommandSupported
public boolean isChassisIdentifyCommandSupported()- Returns:
- True if Chassis Identify command and state info supported.
-
getChassisIdentifyState
-
coolingFaultDetected
public boolean coolingFaultDetected()- Returns:
- True if cooling or fan fault was detected.
-
driveFaultDetected
public boolean driveFaultDetected()- Returns:
- True if drive fault was detected.
-
isFrontPanelLockoutActive
public boolean isFrontPanelLockoutActive()- Returns:
- True if Front Panel Lockout active (power off and reset via chassis push-buttons disabled.).
-
isChassisIntrusionActive
public boolean isChassisIntrusionActive()- Returns:
- True if Chassis intrusion active is active.
-
setFrontPanelButtonCapabilities
public void setFrontPanelButtonCapabilities(byte frontPanelButtonCapabilities) -
getFrontPanelButtonCapabilities
public byte getFrontPanelButtonCapabilities() -
isStandbyButtonDisableAllowed
- Returns:
- Standby (sleep) button disable is allowed.
- Throws:
IllegalAccessException
- when Front Panel Button Capabilities wasn't set.
-
isDiagnosticInterruptButtonDisableAllowed
- Returns:
- Diagnostic Interrupt button disable is allowed.
- Throws:
IllegalAccessException
- when Front Panel Button Capabilities wasn't set.
-
isResetButtonDisableAllowed
- Returns:
- Reset button disable is allowed.
- Throws:
IllegalAccessException
- when Front Panel Button Capabilities wasn't set.
-
isPowerOffButtonDisableAllowed
- Returns:
- Power off button disable allowed (in the case there is a single combined power/standby (sleep) button, disabling power off also disables sleep requests via that button.)
- Throws:
IllegalAccessException
- when Front Panel Button Capabilities wasn't set.
-
isStandbyButtonDisabled
- Returns:
- Standby (sleep) button disabled.
- Throws:
IllegalAccessException
- when Front Panel Button Capabilities wasn't set.
-
isDiagnosticInterruptButtonDisabled
- Returns:
- Diagnostic Interrupt button disabled.
- Throws:
IllegalAccessException
- when Front Panel Button Capabilities wasn't set.
-
isResetButtonDisabled
- Returns:
- Reset button disabled.
- Throws:
IllegalAccessException
- when Front Panel Button Capabilities wasn't set.
-
isPowerOffButtonDisabled
- Returns:
- Power off button disabled (in the case there is a single combined power/standby (sleep) button, disabling power off also disables sleep requests via that button are also disabled.)
- Throws:
IllegalAccessException
- when Front Panel Button Capabilities wasn't set.
-
isFrontPanelButtonCapabilitiesSet
public boolean isFrontPanelButtonCapabilitiesSet()
-