Class GetChassisStatusResponseData

java.lang.Object
org.sentrysoftware.ipmi.core.coding.commands.chassis.GetChassisStatusResponseData
All Implemented Interfaces:
ResponseData

public class GetChassisStatusResponseData extends Object implements ResponseData
Wrapper for Get Chassis Status response.
  • Field Details

    • FRONT_PANEL_BUTTON_CAPABILITIES_NOT_SET_MESSAGE

      public static final String 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

      public PowerRestorePolicy 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

      public ChassisIdentifyState 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

      public boolean isStandbyButtonDisableAllowed() throws IllegalAccessException
      Returns:
      Standby (sleep) button disable is allowed.
      Throws:
      IllegalAccessException - when Front Panel Button Capabilities wasn't set.
    • isDiagnosticInterruptButtonDisableAllowed

      public boolean isDiagnosticInterruptButtonDisableAllowed() throws IllegalAccessException
      Returns:
      Diagnostic Interrupt button disable is allowed.
      Throws:
      IllegalAccessException - when Front Panel Button Capabilities wasn't set.
    • isResetButtonDisableAllowed

      public boolean isResetButtonDisableAllowed() throws IllegalAccessException
      Returns:
      Reset button disable is allowed.
      Throws:
      IllegalAccessException - when Front Panel Button Capabilities wasn't set.
    • isPowerOffButtonDisableAllowed

      public boolean isPowerOffButtonDisableAllowed() throws IllegalAccessException
      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

      public boolean isStandbyButtonDisabled() throws IllegalAccessException
      Returns:
      Standby (sleep) button disabled.
      Throws:
      IllegalAccessException - when Front Panel Button Capabilities wasn't set.
    • isDiagnosticInterruptButtonDisabled

      public boolean isDiagnosticInterruptButtonDisabled() throws IllegalAccessException
      Returns:
      Diagnostic Interrupt button disabled.
      Throws:
      IllegalAccessException - when Front Panel Button Capabilities wasn't set.
    • isResetButtonDisabled

      public boolean isResetButtonDisabled() throws IllegalAccessException
      Returns:
      Reset button disabled.
      Throws:
      IllegalAccessException - when Front Panel Button Capabilities wasn't set.
    • isPowerOffButtonDisabled

      public boolean isPowerOffButtonDisabled() throws IllegalAccessException
      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()