HP 3PAR CIM API Programming Reference (QL226-97722, March 2014)

boolean TestInProgress;
[Description ("HP 3PAR specific operational state for the Battery"),
ValueMap {"0", "1", "2"},
Values {"Unknown", "OK", "Error"} ]
uint16 OtherOperationalStatus;
[Description ("Service LED status. Only available on V-class systems."),
ValueMap {"0", "1", "2", "3", "4", "5", "6", "7"},
Values {"Unknown", "Off", "Green", "Green Blinking", "Amber", "Amber Blinking",
"Blue", "Blue Blinking"} ]
uint16 ServiceLED;
// ===================================================================
// 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[];
[Description ("HP 3PAR spare part number."), Read]
string SparePartNumber;
[Description ("HP 3PAR model name."), Read]
string ModelName;
[Description ("HP 3PAR assembly revision number."), Read]
string AssemblyRevision;
[Description ("HP 3PAR check sum."), Read]
string Checksum;
};
// ===================================================================
// TPD_PowerSupplyBattery
// ===================================================================
[Association, Description (
"A Node PowerSupply may use or require one or more Batteries. This "
"relationship is described by the PowerSupplyBattery dependency.")]
class TPD_PowerSupplyBattery : CIM_AssociatedBattery
{
[Override ( "Antecedent" ), Description (
"The Battery.")]
TPD_Battery REF Antecedent;
[Override ( "Dependent" ), Description (
"The Node PowerSupply needing or associated with the Battery.")]
TPD_PowerSupply REF Dependent;
};
// ==================================================================
// NodePkgPSDependency
3PAR_TPDEnv.mof 279