(file) Return to IndicationConstants.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / IndicationService

  1 karl  1.4 //%2005////////////////////////////////////////////////////////////////////////
  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 kumpf 1.1 //
 12           // Permission is hereby granted, free of charge, to any person obtaining a copy
 13           // of this software and associated documentation files (the "Software"), to
 14           // deal in the Software without restriction, including without limitation the
 15           // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 16           // sell copies of the Software, and to permit persons to whom the Software is
 17           // furnished to do so, subject to the following conditions:
 18           // 
 19           // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 20           // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 21           // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 22           // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 23           // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 24           // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 25           // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 26           // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 27           //
 28           //==============================================================================
 29           //
 30           // Author: Carol Ann Krug Graves, Hewlett-Packard Company
 31           //             (carolann_graves@hp.com)
 32 kumpf 1.1 //
 33 yi.zhou 1.5 // Modified By: Yi Zhou, Hewlett-Packard Company (yi.zhou@hp.com)  
 34 kumpf   1.1 //
 35             //%/////////////////////////////////////////////////////////////////////////////
 36             
 37             #ifndef Pegasus_IndicationConstants_h
 38             #define Pegasus_IndicationConstants_h
 39             
 40             #include <Pegasus/Common/Config.h>
 41             #include <Pegasus/Common/CIMName.h>
 42             
 43             PEGASUS_NAMESPACE_BEGIN
 44             
 45             /**
 46                 Values for the Subscription State property of the Subscription class,
 47                 as defined in the CIM Events MOF
 48              */
 49             enum SubscriptionState {_STATE_UNKNOWN = 0, _STATE_OTHER = 1, 
 50                  _STATE_ENABLED = 2, _STATE_ENABLEDDEGRADED = 3, _STATE_DISABLED = 4};
 51             
 52             /**
 53                 Values for the Repeat Notification Policy property of the Subscription 
 54                 class, as defined in the CIM Events MOF
 55 kumpf   1.1  */
 56             enum RepeatNotificationPolicy {_POLICY_UNKNOWN = 0, _POLICY_OTHER = 1,
 57                  _POLICY_NONE = 2, _POLICY_SUPPRESS = 3, _POLICY_DELAY = 4};
 58             
 59             /**
 60                 Values for the On Fatal Error Policy property of the Subscription 
 61                 class, as defined in the CIM Events MOF
 62              */
 63             enum OnFatalErrorPolicy {_ERRORPOLICY_OTHER = 1, _ERRORPOLICY_IGNORE = 2, 
 64                 _ERRORPOLICY_DISABLE = 3, _ERRORPOLICY_REMOVE = 4};
 65             
 66             /**
 67                 Values for the Persistence Type property of the Handler class, 
 68                 as defined in the CIM Events MOF
 69              */
 70             enum PersistenceType {_PERSISTENCE_OTHER = 1, _PERSISTENCE_PERMANENT = 2, 
 71                 _PERSISTENCE_TRANSIENT = 3};
 72             
 73             /**
 74                 Values for the Perceived Severity property of the Alert Indication 
 75                 class, as defined in the CIM Events MOF
 76 kumpf   1.1  */
 77             enum PerceivedSeverity {_SEVERITY_UNKNOWN = 0, _SEVERITY_OTHER = 1, 
 78                  _SEVERITY_INFORMATION = 2, _SEVERITY_WARNING = 3, _SEVERITY_MINOR = 4,
 79                  _SEVERITY_MAJOR = 5, _SEVERITY_CRITICAL = 6, _SEVERITY_FATAL = 7};
 80             
 81             /**
 82                 Values for the Probable Cause property of the Alert Indication 
 83                 class, as defined in the CIM Events MOF
 84                 Note: not all possible values have been included
 85              */
 86             enum ProbableCause {_CAUSE_UNKNOWN = 0, _CAUSE_OTHER = 1};
 87             
 88             /**
 89                 Values for the Alert Type property of the Alert Indication class, 
 90                 as defined in the CIM Events MOF
 91              */
 92             enum AlertType {_TYPE_OTHER = 1, _TYPE_COMMUNICATIONS = 2, _TYPE_QOS = 3,
 93                  _TYPE_PROCESSING = 4, _TYPE_DEVICE = 5, _TYPE_ENVIRONMENTAL = 6,
 94                  _TYPE_MODELCHANGE = 7, _TYPE_SECURITY = 8};
 95             
 96             //
 97 kumpf   1.1 //  Class names
 98             //
 99             
