White Papers
Power Supply Profile
18 Version 1.0.0a
8.1 Method: CIM_PowerSupply.RequestStateChange( )
Invocation of the CIM_PowerSupply.RequestStateChange( ) method will change the element’s state to
the value that is specified in the RequestedState parameter.
Return values for RequestStateChange(
) shall be as specified in Table 4 where the method-execution
behavior matches the return-code description. RequestStateChange(
) method’s parameters are specified
in Table 5.
When the power supply state management is supported, the RequestStateChange(
) method shall be
implemented and shall not return a value of 1 (Not Supported) (see section 7.3.1).
When the value of the RequestedState parameter is 6 (Offline) and the power supply is not a Spare
Power Supply, the RequestStateChange(
) method shall return a value of 2 (Error Occurred).
Invoking the CIM_PowerSupply.RequestStateChange(
) method multiple times could result in earlier
requests being overwritten or lost.
No standard messages are defined for this method.
Table 4 – CIM_PowerSupply.RequestStateChange(
) Method: Return Code Values
Value Description
0 Request was successfully executed.
1 Method is not supported in the implementation.
2 Error occurred
4096 Job started
Table 5 – CIM_PowerSupply.RequestStateChange( ) Method: Parameters
Qualifiers Name Type Description/Values
IN, REQ RequestedState uint16 Valid state values:
2 (Enabled)
3 (Disabled) (see section 8.1.1)
6 (Offline) (see section 8.1.1)
11 (Reset)
OUT Job CIM_ConcreteJob REF Returned if job started
IN, REQ TimeoutPeriod Datetime
Client specified maximum amount of time
the transition to a new state is supposed to
take:
0 or NULL – No time requirements
<interval> – Maximum time allowed
8.1.1 RequestStateChange( ) for the Spare Power Supply
After the successful execution of the RequestStateChange( ) method on the Spare Power Supply with the
RequestedState parameter set to 6 (Offline), the SpareStatus of the referenced CIM_IsSpare association
shall have value of 2 (Hot Standby).
After the successful execution of the RequestStateChange(
) method on the Spare Power Supply with the
RequestedState parameter set to 3 (Disabled), the SpareStatus of the referenced CIM_IsSpare
association shall have value of 3 (Cold Standby).