HP 3PAR CIM API Programming Reference (OS 3.1.2 MU2) (QL226-97015, June 2013)

// ==================================================================
[Description (
"Capabilities and management of the HP 3PAR Cage PowerSupply.")]
class TPD_CagePowerSupply : TPD_PowerSupply
{
[Description ("Type of the cage this Power Supply is in."),
ValueMap {"0", "2", "3", "4", "5", "6", "7", "8"},
Values {"Unknown", "DC1", "DC2", "DC3", "DC4", "DCS1", "DCS2", "DCN1"} ]
uint16 CageType;
[Description ("If TRUE, user can not modify model.") ]
boolean ModelReadOnly;
};
// ==================================================================
// TPD Node Power Supply
// ==================================================================
[Description (
"Capabilities and management of the HP 3PAR Node PowerSupply.")]
class TPD_NodePowerSupply : TPD_PowerSupply
{
[Description ("State of the DC for the node power supply."),
ValueMap {"0", "1", "2"},
Values {"Unknown", "OK", "Error"} ]
uint16 DCStatus;
[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;
};
// ==================================================================
// CagePSDependency
// ==================================================================
[Association, Description (
"A PowerSupply is installed in a DriveCage, not for a specific Device, but "
"to function with the DriveCage in general. This relationship is "
"described by the TPD_CagePSDependency association.")]
class TPD_CagePSDependency : CIM_PackageDependency {
[Override ( "Antecedent" ), Description (
"The PowerSupply for the DriveCage.")]
TPD_PowerSupply REF Antecedent;
[Override ( "Dependent" ), Description (
"The DriveCage whose environment is affected.")]
TPD_DriveCage REF Dependent;
};
// ==================================================================
// TPD Fan
// Based on the CIM schema, we need to use CIM_NumericSensor (Tachometer)
// to show the current speed of the fan. This is way too much for what
// we need, so I am going to add a new variable for speed. If
// we ever need to comply with the requirements, I will change it.
// ==================================================================
[Description (
"HP 3PAR Fan ")]
class TPD_Fan : CIM_Fan
{
[Description ("Position of the Fan.") ]
uint16 Position;
[Description ("Fan speed."),
264 Managed Object Format Files