100             /**
101                 The name of the CIMOM Shutdown alert indication class
102              */
103             //
104             //  ATTN: Update once CimomShutdownAlertIndication has been defined
105             //
106             static const CIMName _CLASS_CIMOM_SHUTDOWN_ALERT =
107                 CIMName ("CIM_AlertIndication");
108             
109             /**
110                 The name of the No Provider alert indication class
111              */
112             //
113             //  ATTN: Update once NoProviderAlertIndication has been defined
114             //
115             static const CIMName _CLASS_NO_PROVIDER_ALERT = CIMName ("CIM_AlertIndication");
116             
117             /**
118 kumpf   1.1     The name of the CIMOM shutdown alert indication class
119              */
120             //
121             //  ATTN: Update once ProviderTerminatedAlertIndication has been defined
122             //
123             static const CIMName _CLASS_PROVIDER_TERMINATED_ALERT =
124                 CIMName ("CIM_AlertIndication");
125             
126             
127             //
128             //  Property names
129             //
130             
131             /**
132 kumpf   1.2     The name of the Filter reference property for indication subscription class
133 kumpf   1.1  */
134             static const CIMName _PROPERTY_FILTER = CIMName ("Filter");
135             
136             /**
137 kumpf   1.2     The name of the Handler reference property for indication subscription class
138 kumpf   1.1  */
139             static const CIMName _PROPERTY_HANDLER = CIMName ("Handler");
140             
141             /**
142 kumpf   1.2     The name of the Subscription State property for indication subscription 
143 kumpf   1.1     class
144              */
145             static const CIMName _PROPERTY_STATE = CIMName ("SubscriptionState");
146             
147             /**
148                 The name of the Other Subscription State property for Indication 
149                 Subscription class
150              */
151             static const CIMName _PROPERTY_OTHERSTATE = CIMName ("OtherSubscriptionState");
152             
153             /**
154 kumpf   1.2     The name of the Repeat Notification Policy property for indication
155 kumpf   1.1     subscription class
156              */
157             static const CIMName _PROPERTY_REPEATNOTIFICATIONPOLICY =
158                 CIMName ("RepeatNotificationPolicy");
159             
160             /**
161 kumpf   1.2     The name of the Other Repeat Notification Policy property for
162 kumpf   1.1     indication subscription class
163              */
164             static const CIMName _PROPERTY_OTHERREPEATNOTIFICATIONPOLICY =
165                 CIMName ("OtherRepeatNotificationPolicy");
166             
167             /**
168                 The name of the On Fatal Error Policy property for Indication Subscription 
169                 class
170              */
171             static const CIMName _PROPERTY_ONFATALERRORPOLICY = 
172                 CIMName ("OnFatalErrorPolicy");
173             
174             /**
175                 The name of the Other On Fatal Error Policy property for Indication 
176                 Subscription class
177              */
178             static const CIMName _PROPERTY_OTHERONFATALERRORPOLICY = 
179                 CIMName ("OtherOnFatalErrorPolicy");
180             
181             /**
182 kumpf   1.2     The name of the Failure Trigger Time Interval property for Indication 
183                 Subscription class
184              */
185             static const CIMName _PROPERTY_FAILURETRIGGERTIMEINTERVAL = 
186                 CIMName ("FailureTriggerTimeInterval");
187             
188             /**
189 kumpf   1.1     The name of the Time Of Last State Change property for Indication 
190                 Subscription class
191              */
192             static const CIMName _PROPERTY_LASTCHANGE = CIMName ("TimeOfLastStateChange");
193             
194             /**
195                 The name of the Subscription Start Time property for Indication 
196                 Subscription class
197              */
198             static const CIMName _PROPERTY_STARTTIME = CIMName ("SubscriptionStartTime");
199             
200             /**
201                 The name of the Subscription Duration property for Indication 
202                 Subscription class
203              */
204             static const CIMName _PROPERTY_DURATION = CIMName ("SubscriptionDuration");
205             
206             /**
207                 The name of the Subscription Time Remaining property for Indication 
208                 Subscription class
209              */
210 kumpf   1.1 static const CIMName _PROPERTY_TIMEREMAINING = 
211                 CIMName ("SubscriptionTimeRemaining");
212             
213             /**
214 kumpf   1.2     The name of the Repeat Notification Interval property for indication
215                 subscription class
216              */
217             static const CIMName _PROPERTY_REPEATNOTIFICATIONINTERVAL = 
218                 CIMName ("RepeatNotificationInterval");
219             
220             /**
221                 The name of the Repeat Notification Gap property for indication
222                 subscription class
223              */
224             static const CIMName _PROPERTY_REPEATNOTIFICATIONGAP = 
225                 CIMName ("RepeatNotificationGap");
226             
227             /**
228                 The name of the Repeat Notification Count property for indication
229                 subscription class
230              */
231             static const CIMName _PROPERTY_REPEATNOTIFICATIONCOUNT = 
232                 CIMName ("RepeatNotificationCount");
233             
234             /**
235 carolann.graves 1.7     The name of the TextFormatOwningEntity property for Formatted Indication
236                         Subscription class
237                     */
238                     static const CIMName _PROPERTY_TEXTFORMATOWNINGENTITY =
239                         CIMName ("TextFormatOwningEntity");
240                     
241                     /**
242                         The name of the TextFormatID property for Formatted Indication
243                         Subscription class
244                     */
245                     static const CIMName _PROPERTY_TEXTFORMATID = CIMName ("TextFormatID");
246                     
247                     /**
248                         The name of the Caption property for Managed Element class
249                      */
250                     static const CIMName _PROPERTY_CAPTION = CIMName ("Caption");
251                     
252                     /**
253                         The name of the Description property for Managed Element class
254                      */
255                     static const CIMName _PROPERTY_DESCRIPTION = CIMName ("Description");
256 carolann.graves 1.7 
257                     /**
258                         The name of the ElementName property for Managed Element class
259                      */
260                     static const CIMName _PROPERTY_ELEMENTNAME = CIMName ("ElementName");
261                     
262                     /**
263 kumpf           1.2     The name of the Query property for indication filter class
264 kumpf           1.1  */
265                     static const CIMName _PROPERTY_QUERY = CIMName ("Query");
266                     
267                     /**
268 kumpf           1.2     The name of the Query Language property for indication filter class
269 kumpf           1.1  */
270                     static const CIMName _PROPERTY_QUERYLANGUAGE = CIMName ("QueryLanguage");
271                     
272                     /**
273                         The name of the Source Namespace property for indication filter class
274                      */
275                     static const CIMName _PROPERTY_SOURCENAMESPACE = CIMName ("SourceNamespace");
276                     
277                     /**
278 kumpf           1.2     The name of the Name property for indication filter and indications handler     classes
279 kumpf           1.1  */
280                     static const CIMName _PROPERTY_NAME = CIMName ("Name");
281                     
282                     /**
283 kumpf           1.2     The name of the Creation Class Name property for indication filter and 
284 kumpf           1.1     indications handler classes
285                      */
286                     static const CIMName _PROPERTY_CREATIONCLASSNAME = 
287                         CIMName ("CreationClassName");
288                     
289                     /**
290 kumpf           1.2     The name of the System Name property for indication filter and indications 
291 kumpf           1.1     handler classes
292                      */
293                     static const CIMName _PROPERTY_SYSTEMNAME = CIMName ("SystemName");
294                     
295                     /**
296 kumpf           1.2     The name of the System Creation Class Name property for indication filter 
297 kumpf           1.1     and indications handler classes
298                      */
299                     static const CIMName _PROPERTY_SYSTEMCREATIONCLASSNAME = 
300                         CIMName ("SystemCreationClassName");
301                     
302                     /**
303                         The name of the Persistence Type property for Indication Handler class
304                      */
305                     static const CIMName _PROPERTY_PERSISTENCETYPE = CIMName ("PersistenceType");
306                     
307                     /**
308                         The name of the Other Persistence Type property for Indication Handler 
309                         class
310                      */
311                     static const CIMName _PROPERTY_OTHERPERSISTENCETYPE = 
312                         CIMName ("OtherPersistenceType");
313                     
314                     /**
315 kumpf           1.2     The name of the Owner property for Indication Handler class
316                      */
317                     static const CIMName _PROPERTY_OWNER = CIMName ("Owner");
318                     
319                     /**
320                         The name of the TargetHostFormat property for SNMP Mapper Indication 
321                         Handler subclass
322 kumpf           1.1  */
323                     static const CIMName _PROPERTY_TARGETHOSTFORMAT = CIMName ("TargetHostFormat");
324                     
325                     /**
326 carolann.graves 1.7     The name of the OtherTargetHostFormat property for SNMP Mapper Indication 
327                         Handler subclass
328                      */
329                     static const CIMName _PROPERTY_OTHERTARGETHOSTFORMAT =
330                         CIMName ("OtherTargetHostFormat");
331                     
332                     /**
333 kumpf           1.2     The name of the SNMP Version property for SNMP Mapper Indication Handler 
334                         subclass
335 kumpf           1.1  */
336                     static const CIMName _PROPERTY_SNMPVERSION = CIMName ("SNMPVersion");
337 kumpf           1.2 
338                     /**
339                         The name of the Port Number property for SNMP Mapper Indication Handler 
340                         subclass
341                      */
342                     static const CIMName _PROPERTY_PORTNUMBER = CIMName ("PortNumber");
343                     
344                     /**
345                         The name of the SNMP Security Name property for SNMP Mapper Indication 
346                         Handler subclass
347                      */
348                     static const CIMName _PROPERTY_SNMPSECURITYNAME = CIMName ("SNMPSecurityName");
349                     
350                     /**
351                         The name of the SNMP Engine ID property for SNMP Mapper Indication Handler 
352                         subclass
353                      */
354                     static const CIMName _PROPERTY_SNMPENGINEID = CIMName ("SNMPEngineID");
355 kumpf           1.1 
356                     /**
357 yi.zhou         1.6     The name of the MailTo property for Email Handler subclass
358                     */
359                     static const CIMName PEGASUS_PROPERTYNAME_LSTNRDST_MAILTO = 
360                         CIMName ("MailTo");
361                     
362                     /**
363                         The name of the MailSubject property for Email Handler subclass
364                     */
365                     static const CIMName PEGASUS_PROPERTYNAME_LSTNRDST_MAILSUBJECT = 
366                         CIMName ("MailSubject");
367                     
368                     /**
369                         The name of the MailCc  property for Email Handler subclass
370                      */
371                     static const CIMName PEGASUS_PROPERTYNAME_LSTNRDST_MAILCC = 
372                         CIMName ("MailCc");
373                     
374                     /**
375 kumpf           1.1     The name of the Alert Type property for Alert Indication class
376                      */
377                     static const CIMName _PROPERTY_ALERTTYPE = CIMName ("AlertType");
378                     
379                     /**
380                         The name of the Other Alert Type property for Alert Indication class
381                      */
382                     static const CIMName _PROPERTY_OTHERALERTTYPE = CIMName ("OtherAlertType");
383                     
384                     /**
385                         The name of the Perceived Severity property for Alert Indication class
386                      */
387                     static const CIMName _PROPERTY_PERCEIVEDSEVERITY = 
388                         CIMName ("PerceivedSeverity");
389                     
390                     /**
391                         The name of the Probable Cause property for Alert Indication class
392                      */
393                     static const CIMName _PROPERTY_PROBABLECAUSE = CIMName ("ProbableCause");
394                     
395                     //
396 kumpf           1.1 //  Qualifier names
397                     //
398                     
399                     /**
400                         The name of the Indication qualifier for classes
401                      */
402                     static const CIMName _QUALIFIER_INDICATION = CIMName ("INDICATION");
403                     
404                     
405                     //
406                     //  Other literal values
407                     //
408                     
409                     /**
410                         The WHERE keyword in WQL
411                      */
412                     static const char   _QUERY_WHERE []         = "WHERE";
413                     
414                     /**
415                         A zero value CIMDateTime interval
416                      */
417 kumpf           1.1 static const char _ZERO_INTERVAL_STRING [] = "00000000000000.000000:000";
418                     
419                     PEGASUS_NAMESPACE_END
420                     
421                     #endif  /* Pegasus_IndicationConstants_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2