3PAR CIM API Programming Reference for InForm OS 2.3.1 (320-200164 Rev B, February 2010)

A.103
3PAR_TPDEnv.mof
InForm OS Version 2.3.1 CIM API Programming Reference
// 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 (
"3PAR Fan ")]
class TPD_Fan : CIM_Fan
{
[Description ("Position of the Fan.") ]
uint16 Position;
[Description ("Fan speed."),
ValueMap {"0", "1", "2", "3", "4"},
Values {"Unknown", "Hi", "Low", "Medium", "Stopped"} ]
uint16 Speed;
[Description ("3PAR specific operational state for the Fan"),
ValueMap {"0", "1", "2", "4", "5", "6", "7" },
Values {"Unknown", "OK", "Error", "Critical", "Non Critical",
"Not Installed", "Not Available"} ]
uint16 OtherOperationalStatus;
[Description ("Fan LED status. This is ONLY available for system fans."),
ValueMap {"0", "1", "2", "3", "4"},