1 karl 1.1.2.2 // Copyright (c) 2005 DMTF. All rights reserved.
2 // <change cr="CIMCoreCR00736.001" type ="change">Update of
3 // descriptions based on Tech Edit review.</
4 // <change cr="ArchCR00066.004" type="add">Add UmlPackagePath
5 // qualifier values to CIM Schema.</change>
6 // ==================================================================
7 // CIM_DeviceErrorCounts
8 // ==================================================================
9 [Version ( "2.10.0" ),
10 UMLPackagePath ( "CIM::Device::DeviceElements" ),
11 Description (
12 "DeviceErrorCounts is a statistical class containing error- "
13 "related counters for a LogicalDevice. The types of errors are "
14 "defined by CCITT (Rec X.733) and ISO (IEC 10164-4). Note that "
15 "the CIM_DeviceErrorCountData class uses a simplified naming or "
16 "identity algorithm as compared to this class. "
17 "DeviceErrorCounts is not deprecated because its naming "
18 "algorithm is still in use in various implementations." )]
19 class CIM_DeviceErrorCounts : CIM_StatisticalInformation {
20
21 [Key, Description (
22 karl 1.1.2.2 "The CreationClassName of the scoping System." ),
23 MaxLen ( 256 ),
24 Propagated ( "CIM_LogicalDevice.SystemCreationClassName" )]
25 string SystemCreationClassName;
26
27 [Key, Description ( "The Name of the scoping System." ),
28 MaxLen ( 256 ),
29 Propagated ( "CIM_LogicalDevice.SystemName" )]
30 string SystemName;
31
32 [Key, Description (
33 "The CreationClassName of the scoping Device." ),
34 MaxLen ( 256 ),
35 Propagated ( "CIM_LogicalDevice.CreationClassName" )]
36 string DeviceCreationClassName;
37
38 [Key, Description ( "The ID of the scoping Device." ),
39 MaxLen ( 64 ),
40 Propagated ( "CIM_LogicalDevice.DeviceID" )]
41 string DeviceID;
42
43 karl 1.1.2.2 [Key, Override ( "Name" ),
44 Description (
45 "The inherited Name serves as part of the key for the "
46 "DeviceErrorCounts instance. The object is scoped by the "
47 "LogicalDevice to which the statistics apply." ),
48 MaxLen ( 256 )]
49 string Name;
50
51 [Description ( "Count of the indeterminate errors." ),
52 Counter]
53 uint64 IndeterminateErrorCount;
54
55 [Description ( "Count of the critical errors." ),
56 Counter, MappingStrings { "MIF.DMTF|Operational State|006.7" }]
57 uint64 CriticalErrorCount;
58
59 [Description ( "Count of the major errors." ),
60 Counter, MappingStrings { "MIF.DMTF|Operational State|006.8" }]
61 uint64 MajorErrorCount;
62
63 [Description ( "Count of the minor errors." ),
64 karl 1.1.2.2 Counter]
65 uint64 MinorErrorCount;
66
67 [Description ( "Count of the warnings." ),
68 Counter, MappingStrings { "MIF.DMTF|Operational State|006.9" }]
69 uint64 WarningCount;
70
71
72 [Description (
73 "Method to reset the error and warning counters. The "
74 "method takes one parameter as input, an integer that "
75 "indicates which counter to reset. For this input "
76 "parameter, 0 indicates all, 1 indicates a reset of the "
77 "indeterminate error counter, 2 the critical error "
78 "counter, 3 the major error counter, 4 the minor error "
79 "counter, and 5 the warning counter. The method returns 0 "
80 "if successful, 1 if not supported, and any other value "
81 "if an error occurred. A method is specified so that the "
82 "instrumentation of the LogicalDevice, which tabulates "
83 "the errors and warnings, can also reset its internal "
84 "processing and counters. \n"
85 karl 1.1.2.2 "In a subclass, the set of possible return codes could be "
86 "specified, using a ValueMap qualifier on the method. The "
87 "strings to which the ValueMap contents are \'translated\' "
88 "can also be specified in the subclass as a Values array "
89 "qualifier." )]
90 uint32 ResetCounter(
91 [IN, Description ( "The counter to reset." ),
92 ValueMap { "0", "1", "2", "3", "4", "5" },
93 Values { "All", "Indeterminate Error Counter",
94 "Critical Error Counter", "Major Error Counter",
95 "Minor Error Counter", "Warning Counter" }]
96 uint16 SelectedCounter);
97
98 };
|