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 Values for the Subscription State property of the Subscription class,
45 as defined in the CIM Events MOF
46 */
47 enum SubscriptionState {_STATE_UNKNOWN = 0, _STATE_OTHER = 1,
48 _STATE_ENABLED = 2, _STATE_ENABLEDDEGRADED = 3, _STATE_DISABLED = 4};
49
50 /**
51 Values for the Repeat Notification Policy property of the Subscription
52 class, as defined in the CIM Events MOF
53 */
54 enum RepeatNotificationPolicy {_POLICY_UNKNOWN = 0, _POLICY_OTHER = 1,
55 kumpf 1.1 _POLICY_NONE = 2, _POLICY_SUPPRESS = 3, _POLICY_DELAY = 4};
56
57 /**
58 Values for the On Fatal Error Policy property of the Subscription
59 class, as defined in the CIM Events MOF
60 */
61 enum OnFatalErrorPolicy {_ERRORPOLICY_OTHER = 1, _ERRORPOLICY_IGNORE = 2,
62 _ERRORPOLICY_DISABLE = 3, _ERRORPOLICY_REMOVE = 4};
63
64 /**
65 Values for the Persistence Type property of the Handler class,
66 as defined in the CIM Events MOF
67 */
68 enum PersistenceType {_PERSISTENCE_OTHER = 1, _PERSISTENCE_PERMANENT = 2,
69 _PERSISTENCE_TRANSIENT = 3};
70
71 /**
72 Values for the Probable Cause property of the Alert Indication
73 class, as defined in the CIM Events MOF
74 Note: not all possible values have been included
75 */
76 kumpf 1.1 enum ProbableCause {_CAUSE_UNKNOWN = 0, _CAUSE_OTHER = 1};
77
78 /**
79 Values for the Alert Type property of the Alert Indication class,
80 as defined in the CIM Events MOF
81 */
82 enum AlertType {_TYPE_OTHER = 1, _TYPE_COMMUNICATIONS = 2, _TYPE_QOS = 3,
83 _TYPE_PROCESSING = 4, _TYPE_DEVICE = 5, _TYPE_ENVIRONMENTAL = 6,
84 _TYPE_MODELCHANGE = 7, _TYPE_SECURITY = 8};
85
|
86 yi.zhou 1.8 /**
87 Values for the SNMPVersion property of the PG_IndicationHandlerSNMPMapper
88 class, as defined in the PG Events MOF
89 */
90 enum SnmpVersion {_SNMPV1_TRAP = 2, _SNMPV2C_TRAP = 3, _SNMPV2C_INFORM = 4,
91 _SNMPV3_TRAP = 5, _SNMPV3_INFORM = 6};
92
|
93 kumpf 1.1 //
94 // Class names
95 //
96
97 /**
98 The name of the CIMOM Shutdown alert indication class
99 */
100 //
101 // ATTN: Update once CimomShutdownAlertIndication has been defined
102 //
|
103 karl 1.10 extern const CIMName _CLASS_CIMOM_SHUTDOWN_ALERT;
|
104 kumpf 1.1
105 /**
106 The name of the No Provider alert indication class
107 */
108 //
109 // ATTN: Update once NoProviderAlertIndication has been defined
110 //
|
111 karl 1.10 extern const CIMName _CLASS_NO_PROVIDER_ALERT;
|
112 kumpf 1.1
113 /**
114 The name of the CIMOM shutdown alert indication class
115 */
116 //
117 // ATTN: Update once ProviderTerminatedAlertIndication has been defined
118 //
|
119 karl 1.10 extern const CIMName _CLASS_PROVIDER_TERMINATED_ALERT;
|
120 kumpf 1.1
121
122 //
123 // Property names
124 //
125
126 /**
|
127 kumpf 1.2 The name of the Filter reference property for indication subscription class
|
128 kumpf 1.1 */
|
129 karl 1.10 extern const CIMName _PROPERTY_FILTER;
|
130 kumpf 1.1
131 /**
|
132 kumpf 1.2 The name of the Handler reference property for indication subscription class
|
133 kumpf 1.1 */
|
134 karl 1.10 extern const CIMName _PROPERTY_HANDLER;
|
135 kumpf 1.1
136 /**
|
137 kumpf 1.2 The name of the Subscription State property for indication subscription
|
138 kumpf 1.1 class
139 */
|
140 karl 1.10 extern const CIMName _PROPERTY_STATE;
|
141 kumpf 1.1
142 /**
143 The name of the Other Subscription State property for Indication
144 Subscription class
145 */
|
146 karl 1.10 extern const CIMName _PROPERTY_OTHERSTATE;
|
147 kumpf 1.1
148 /**
|
149 kumpf 1.2 The name of the Repeat Notification Policy property for indication
|
150 kumpf 1.1 subscription class
151 */
|
152 karl 1.10 extern const CIMName _PROPERTY_REPEATNOTIFICATIONPOLICY;
|
153 kumpf 1.1
154 /**
|
155 kumpf 1.2 The name of the Other Repeat Notification Policy property for
|
156 kumpf 1.1 indication subscription class
157 */
|
158 karl 1.10 extern const CIMName _PROPERTY_OTHERREPEATNOTIFICATIONPOLICY;
|
159 kumpf 1.1
160 /**
161 The name of the On Fatal Error Policy property for Indication Subscription
162 class
163 */
|
164 karl 1.10 extern const CIMName _PROPERTY_ONFATALERRORPOLICY;
|
165 kumpf 1.1
166 /**
167 The name of the Other On Fatal Error Policy property for Indication
168 Subscription class
169 */
|
170 karl 1.10 extern const CIMName _PROPERTY_OTHERONFATALERRORPOLICY;
|
171 kumpf 1.1
172 /**
|
173 kumpf 1.2 The name of the Failure Trigger Time Interval property for Indication
174 Subscription class
175 */
|
176 karl 1.10 extern const CIMName _PROPERTY_FAILURETRIGGERTIMEINTERVAL;
|
177 kumpf 1.2
178 /**
|
179 kumpf 1.1 The name of the Time Of Last State Change property for Indication
180 Subscription class
181 */
|
182 karl 1.10 extern const CIMName _PROPERTY_LASTCHANGE;
|
183 kumpf 1.1
184 /**
185 The name of the Subscription Start Time property for Indication
186 Subscription class
187 */
|
188 karl 1.10 extern const CIMName _PROPERTY_STARTTIME;
|
189 kumpf 1.1
190 /**
191 The name of the Subscription Duration property for Indication
192 Subscription class
193 */
|
194 karl 1.10 extern const CIMName _PROPERTY_DURATION;
|
195 kumpf 1.1
196 /**
197 The name of the Subscription Time Remaining property for Indication
198 Subscription class
199 */
|
200 karl 1.10 extern const CIMName _PROPERTY_TIMEREMAINING;
|
201 kumpf 1.1
202 /**
|
203 kumpf 1.2 The name of the Repeat Notification Interval property for indication
204 subscription class
205 */
|
206 karl 1.10 extern const CIMName _PROPERTY_REPEATNOTIFICATIONINTERVAL;
|
207 kumpf 1.2
208 /**
209 The name of the Repeat Notification Gap property for indication
210 subscription class
211 */
|
212 karl 1.10 extern const CIMName _PROPERTY_REPEATNOTIFICATIONGAP;
|
213 kumpf 1.2
214 /**
215 The name of the Repeat Notification Count property for indication
216 subscription class
217 */
|
218 karl 1.10 extern const CIMName _PROPERTY_REPEATNOTIFICATIONCOUNT;
|
219 kumpf 1.2
220 /**
|
221 carolann.graves 1.7 The name of the TextFormatOwningEntity property for Formatted Indication
222 Subscription class
223 */
|
224 karl 1.10 extern const CIMName _PROPERTY_TEXTFORMATOWNINGENTITY;
|
225 carolann.graves 1.7
226 /**
227 The name of the TextFormatID property for Formatted Indication
228 Subscription class
229 */
|
230 karl 1.10 extern const CIMName _PROPERTY_TEXTFORMATID;
|
231 carolann.graves 1.7
232 /**
233 The name of the Caption property for Managed Element class
234 */
|
235 karl 1.10 extern const CIMName _PROPERTY_CAPTION;
|
236 carolann.graves 1.7
237 /**
238 The name of the Description property for Managed Element class
239 */
|
240 karl 1.10 extern const CIMName _PROPERTY_DESCRIPTION;
|
241 carolann.graves 1.7
242 /**
243 The name of the ElementName property for Managed Element class
244 */
|
245 karl 1.10 extern const CIMName _PROPERTY_ELEMENTNAME;
|
246 carolann.graves 1.7
247 /**
|
248 kumpf 1.2 The name of the Query property for indication filter class
|
249 kumpf 1.1 */
|
250 karl 1.10 extern const CIMName _PROPERTY_QUERY;
|
251 kumpf 1.1
252 /**
|
253 kumpf 1.2 The name of the Query Language property for indication filter class
|
254 kumpf 1.1 */
|
255 karl 1.10 extern const CIMName _PROPERTY_QUERYLANGUAGE;
|
256 kumpf 1.1
257 /**
258 The name of the Source Namespace property for indication filter class
259 */
|
260 karl 1.10 extern const CIMName _PROPERTY_SOURCENAMESPACE;
|
261 kumpf 1.1
262 /**
|
263 kumpf 1.2 The name of the Name property for indication filter and indications handler classes
|
264 kumpf 1.1 */
|
265 karl 1.10 extern const CIMName _PROPERTY_NAME;
|
266 kumpf 1.1
267 /**
|
268 kumpf 1.2 The name of the Creation Class Name property for indication filter and
|
269 kumpf 1.1 indications handler classes
270 */
|
271 karl 1.10 extern const CIMName _PROPERTY_CREATIONCLASSNAME;
|
272 kumpf 1.1
273 /**
|
274 kumpf 1.2 The name of the System Name property for indication filter and indications
|
275 kumpf 1.1 handler classes
276 */
|
277 karl 1.10 extern const CIMName _PROPERTY_SYSTEMNAME;
|
278 kumpf 1.1
279 /**
|
280 kumpf 1.2 The name of the System Creation Class Name property for indication filter
|
281 kumpf 1.1 and indications handler classes
282 */
|
283 karl 1.10 extern const CIMName _PROPERTY_SYSTEMCREATIONCLASSNAME;
|
284 kumpf 1.1
285 /**
286 The name of the Persistence Type property for Indication Handler class
287 */
|
288 karl 1.10 extern const CIMName _PROPERTY_PERSISTENCETYPE;
|
289 kumpf 1.1
290 /**
291 The name of the Other Persistence Type property for Indication Handler
292 class
293 */
|
294 karl 1.10 extern const CIMName _PROPERTY_OTHERPERSISTENCETYPE;
|
295 kumpf 1.1
296 /**
|
297 kumpf 1.2 The name of the Owner property for Indication Handler class
298 */
|
299 karl 1.10 extern const CIMName _PROPERTY_OWNER;
|
300 kumpf 1.2
301 /**
302 The name of the TargetHostFormat property for SNMP Mapper Indication
303 Handler subclass
|
304 kumpf 1.1 */
|
305 karl 1.10 extern const CIMName _PROPERTY_TARGETHOSTFORMAT;
|
306 kumpf 1.1
307 /**
|
308 carolann.graves 1.7 The name of the OtherTargetHostFormat property for SNMP Mapper Indication
309 Handler subclass
310 */
|
311 karl 1.10 extern const CIMName _PROPERTY_OTHERTARGETHOSTFORMAT;
|
312 carolann.graves 1.7
313 /**
|
314 kumpf 1.2 The name of the SNMP Version property for SNMP Mapper Indication Handler
315 subclass
|
316 kumpf 1.1 */
|
317 karl 1.10 extern const CIMName _PROPERTY_SNMPVERSION;
|
318 kumpf 1.2
319 /**
320 The name of the Port Number property for SNMP Mapper Indication Handler
321 subclass
322 */
|
323 karl 1.10 extern const CIMName _PROPERTY_PORTNUMBER;
|
324 kumpf 1.2
325 /**
326 The name of the SNMP Security Name property for SNMP Mapper Indication
327 Handler subclass
328 */
|
329 karl 1.10 extern const CIMName _PROPERTY_SNMPSECURITYNAME;
|
330 kumpf 1.2
331 /**
332 The name of the SNMP Engine ID property for SNMP Mapper Indication Handler
333 subclass
334 */
|
335 karl 1.10 extern const CIMName _PROPERTY_SNMPENGINEID;
|
336 kumpf 1.1
337 /**
338 The name of the Alert Type property for Alert Indication class
339 */
|
340 karl 1.10 extern const CIMName _PROPERTY_ALERTTYPE;
|
341 kumpf 1.1
342 /**
343 The name of the Other Alert Type property for Alert Indication class
344 */
|
345 karl 1.10 extern const CIMName _PROPERTY_OTHERALERTTYPE;
|
346 kumpf 1.1
347 /**
348 The name of the Perceived Severity property for Alert Indication class
349 */
|
350 karl 1.10 extern const CIMName _PROPERTY_PERCEIVEDSEVERITY;
|
351 kumpf 1.1
352 /**
353 The name of the Probable Cause property for Alert Indication class
354 */
|
355 karl 1.10 extern const CIMName _PROPERTY_PROBABLECAUSE;
|
356 kumpf 1.1
357 //
358 // Qualifier names
359 //
360
361 /**
362 The name of the Indication qualifier for classes
363 */
|
364 karl 1.10 extern const CIMName _QUALIFIER_INDICATION;
|
365 kumpf 1.1
366
367 //
368 // Other literal values
369 //
370
371 /**
372 The WHERE keyword in WQL
373 */
|
374 karl 1.10 extern const char _QUERY_WHERE [];
|
375 kumpf 1.1
376 /**
377 A zero value CIMDateTime interval
378 */
|
379 karl 1.10 extern const char _ZERO_INTERVAL_STRING [];
|
380 kumpf 1.1
381 PEGASUS_NAMESPACE_END
382
383 #endif /* Pegasus_IndicationConstants_h */
|