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 Time Of Last State Change property for Indication
|
137 kumpf 1.1 Subscription class
138 */
|
139 kumpf 1.13 extern const CIMName _PROPERTY_LASTCHANGE;
|
140 kumpf 1.1
141 /**
|
142 kumpf 1.13 The name of the Subscription Start Time property for Indication
|
143 kumpf 1.1 Subscription class
144 */
|
145 kumpf 1.13 extern const CIMName _PROPERTY_STARTTIME;
|
146 kumpf 1.1
147 /**
|
148 kumpf 1.13 The name of the Subscription Duration property for Indication
|
149 kumpf 1.1 Subscription class
150 */
|
151 kumpf 1.13 extern const CIMName _PROPERTY_DURATION;
|
152 kumpf 1.1
153 /**
|
154 kumpf 1.13 The name of the Subscription Time Remaining property for Indication
|
155 kumpf 1.1 Subscription class
156 */
|
157 kumpf 1.13 extern const CIMName _PROPERTY_TIMEREMAINING;
|
158 kumpf 1.1
159 /**
|
160 carolann.graves 1.7
161 The name of the Caption property for Managed Element class
162 */
|
163 kumpf 1.13 extern const CIMName _PROPERTY_CAPTION;
|
164 carolann.graves 1.7
165 /**
166 The name of the Description property for Managed Element class
167 */
|
168 kumpf 1.13 extern const CIMName _PROPERTY_DESCRIPTION;
|
169 carolann.graves 1.7
170 /**
171 The name of the ElementName property for Managed Element class
172 */
|
173 kumpf 1.13 extern const CIMName _PROPERTY_ELEMENTNAME;
|
174 carolann.graves 1.7
175 /**
|
176 kumpf 1.1 The name of the Source Namespace property for indication filter class
177 */
|
178 kumpf 1.13 extern const CIMName _PROPERTY_SOURCENAMESPACE;
|
179 kumpf 1.1
180 /**
|
181 karl 1.21.2.2 The name of the Source Namespaces property for indication filter class
182 */
183 extern const CIMName _PROPERTY_SOURCENAMESPACES;
184
185 /**
|
186 kumpf 1.13 The name of the System Name property for indication filter and indications
|
187 kumpf 1.1 handler classes
188 */
|
189 kumpf 1.13 extern const CIMName _PROPERTY_SYSTEMNAME;
|
190 kumpf 1.1
191 /**
|
192 kumpf 1.13 The name of the System Creation Class Name property for indication filter
|
193 kumpf 1.1 and indications handler classes
194 */
|
195 kumpf 1.13 extern const CIMName _PROPERTY_SYSTEMCREATIONCLASSNAME;
|
196 kumpf 1.1
197 /**
|
198 kumpf 1.13 The name of the Other Persistence Type property for Indication Handler
|
199 kumpf 1.1 class
200 */
|
201 kumpf 1.13 extern const CIMName _PROPERTY_OTHERPERSISTENCETYPE;
|
202 kumpf 1.1
203 /**
|
204 kumpf 1.13 The name of the TargetHostFormat property for SNMP Mapper Indication
|
205 kumpf 1.2 Handler subclass
|
206 kumpf 1.1 */
|
207 kumpf 1.13 extern const CIMName _PROPERTY_TARGETHOSTFORMAT;
|
208 kumpf 1.1
209 /**
|
210 kumpf 1.13 The name of the OtherTargetHostFormat property for SNMP Mapper Indication
|
211 carolann.graves 1.7 Handler subclass
212 */
|
213 kumpf 1.13 extern const CIMName _PROPERTY_OTHERTARGETHOSTFORMAT;
|
214 carolann.graves 1.7
215 /**
|
216 kumpf 1.1 The name of the Alert Type property for Alert Indication class
217 */
|
218 kumpf 1.13 extern const CIMName _PROPERTY_ALERTTYPE;
|
219 kumpf 1.1
220 /**
221 The name of the Other Alert Type property for Alert Indication class
222 */
|
223 kumpf 1.13 extern const CIMName _PROPERTY_OTHERALERTTYPE;
|
224 kumpf 1.1
225 /**
226 The name of the Perceived Severity property for Alert Indication class
227 */
|
228 kumpf 1.13 extern const CIMName _PROPERTY_PERCEIVEDSEVERITY;
|
229 kumpf 1.1
230 /**
231 The name of the Probable Cause property for Alert Indication class
232 */
|
233 kumpf 1.13 extern const CIMName _PROPERTY_PROBABLECAUSE;
|
234 kumpf 1.1
|
235 venkat.puvvada 1.14 /**
236 The name of the CreationClassName property of CIM_Service class.
237 */
238 extern const CIMName _PROPERTY_CREATIONCLASSNAME;
239
240 /**
241 The name of the Name property of CIM_Service class.
242 */
243 extern const CIMName _PROPERTY_NAME;
244
245 /**
246 The name of the Started property of CIM_Service class.
247 */
248 extern const CIMName _PROPERTY_STARTED;
249
250 /**
251 The name of the InstanceID property of CIM_Capabilities
252 class.
253 */
254 extern const CIMName _PROPERTY_INSTANCEID;
255
256 venkat.puvvada 1.14 #ifdef PEGASUS_ENABLE_DMTF_INDICATION_PROFILE_SUPPORT
257 /**
258 The name of the FilterCreationEnabled property of IndicationService class.
259 */
260 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_FILTERCREATIONENABLED;
261
262 /**
263 The name of the SubscriptionRemovalAction property of IndicationService
264 class.
265 */
266 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_SUBSCRIPTIONREMOVALACTION;
267
268 /**
269 The name of the DeliveryRetryAttempts property of
270 IndicationService class.
271 */
272 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_DELIVERYRETRYATTEMPTS;
273
274 /**
275 The name of the DeliveryRetryInterval property of
276 IndicationService class.
277 venkat.puvvada 1.14 */
278 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_DELIVERYRETRYINTERVAL;
279
280 /**
281 The name of the FilterCreationEnabledIsSettable property of
282 IndicationServiceCapabilities class.
283 */
|
284 kumpf 1.17 PEGASUS_SERVER_LINKAGE extern const CIMName
|
285 venkat.puvvada 1.14 _PROPERTY_FILTERCREATIONENABLEDISSETTABLE;
286
287 /**
288 The name of the DeliveryRetryAttemptsIsSettable property of
289 IndicationServiceCapabilities class.
290 */
|
291 kumpf 1.17 PEGASUS_SERVER_LINKAGE extern const CIMName
|
292 venkat.puvvada 1.14 _PROPERTY_DELIVERYRETRYATTEMPTSISSETTABLE;
293
294 /**
295 The name of the DeliveryRetryIntervalIsSettable property of
296 IndicationServiceCapabilities class.
297 */
|
298 kumpf 1.17 PEGASUS_SERVER_LINKAGE extern const CIMName
|
299 venkat.puvvada 1.14 _PROPERTY_DELIVERYRETRYINTERVALISSETTABLE;
300
301 /**
302 The name of the SubscriptionRemovalActionIsSettable property of
303 IndicationServiceCapabilities class.
304 */
|
305 kumpf 1.17 PEGASUS_SERVER_LINKAGE extern const CIMName
|
306 venkat.puvvada 1.14 _PROPERTY_SUBSCRIPTIONREMOVALACTIONISSETTABLE;
307
308 /**
309 The name of the SubscriptionRemovalTimeIntervalIsSettable property of
310 IndicationServiceCapabilities class.
311 */
|
312 kumpf 1.17 PEGASUS_SERVER_LINKAGE extern const CIMName
|
313 venkat.puvvada 1.14 _PROPERTY_SUBSCRIPTIONREMOVALTIMEINTERVALISSETTABLE;
314
315 /**
316 The name of the MaxListenerDestinations property of
317 IndicationServiceCapabilities class.
318 */
|
319 kumpf 1.17 PEGASUS_SERVER_LINKAGE extern const CIMName
|
320 venkat.puvvada 1.14 _PROPERTY_MAXLISTENERDESTINATIONS;
321
322 /**
323 The name of the MaxActiveSubscriptions property of
324 IndicationServiceCapabilities class.
325 */
326 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_MAXACTIVESUBSCRIPTIONS;
327
328 /**
329 The name of the SubscriptionsPersisted property of
330 IndicationServiceCapabilities class.
331 */
332 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_SUBSCRIPTIONSPERSISTED;
333
334 /**
335 CIM_IndicationService instance default values.
336 */
337
338 const Boolean _PROPERTY_FILTERCREATIONENABLED_VALUE = true;
339 const Uint16 _PROPERTY_SUBSCRIPTIONREMOVALACTION_VALUE = 4;
|
340 marek 1.19 const Uint32 _PROPERTY_SUBSCRIPTIONREMOVALTIMEINTERVAL_VALUE = 2592000;
|
341 venkat.puvvada 1.14 const Uint16 _PROPERTY_DELIVERYRETRYATTEMPTS_VALUE = 3;
|
342 karl 1.21.2.1 const Uint32 _PROPERTY_DELIVERYRETRYINTERVAL_VALUE = 30;
|
343 venkat.puvvada 1.14
|
344 venkat.puvvada 1.18 /**
345 Return codes for CIM_EnabledLogicalElement.RequestStateChange() method.
346 */
347
348 const Uint32 _RETURNCODE_COMPLETEDWITHNOERROR = 0;
349 const Uint32 _RETURNCODE_NOTSUPPORTED = 1;
350 const Uint32 _RETURNCODE_TIMEOUT = 3;
351 const Uint32 _RETURNCODE_FAILED = 4;
352 const Uint32 _RETURNCODE_INVALIDPARAMETER = 5;
353
354 /**
355 The name of the CIM_EnabledLogicalElement.RequestStateChange() method.
356 */
357 PEGASUS_SERVER_LINKAGE extern const CIMName _METHOD_REQUESTSTATECHANGE;
358
359 /**
360 The name of the RequestedState parameter(input) of
361 CIM_EnabledLogicalElement.RequestStateChange() method.
362 */
363 PEGASUS_SERVER_LINKAGE extern const CIMName _PARAM_REQUESTEDSTATE;
364
365 venkat.puvvada 1.18 /**
366 The name of the TimeoutPeriod parameter(input) of
367 CIM_EnabledLogicalElement.RequestStateChange() method.
368 */
369 PEGASUS_SERVER_LINKAGE extern const CIMName _PARAM_TIMEOUTPERIOD;
370
371 /**
372 The name of the CIM_EnabledLogicalElement.EnabledState property.
373 */
374 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_ENABLEDSTATE;
375
376 /**
377 The name of the CIM_ManagedSystemElement.EnabledState property.
378 */
379 PEGASUS_SERVER_LINKAGE extern const CIMName _PROPERTY_HEALTHSTATE;
380
|
381 venkat.puvvada 1.14 #endif
382
|
383 venkat.puvvada 1.18 /**
384 CIM_EnabledLogicalElement.EnabledState values.
385 */
386 const Uint16 _ENABLEDSTATE_SHUTTINGDOWN = 4;
387 const Uint16 _ENABLEDSTATE_STARTING = 10;
388 const Uint16 _ENABLEDSTATE_ENABLED = 2;
389 const Uint16 _ENABLEDSTATE_DISABLED = 3;
|
390 karl 1.21.2.2 const Uint16 _ENABLEDSTATE_UNKNOWN = 0;
|
391 venkat.puvvada 1.18
392 /**
393 Service health States. See CIM_ManagedSystemElement.HealthState
394 */
395
396 const Uint16 _HEALTHSTATE_OK = 5;
397 const Uint16 _HEALTHSTATE_DEGRADEDWARNING = 10;
398
399
|
400 kumpf 1.1 //
401 // Qualifier names
402 //
403
404 /**
405 The name of the Indication qualifier for classes
406 */
|
407 kumpf 1.13 extern const CIMName _QUALIFIER_INDICATION;
|
408 kumpf 1.1
409
410 //
411 // Other literal values
412 //
413
414 /**
415 The WHERE keyword in WQL
416 */
|
417 kumpf 1.13 extern const char _QUERY_WHERE[];
|
418 kumpf 1.1
419 /**
420 A zero value CIMDateTime interval
421 */
|
422 kumpf 1.13 extern const char _ZERO_INTERVAL_STRING[];
|
423 kumpf 1.1
424 PEGASUS_NAMESPACE_END
425
426 #endif /* Pegasus_IndicationConstants_h */
|