HP 3PAR InForm OS 3.1.1 CIM API (QL226-96591, July 2012)
// ==================================================================
// TPD Battery
// ==================================================================
[Description (
"3PAR Battery connected to the PowerSupply in Node.")]
class TPD_Battery : CIM_Battery
{
[Description ("Position of the Battery.") ]
uint16 Position;
[Description ("Maximum battery life in minutes.") ]
uint32 MaxLife;
[Description ("If TRUE, MAX life is low and battery is failed.") ]
boolean MaxLifeLow;
[Description ("Manufacturing date of the Battery.") ]
datetime ManufacturingDate;
[Description ("Expiration date of the Battery.") ]
datetime ExpirationDate;
[Description ("Charge start date of the Battery.") ]
datetime ChargeStartDate;
[Description ("Vendor name of the Battery.") ]
string Manufacturer;
[Description ("Model type for Battery.") ]
string Model;
[Description ("Serial number of the Battery.") ]
string SerialNumber;
[Description ("TRUE if the test is running.") ]
boolean TestInProgress;
[Description ("3PAR specific operational state for the Battery"),
ValueMap {"0", "1", "2"},
Values {"Unknown", "OK", "Error"} ]
uint16 OtherOperationalStatus;
// ===================================================================
// The next 3 attributes describe log data for tests. Each index in the
// arrays represents single test log. All 3 attributes must be of the
// same length.
// ===================================================================
[Description ("The date the test has started."), ArrayType ( "Indexed" ),
ModelCorrespondence {"TPD_Battery.TestDuration",
"TPD_Battery.TestPassed"}]
datetime TestStartDate[];
[Description ("The duration of the test in seconds."), ArrayType ( "Indexed" ),
ModelCorrespondence {"TPD_Battery.TestStartDate",
"TPD_Battery.TestPassed"} ]
uint16 TestDuration[];
[Description ("TRUE if the test passed, FALSE otherwise."), ArrayType ( "Indexed"
),
ModelCorrespondence {"TPD_Battery.TestStartDate",
"TPD_Battery.TestDuration"} ]
boolean TestPassed[];
};
// ===================================================================
// TPD_PowerSupplyBattery
3PAR_TPDEnv.mof 243