1 martin 1.15 //%LICENSE////////////////////////////////////////////////////////////////
|
2 martin 1.16 //
|
3 martin 1.15 // Licensed to The Open Group (TOG) under one or more contributor license
4 // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
5 // this work for additional information regarding copyright ownership.
6 // Each contributor licenses this file to you under the OpenPegasus Open
7 // Source License; you may not use this file except in compliance with the
8 // License.
|
9 martin 1.16 //
|
10 martin 1.15 // Permission is hereby granted, free of charge, to any person obtaining a
11 // copy of this software and associated documentation files (the "Software"),
12 // to deal in the Software without restriction, including without limitation
13 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
14 // and/or sell copies of the Software, and to permit persons to whom the
15 // Software is furnished to do so, subject to the following conditions:
|
16 martin 1.16 //
|
17 martin 1.15 // The above copyright notice and this permission notice shall be included
18 // in all copies or substantial portions of the Software.
|
19 martin 1.16 //
|
20 martin 1.15 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
21 martin 1.16 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
22 martin 1.15 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23 // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24 // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25 // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26 // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
27 martin 1.16 //
|
28 martin 1.15 //////////////////////////////////////////////////////////////////////////
|
29 kumpf 1.1 //
30 //
31 //%/////////////////////////////////////////////////////////////////////////////
32
33 #ifndef Pegasus_IndicationConstants_h
34 #define Pegasus_IndicationConstants_h
35
36 #include <Pegasus/Common/Config.h>
37 #include <Pegasus/Common/CIMName.h>
|
38 venkat.puvvada 1.14 #include <Pegasus/Server/Linkage.h>
|
39 kumpf 1.1
40 PEGASUS_NAMESPACE_BEGIN
41
42 /**
|
43 kumpf 1.13 Values for the Repeat Notification Policy property of the Subscription
|
44 kumpf 1.1 class, as defined in the CIM Events MOF
45 */
46 enum RepeatNotificationPolicy {_POLICY_UNKNOWN = 0, _POLICY_OTHER = 1,
47 _POLICY_NONE = 2, _POLICY_SUPPRESS = 3, _POLICY_DELAY = 4};
48
49 /**
|
50 kumpf 1.13 Values for the On Fatal Error Policy property of the Subscription
|
51 kumpf 1.1 class, as defined in the CIM Events MOF
52 */
|
53 kumpf 1.13 enum OnFatalErrorPolicy {_ERRORPOLICY_OTHER = 1, _ERRORPOLICY_IGNORE = 2,
|
54 kumpf 1.1 _ERRORPOLICY_DISABLE = 3, _ERRORPOLICY_REMOVE = 4};
55
56 /**
|
57 kumpf 1.13 Values for the Probable Cause property of the Alert Indication
|
58 kumpf 1.1 class, as defined in the CIM Events MOF
59 Note: not all possible values have been included
60 */
61 enum ProbableCause {_CAUSE_UNKNOWN = 0, _CAUSE_OTHER = 1};
62
63 /**
|
64 kumpf 1.13 Values for the Alert Type property of the Alert Indication class,
|
65 kumpf 1.1 as defined in the CIM Events MOF
66 */
67 enum AlertType {_TYPE_OTHER = 1, _TYPE_COMMUNICATIONS = 2, _TYPE_QOS = 3,
68 _TYPE_PROCESSING = 4, _TYPE_DEVICE = 5, _TYPE_ENVIRONMENTAL = 6,
69 _TYPE_MODELCHANGE = 7, _TYPE_SECURITY = 8};
70
|
71 yi.zhou 1.8
|
72 kumpf 1.1 //
73 // Class names
74 //
75
76 /**
77 The name of the CIMOM Shutdown alert indication class
78 */
79 //
80 // ATTN: Update once CimomShutdownAlertIndication has been defined
81 //
|
82 kumpf 1.13 extern const CIMName _CLASS_CIMOM_SHUTDOWN_ALERT;
|
83 kumpf 1.1
84 /**
85 The name of the No Provider alert indication class
86 */
87 //
88 // ATTN: Update once NoProviderAlertIndication has been defined
89 //
|
90 kumpf 1.13 extern const CIMName _CLASS_NO_PROVIDER_ALERT;
|
91 kumpf 1.1
92 /**
93 The name of the CIMOM shutdown alert indication class
94 */
95 //
96 // ATTN: Update once ProviderTerminatedAlertIndication has been defined
97 //
|
98 kumpf 1.13 extern const CIMName _CLASS_PROVIDER_TERMINATED_ALERT;
|
99 kumpf 1.1
100
101 //
102 // Property names
103 //
104
105 /**
|
106 kumpf 1.13 The name of the Other Subscription State property for Indication
|
107 kumpf 1.1 Subscription class
108 */
|
109 kumpf 1.13 extern const CIMName _PROPERTY_OTHERSTATE;
|
110 kumpf 1.1
111 /**
|
112 kumpf 1.2 The name of the Repeat Notification Policy property for indication
|
113 kumpf 1.1 subscription class
114 */
|
115 kumpf 1.13 extern const CIMName _PROPERTY_REPEATNOTIFICATIONPOLICY;
|
116 kumpf 1.1
117 /**
|
118 kumpf 1.2 The name of the Other Repeat Notification Policy property for
|
119 kumpf 1.1 indication subscription class
120 */
|
121 kumpf 1.13 extern const CIMName _PROPERTY_OTHERREPEATNOTIFICATIONPOLICY;
|
122 kumpf 1.1
123 /**
|
124 kumpf 1.13 The name of the On Fatal Error Policy property for Indication Subscription
|
125 kumpf 1.1 class
126 */
|
127 kumpf 1.13 extern const CIMName _PROPERTY_ONFATALERRORPOLICY;
|
128 kumpf 1.1
129 /**
|
130 kumpf 1.13 The name of the Other On Fatal Error Policy property for Indication
|
131 kumpf 1.1 Subscription class
132 */
|
133 kumpf 1.13 extern const CIMName _PROPERTY_OTHERONFATALERRORPOLICY;
|
134 kumpf 1.1
135 /**
|
136 kumpf 1.13 The name of the Failure Trigger Time Interval property for Indication
|
137 kumpf 1.2 Subscription class
138 */
|
139 kumpf 1.13 extern const CIMName _PROPERTY_FAILURETRIGGERTIMEINTERVAL;
|
140 kumpf 1.2
141 /**
|
142 kumpf 1.13 The name of the Time Of Last State Change property for Indication
|
143 kumpf 1.1 Subscription class
144 */
|
145 kumpf 1.13 extern const CIMName _PROPERTY_LASTCHANGE;
|
146 kumpf 1.1
147 /**
|
148 kumpf 1.13 The name of the Subscription Start Time property for Indication
|
149 kumpf 1.1 Subscription class
150 */
|
151 kumpf 1.13 extern const CIMName _PROPERTY_STARTTIME;
|
152 kumpf 1.1
153 /**
|
154 kumpf 1.13 The name of the Subscription Duration property for Indication
|
155 kumpf 1.1 Subscription class
156 */
|
157 kumpf 1.13 extern const CIMName _PROPERTY_DURATION;
|
158 kumpf 1.1
159 /**
|
160 kumpf 1.13 The name of the Subscription Time Remaining property for Indication
|
161 kumpf 1.1 Subscription class
162 */
|
163 kumpf 1.13 extern const CIMName _PROPERTY_TIMEREMAINING;
|
164 kumpf 1.1
165 /**
|
166 kumpf 1.2 The name of the Repeat Notification Interval property for indication
167 subscription class
168 */
|
169 kumpf 1.13 extern const CIMName _PROPERTY_REPEATNOTIFICATIONINTERVAL;
|
170 kumpf 1.2
171 /**
172 The name of the Repeat Notification Gap property for indication
173 subscription class
174 */
|
175 kumpf 1.13 extern const CIMName _PROPERTY_REPEATNOTIFICATIONGAP;
|
176 kumpf 1.2
177 /**
178 The name of the Repeat Notification Count property for indication
179 subscription class
180 */
|
181 kumpf 1.13 extern const CIMName _PROPERTY_REPEATNOTIFICATIONCOUNT;
|
182 kumpf 1.2
183 /**
|
184 carolann.graves 1.7 The name of the TextFormatOwningEntity property for Formatted Indication
185 Subscription class
186 */
|
187 kumpf 1.13 extern const CIMName _PROPERTY_TEXTFORMATOWNINGENTITY;
|
188 carolann.graves 1.7
189 /**
190 The name of the TextFormatID property for Formatted Indication
191 Subscription class
192 */
|
193 kumpf 1.13 extern const CIMName _PROPERTY_TEXTFORMATID;
|
194 carolann.graves 1.7
195 /**
196 The name of the Caption property for Managed Element class
197 */
|
198 kumpf 1.13 extern const CIMName _PROPERTY_CAPTION;
|
199 carolann.graves 1.7
200 /**
201 The name of the Description property for Managed Element class
202 */
|
203 kumpf 1.13 extern const CIMName _PROPERTY_DESCRIPTION;
|
204 carolann.graves 1.7
205 /**
206 The name of the ElementName property for Managed Element class
207 */
|
208 kumpf 1.13 extern const CIMName _PROPERTY_ELEMENTNAME;
|
209 carolann.graves 1.7
210 /**
|
211 kumpf 1.1 The name of the Source Namespace property for indication filter class
212 */
|
213 kumpf 1.13 extern const CIMName _PROPERTY_SOURCENAMESPACE;
|
214 kumpf 1.1
215 /**
|
216 kumpf 1.13 The name of the System Name property for indication filter and indications
|
217 kumpf 1.1 handler classes
218 */
|
219 kumpf 1.13 extern const CIMName _PROPERTY_SYSTEMNAME;
|
220 kumpf 1.1
221 /**
|
222 kumpf 1.13 The name of the System Creation Class Name property for indication filter
|
223 kumpf 1.1 and indications handler classes
224 */
|
225 kumpf 1.13 extern const CIMName _PROPERTY_SYSTEMCREATIONCLASSNAME;
|
226 kumpf 1.1
227 /**
|
228 kumpf 1.13 The name of the Other Persistence Type property for Indication Handler
|
229 kumpf 1.1 class
230 */
|
231 kumpf 1.13 extern const CIMName _PROPERTY_OTHERPERSISTENCETYPE;
|
232 kumpf 1.1
233 /**
|
234 kumpf 1.2 The name of the Owner property for Indication Handler class
235 */
|
236 kumpf 1.13 extern const CIMName _PROPERTY_OWNER;
|
237 kumpf 1.2
238 /**
|
239 kumpf 1.13 The name of the TargetHostFormat property for SNMP Mapper Indication
|
240 kumpf 1.2 Handler subclass
|
241 kumpf 1.1 */
|
242 kumpf 1.13 extern const CIMName _PROPERTY_TARGETHOSTFORMAT;
|
243 kumpf 1.1
244 /**
|
245 kumpf 1.13 The name of the OtherTargetHostFormat property for SNMP Mapper Indication
|
246 carolann.graves 1.7 Handler subclass
247 */
|
248 kumpf 1.13 extern const CIMName _PROPERTY_OTHERTARGETHOSTFORMAT;
|
249 carolann.graves 1.7
250 /**
|
251 kumpf 1.13 The name of the Port Number property for SNMP Mapper Indication Handler
|
252 kumpf 1.2 subclass
253 */
|
254 kumpf 1.13 extern const CIMName _PROPERTY_PORTNUMBER;
|
255 kumpf 1.2
256 /**
|
257 kumpf 1.13 The name of the SNMP Security Name property for SNMP Mapper Indication
|
258 kumpf 1.2 Handler subclass
259 */
|
260 kumpf 1.13 extern const CIMName _PROPERTY_SNMPSECURITYNAME;
|
261 kumpf 1.2
262 /**
|
263 kumpf 1.13 The name of the SNMP Engine ID property for SNMP Mapper Indication Handler
|
264 kumpf 1.2 subclass
265 */
|
266 kumpf 1.13 extern const CIMName _PROPERTY_SNMPENGINEID;
|
267 kumpf 1.1
268 /**
269 The name of the Alert Type property for Alert Indication class
270 */
|
271 kumpf 1.13 extern const CIMName _PROPERTY_ALERTTYPE;
|
272 kumpf 1.1
273 /**
274 The name of the Other Alert Type property for Alert Indication class
275 */
|
276 kumpf 1.13 extern const CIMName _PROPERTY_OTHERALERTTYPE;
|
277 kumpf 1.1
278 /**
279 The name of the Perceived Severity property for Alert Indication class
280 */
|
281 kumpf 1.13 extern const CIMName _PROPERTY_PERCEIVEDSEVERITY;
|
282 kumpf 1.1
283 /**
284 The name of the Probable Cause property for Alert Indication class
285 */
|
286 kumpf 1.13 extern const CIMName _PROPERTY_PROBABLECAUSE;
|
287 kumpf 1.1
|
288 venkat.puvvada 1.14 /**
289 The name of the CreationClassName property of CIM_Service class.
290 */
291 extern const CIMName _PROPERTY_CREATIONCLASSNAME;
292
293 /**
294 The name of the Name property of CIM_Service class.
295 */
296 extern const CIMName _PROPERTY_NAME;
297
298 /**
299 The name of the ElementName property of CIM_MangedElement class.
300 */
301 extern const CIMName _PROPERTY_ELEMENTNAME;
302
303 /**
304 The name of the Started property of CIM_Service class.
305 */
306 extern const CIMName _PROPERTY_STARTED;
307
308 /**
309 venkat.puvvada 1.14 The name of the InstanceID property of CIM_Capabilities
310 class.
311 */
312 extern const CIMName _PROPERTY_INSTANCEID;
313
314 #ifdef PEGASUS_ENABLE_DMTF_INDICATION_PROFILE_SUPPORT
315 /**
316 The name of the FilterCreationEnabled property of IndicationService class.
317 */
318 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_FILTERCREATIONENABLED;
319
320 /**
321 The name of the SubscriptionRemovalAction property of IndicationService
322 class.
323 */
324 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_SUBSCRIPTIONREMOVALACTION;
325
326 /**
327 The name of the SubscriptionRemovalTimeInterval property of
328 IndicationService class.
329 */
|
330 kumpf 1.17 PEGASUS_SERVER_LINKAGE extern const
|
331 venkat.puvvada 1.14 CIMName _PROPERTY_SUBSCRIPTIONREMOVALTIMEINTERVAL;
332
333 /**
334 The name of the DeliveryRetryAttempts property of
335 IndicationService class.
336 */
337 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_DELIVERYRETRYATTEMPTS;
338
339 /**
340 The name of the DeliveryRetryInterval property of
341 IndicationService class.
342 */
343 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_DELIVERYRETRYINTERVAL;
344
345 /**
346 The name of the FilterCreationEnabledIsSettable property of
347 IndicationServiceCapabilities class.
348 */
|
349 kumpf 1.17 PEGASUS_SERVER_LINKAGE extern const CIMName
|
350 venkat.puvvada 1.14 _PROPERTY_FILTERCREATIONENABLEDISSETTABLE;
351
352 /**
353 The name of the DeliveryRetryAttemptsIsSettable property of
354 IndicationServiceCapabilities class.
355 */
|
356 kumpf 1.17 PEGASUS_SERVER_LINKAGE extern const CIMName
|
357 venkat.puvvada 1.14 _PROPERTY_DELIVERYRETRYATTEMPTSISSETTABLE;
358
359 /**
360 The name of the DeliveryRetryIntervalIsSettable property of
361 IndicationServiceCapabilities class.
362 */
|
363 kumpf 1.17 PEGASUS_SERVER_LINKAGE extern const CIMName
|
364 venkat.puvvada 1.14 _PROPERTY_DELIVERYRETRYINTERVALISSETTABLE;
365
366 /**
367 The name of the SubscriptionRemovalActionIsSettable property of
368 IndicationServiceCapabilities class.
369 */
|
370 kumpf 1.17 PEGASUS_SERVER_LINKAGE extern const CIMName
|
371 venkat.puvvada 1.14 _PROPERTY_SUBSCRIPTIONREMOVALACTIONISSETTABLE;
372
373 /**
374 The name of the SubscriptionRemovalTimeIntervalIsSettable property of
375 IndicationServiceCapabilities class.
376 */
|
377 kumpf 1.17 PEGASUS_SERVER_LINKAGE extern const CIMName
|
378 venkat.puvvada 1.14 _PROPERTY_SUBSCRIPTIONREMOVALTIMEINTERVALISSETTABLE;
379
380 /**
381 The name of the MaxListenerDestinations property of
382 IndicationServiceCapabilities class.
383 */
|
384 kumpf 1.17 PEGASUS_SERVER_LINKAGE extern const CIMName
|
385 venkat.puvvada 1.14 _PROPERTY_MAXLISTENERDESTINATIONS;
386
387 /**
388 The name of the MaxActiveSubscriptions property of
389 IndicationServiceCapabilities class.
390 */
391 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_MAXACTIVESUBSCRIPTIONS;
392
393 /**
394 The name of the SubscriptionsPersisted property of
395 IndicationServiceCapabilities class.
396 */
397 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_SUBSCRIPTIONSPERSISTED;
398
399 /**
400 CIM_IndicationService instance default values.
401 */
402
403 const Boolean _PROPERTY_FILTERCREATIONENABLED_VALUE = true;
404 const Uint16 _PROPERTY_SUBSCRIPTIONREMOVALACTION_VALUE = 4;
405 const Uint64 _PROPERTY_SUBSCRIPTIONREMOVALTIMEINTERVAL_VALUE = 2592000;
406 venkat.puvvada 1.14 const Uint16 _PROPERTY_DELIVERYRETRYATTEMPTS_VALUE = 3;
407 const Uint64 _PROPERTY_DELIVERYRETRYINTERVAL_VALUE = 30;
408
|
409 venkat.puvvada 1.18 /**
410 Return codes for CIM_EnabledLogicalElement.RequestStateChange() method.
411 */
412
413 const Uint32 _RETURNCODE_COMPLETEDWITHNOERROR = 0;
414 const Uint32 _RETURNCODE_NOTSUPPORTED = 1;
415 const Uint32 _RETURNCODE_TIMEOUT = 3;
416 const Uint32 _RETURNCODE_FAILED = 4;
417 const Uint32 _RETURNCODE_INVALIDPARAMETER = 5;
418
419 /**
420 The name of the CIM_EnabledLogicalElement.RequestStateChange() method.
421 */
422 PEGASUS_SERVER_LINKAGE extern const CIMName _METHOD_REQUESTSTATECHANGE;
423
424 /**
425 The name of the RequestedState parameter(input) of
426 CIM_EnabledLogicalElement.RequestStateChange() method.
427 */
428 PEGASUS_SERVER_LINKAGE extern const CIMName _PARAM_REQUESTEDSTATE;
429
430 venkat.puvvada 1.18 /**
431 The name of the TimeoutPeriod parameter(input) of
432 CIM_EnabledLogicalElement.RequestStateChange() method.
433 */
434 PEGASUS_SERVER_LINKAGE extern const CIMName _PARAM_TIMEOUTPERIOD;
435
436 /**
437 The name of the CIM_EnabledLogicalElement.EnabledState property.
438 */
439 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_ENABLEDSTATE;
440
441 /**
442 The name of the CIM_ManagedSystemElement.EnabledState property.
443 */
444 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_HEALTHSTATE;
445
|
446 venkat.puvvada 1.14 #endif
447
|
448 venkat.puvvada 1.18 /**
449 CIM_EnabledLogicalElement.EnabledState values.
450 */
451 const Uint16 _ENABLEDSTATE_SHUTTINGDOWN = 4;
452 const Uint16 _ENABLEDSTATE_STARTING = 10;
453 const Uint16 _ENABLEDSTATE_ENABLED = 2;
454 const Uint16 _ENABLEDSTATE_DISABLED = 3;
455
456 /**
457 Service health States. See CIM_ManagedSystemElement.HealthState
458 */
459
460 const Uint16 _HEALTHSTATE_OK = 5;
461 const Uint16 _HEALTHSTATE_DEGRADEDWARNING = 10;
462
463
|
464 kumpf 1.1 //
465 // Qualifier names
466 //
467
468 /**
469 The name of the Indication qualifier for classes
470 */
|
471 kumpf 1.13 extern const CIMName _QUALIFIER_INDICATION;
|
472 kumpf 1.1
473
474 //
475 // Other literal values
476 //
477
478 /**
479 The WHERE keyword in WQL
480 */
|
481 kumpf 1.13 extern const char _QUERY_WHERE[];
|
482 kumpf 1.1
483 /**
484 A zero value CIMDateTime interval
485 */
|
486 kumpf 1.13 extern const char _ZERO_INTERVAL_STRING[];
|
487 kumpf 1.1
488 PEGASUS_NAMESPACE_END
489
490 #endif /* Pegasus_IndicationConstants_h */
|