1 karl 1.9 //%2006////////////////////////////////////////////////////////////////////////
|
2 kumpf 1.1 //
|
3 karl 1.3 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
|
6 kumpf 1.1 // IBM Corp.; EMC Corporation, The Open Group.
|
7 karl 1.3 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
|
9 karl 1.4 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 // EMC Corporation; VERITAS Software Corporation; The Open Group.
|
11 karl 1.9 // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12 // EMC Corporation; Symantec Corporation; The Open Group.
|
13 kumpf 1.1 //
14 // Permission is hereby granted, free of charge, to any person obtaining a copy
15 // of this software and associated documentation files (the "Software"), to
16 // deal in the Software without restriction, including without limitation the
17 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
18 // sell copies of the Software, and to permit persons to whom the Software is
19 // furnished to do so, subject to the following conditions:
20 //
21 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
22 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
23 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
24 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
25 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
27 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30 //==============================================================================
31 //
32 //
33 //%/////////////////////////////////////////////////////////////////////////////
34 kumpf 1.1
35 #ifndef Pegasus_IndicationConstants_h
36 #define Pegasus_IndicationConstants_h
37
38 #include <Pegasus/Common/Config.h>
39 #include <Pegasus/Common/CIMName.h>
40
41 PEGASUS_NAMESPACE_BEGIN
42
43 /**
|
44 kumpf 1.13 Values for the Repeat Notification Policy property of the Subscription
|
45 kumpf 1.1 class, as defined in the CIM Events MOF
46 */
47 enum RepeatNotificationPolicy {_POLICY_UNKNOWN = 0, _POLICY_OTHER = 1,
48 _POLICY_NONE = 2, _POLICY_SUPPRESS = 3, _POLICY_DELAY = 4};
49
50 /**
|
51 kumpf 1.13 Values for the On Fatal Error Policy property of the Subscription
|
52 kumpf 1.1 class, as defined in the CIM Events MOF
53 */
|
54 kumpf 1.13 enum OnFatalErrorPolicy {_ERRORPOLICY_OTHER = 1, _ERRORPOLICY_IGNORE = 2,
|
55 kumpf 1.1 _ERRORPOLICY_DISABLE = 3, _ERRORPOLICY_REMOVE = 4};
56
57 /**
|
58 kumpf 1.13 Values for the Probable Cause property of the Alert Indication
|
59 kumpf 1.1 class, as defined in the CIM Events MOF
60 Note: not all possible values have been included
61 */
62 enum ProbableCause {_CAUSE_UNKNOWN = 0, _CAUSE_OTHER = 1};
63
64 /**
|
65 kumpf 1.13 Values for the Alert Type property of the Alert Indication class,
|
66 kumpf 1.1 as defined in the CIM Events MOF
67 */
68 enum AlertType {_TYPE_OTHER = 1, _TYPE_COMMUNICATIONS = 2, _TYPE_QOS = 3,
69 _TYPE_PROCESSING = 4, _TYPE_DEVICE = 5, _TYPE_ENVIRONMENTAL = 6,
70 _TYPE_MODELCHANGE = 7, _TYPE_SECURITY = 8};
71
|
72 yi.zhou 1.8
|
73 kumpf 1.1 //
74 // Class names
75 //
76
77 /**
78 The name of the CIMOM Shutdown alert indication class
79 */
80 //
81 // ATTN: Update once CimomShutdownAlertIndication has been defined
82 //
|
83 kumpf 1.13 extern const CIMName _CLASS_CIMOM_SHUTDOWN_ALERT;
|
84 kumpf 1.1
85 /**
86 The name of the No Provider alert indication class
87 */
88 //
89 // ATTN: Update once NoProviderAlertIndication has been defined
90 //
|
91 kumpf 1.13 extern const CIMName _CLASS_NO_PROVIDER_ALERT;
|
92 kumpf 1.1
93 /**
94 The name of the CIMOM shutdown alert indication class
95 */
96 //
97 // ATTN: Update once ProviderTerminatedAlertIndication has been defined
98 //
|
99 kumpf 1.13 extern const CIMName _CLASS_PROVIDER_TERMINATED_ALERT;
|
100 kumpf 1.1
101
102 //
103 // Property names
104 //
105
106 /**
|
107 kumpf 1.13 The name of the Other Subscription State property for Indication
|
108 kumpf 1.1 Subscription class
109 */
|
110 kumpf 1.13 extern const CIMName _PROPERTY_OTHERSTATE;
|
111 kumpf 1.1
112 /**
|
113 kumpf 1.2 The name of the Repeat Notification Policy property for indication
|
114 kumpf 1.1 subscription class
115 */
|
116 kumpf 1.13 extern const CIMName _PROPERTY_REPEATNOTIFICATIONPOLICY;
|
117 kumpf 1.1
118 /**
|
119 kumpf 1.2 The name of the Other Repeat Notification Policy property for
|
120 kumpf 1.1 indication subscription class
121 */
|
122 kumpf 1.13 extern const CIMName _PROPERTY_OTHERREPEATNOTIFICATIONPOLICY;
|
123 kumpf 1.1
124 /**
|
125 kumpf 1.13 The name of the On Fatal Error Policy property for Indication Subscription
|
126 kumpf 1.1 class
127 */
|
128 kumpf 1.13 extern const CIMName _PROPERTY_ONFATALERRORPOLICY;
|
129 kumpf 1.1
130 /**
|
131 kumpf 1.13 The name of the Other On Fatal Error Policy property for Indication
|
132 kumpf 1.1 Subscription class
133 */
|
134 kumpf 1.13 extern const CIMName _PROPERTY_OTHERONFATALERRORPOLICY;
|
135 kumpf 1.1
136 /**
|
137 kumpf 1.13 The name of the Failure Trigger Time Interval property for Indication
|
138 kumpf 1.2 Subscription class
139 */
|
140 kumpf 1.13 extern const CIMName _PROPERTY_FAILURETRIGGERTIMEINTERVAL;
|
141 kumpf 1.2
142 /**
|
143 kumpf 1.13 The name of the Time Of Last State Change property for Indication
|
144 kumpf 1.1 Subscription class
145 */
|
146 kumpf 1.13 extern const CIMName _PROPERTY_LASTCHANGE;
|
147 kumpf 1.1
148 /**
|
149 kumpf 1.13 The name of the Subscription Start Time property for Indication
|
150 kumpf 1.1 Subscription class
151 */
|
152 kumpf 1.13 extern const CIMName _PROPERTY_STARTTIME;
|
153 kumpf 1.1
154 /**
|
155 kumpf 1.13 The name of the Subscription Duration property for Indication
|
156 kumpf 1.1 Subscription class
157 */
|
158 kumpf 1.13 extern const CIMName _PROPERTY_DURATION;
|
159 kumpf 1.1
160 /**
|
161 kumpf 1.13 The name of the Subscription Time Remaining property for Indication
|
162 kumpf 1.1 Subscription class
163 */
|
164 kumpf 1.13 extern const CIMName _PROPERTY_TIMEREMAINING;
|
165 kumpf 1.1
166 /**
|
167 kumpf 1.2 The name of the Repeat Notification Interval property for indication
168 subscription class
169 */
|
170 kumpf 1.13 extern const CIMName _PROPERTY_REPEATNOTIFICATIONINTERVAL;
|
171 kumpf 1.2
172 /**
173 The name of the Repeat Notification Gap property for indication
174 subscription class
175 */
|
176 kumpf 1.13 extern const CIMName _PROPERTY_REPEATNOTIFICATIONGAP;
|
177 kumpf 1.2
178 /**
179 The name of the Repeat Notification Count property for indication
180 subscription class
181 */
|
182 kumpf 1.13 extern const CIMName _PROPERTY_REPEATNOTIFICATIONCOUNT;
|
183 kumpf 1.2
184 /**
|
185 carolann.graves 1.7 The name of the TextFormatOwningEntity property for Formatted Indication
186 Subscription class
187 */
|
188 kumpf 1.13 extern const CIMName _PROPERTY_TEXTFORMATOWNINGENTITY;
|
189 carolann.graves 1.7
190 /**
191 The name of the TextFormatID property for Formatted Indication
192 Subscription class
193 */
|
194 kumpf 1.13 extern const CIMName _PROPERTY_TEXTFORMATID;
|
195 carolann.graves 1.7
196 /**
197 The name of the Caption property for Managed Element class
198 */
|
199 kumpf 1.13 extern const CIMName _PROPERTY_CAPTION;
|
200 carolann.graves 1.7
201 /**
202 The name of the Description property for Managed Element class
203 */
|
204 kumpf 1.13 extern const CIMName _PROPERTY_DESCRIPTION;
|
205 carolann.graves 1.7
206 /**
207 The name of the ElementName property for Managed Element class
208 */
|
209 kumpf 1.13 extern const CIMName _PROPERTY_ELEMENTNAME;
|
210 carolann.graves 1.7
211 /**
|
212 kumpf 1.1 The name of the Source Namespace property for indication filter class
213 */
|
214 kumpf 1.13 extern const CIMName _PROPERTY_SOURCENAMESPACE;
|
215 kumpf 1.1
216 /**
|
217 kumpf 1.13 The name of the System Name property for indication filter and indications
|
218 kumpf 1.1 handler classes
219 */
|
220 kumpf 1.13 extern const CIMName _PROPERTY_SYSTEMNAME;
|
221 kumpf 1.1
222 /**
|
223 kumpf 1.13 The name of the System Creation Class Name property for indication filter
|
224 kumpf 1.1 and indications handler classes
225 */
|
226 kumpf 1.13 extern const CIMName _PROPERTY_SYSTEMCREATIONCLASSNAME;
|
227 kumpf 1.1
228 /**
|
229 kumpf 1.13 The name of the Other Persistence Type property for Indication Handler
|
230 kumpf 1.1 class
231 */
|
232 kumpf 1.13 extern const CIMName _PROPERTY_OTHERPERSISTENCETYPE;
|
233 kumpf 1.1
234 /**
|
235 kumpf 1.2 The name of the Owner property for Indication Handler class
236 */
|
237 kumpf 1.13 extern const CIMName _PROPERTY_OWNER;
|
238 kumpf 1.2
239 /**
|
240 kumpf 1.13 The name of the TargetHostFormat property for SNMP Mapper Indication
|
241 kumpf 1.2 Handler subclass
|
242 kumpf 1.1 */
|
243 kumpf 1.13 extern const CIMName _PROPERTY_TARGETHOSTFORMAT;
|
244 kumpf 1.1
245 /**
|
246 kumpf 1.13 The name of the OtherTargetHostFormat property for SNMP Mapper Indication
|
247 carolann.graves 1.7 Handler subclass
248 */
|
249 kumpf 1.13 extern const CIMName _PROPERTY_OTHERTARGETHOSTFORMAT;
|
250 carolann.graves 1.7
251 /**
|
252 kumpf 1.13 The name of the Port Number property for SNMP Mapper Indication Handler
|
253 kumpf 1.2 subclass
254 */
|
255 kumpf 1.13 extern const CIMName _PROPERTY_PORTNUMBER;
|
256 kumpf 1.2
257 /**
|
258 kumpf 1.13 The name of the SNMP Security Name property for SNMP Mapper Indication
|
259 kumpf 1.2 Handler subclass
260 */
|
261 kumpf 1.13 extern const CIMName _PROPERTY_SNMPSECURITYNAME;
|
262 kumpf 1.2
263 /**
|
264 kumpf 1.13 The name of the SNMP Engine ID property for SNMP Mapper Indication Handler
|
265 kumpf 1.2 subclass
266 */
|
267 kumpf 1.13 extern const CIMName _PROPERTY_SNMPENGINEID;
|
268 kumpf 1.1
269 /**
270 The name of the Alert Type property for Alert Indication class
271 */
|
272 kumpf 1.13 extern const CIMName _PROPERTY_ALERTTYPE;
|
273 kumpf 1.1
274 /**
275 The name of the Other Alert Type property for Alert Indication class
276 */
|
277 kumpf 1.13 extern const CIMName _PROPERTY_OTHERALERTTYPE;
|
278 kumpf 1.1
279 /**
280 The name of the Perceived Severity property for Alert Indication class
281 */
|
282 kumpf 1.13 extern const CIMName _PROPERTY_PERCEIVEDSEVERITY;
|
283 kumpf 1.1
284 /**
285 The name of the Probable Cause property for Alert Indication class
286 */
|
287 kumpf 1.13 extern const CIMName _PROPERTY_PROBABLECAUSE;
|
288 kumpf 1.1
289 //
290 // Qualifier names
291 //
292
293 /**
294 The name of the Indication qualifier for classes
295 */
|
296 kumpf 1.13 extern const CIMName _QUALIFIER_INDICATION;
|
297 kumpf 1.1
298
299 //
300 // Other literal values
301 //
302
303 /**
304 The WHERE keyword in WQL
305 */
|
306 kumpf 1.13 extern const char _QUERY_WHERE[];
|
307 kumpf 1.1
308 /**
309 A zero value CIMDateTime interval
310 */
|
311 kumpf 1.13 extern const char _ZERO_INTERVAL_STRING[];
|
312 kumpf 1.1
313 PEGASUS_NAMESPACE_END
314
315 #endif /* Pegasus_IndicationConstants_h */
|