1 karl 1.1 //%2006////////////////////////////////////////////////////////////////////////
2 //
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 // IBM Corp.; EMC Corporation, The Open Group.
7 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
9 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 // EMC Corporation; VERITAS Software Corporation; The Open Group.
11 // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12 // EMC Corporation; Symantec Corporation; The Open Group.
13 //
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 karl 1.1 // 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
35 #include "IndicationConstants.h"
36
37
38 PEGASUS_NAMESPACE_BEGIN
39 /**
40 The name of the CIMOM Shutdown alert indication class
41 */
42 //
43 karl 1.1 // ATTN: Update once CimomShutdownAlertIndication has been defined
44 //
45 const CIMName _CLASS_CIMOM_SHUTDOWN_ALERT =
46 CIMName ("CIM_AlertIndication");
47
48 /**
49 The name of the No Provider alert indication class
50 */
51 //
52 // ATTN: Update once NoProviderAlertIndication has been defined
53 //
54 const CIMName _CLASS_NO_PROVIDER_ALERT = CIMName ("CIM_AlertIndication");
55
56 /**
57 The name of the CIMOM shutdown alert indication class
58 */
59 //
60 // ATTN: Update once ProviderTerminatedAlertIndication has been defined
61 //
62 const CIMName _CLASS_PROVIDER_TERMINATED_ALERT =
63 CIMName ("CIM_AlertIndication");
64 karl 1.1
65
66 //
67 // Property names
68 //
69
70 /**
71 The name of the Other Subscription State property for Indication
72 Subscription class
73 */
74 const CIMName _PROPERTY_OTHERSTATE = CIMName ("OtherSubscriptionState");
75
76 /**
77 The name of the Repeat Notification Policy property for indication
78 subscription class
79 */
80 const CIMName _PROPERTY_REPEATNOTIFICATIONPOLICY =
81 CIMName ("RepeatNotificationPolicy");
82
83 /**
84 The name of the Other Repeat Notification Policy property for
85 karl 1.1 indication subscription class
86 */
87 const CIMName _PROPERTY_OTHERREPEATNOTIFICATIONPOLICY =
88 CIMName ("OtherRepeatNotificationPolicy");
89
90 /**
91 The name of the On Fatal Error Policy property for Indication Subscription
92 class
93 */
94 const CIMName _PROPERTY_ONFATALERRORPOLICY =
95 CIMName ("OnFatalErrorPolicy");
96
97 /**
98 The name of the Other On Fatal Error Policy property for Indication
99 Subscription class
100 */
101 const CIMName _PROPERTY_OTHERONFATALERRORPOLICY =
102 CIMName ("OtherOnFatalErrorPolicy");
103
104 /**
105 The name of the Failure Trigger Time Interval property for Indication
106 karl 1.1 Subscription class
107 */
108 const CIMName _PROPERTY_FAILURETRIGGERTIMEINTERVAL =
109 CIMName ("FailureTriggerTimeInterval");
110
111 /**
112 The name of the Time Of Last State Change property for Indication
113 Subscription class
114 */
115 const CIMName _PROPERTY_LASTCHANGE = CIMName ("TimeOfLastStateChange");
116
117 /**
118 The name of the Subscription Start Time property for Indication
119 Subscription class
120 */
121 const CIMName _PROPERTY_STARTTIME = CIMName ("SubscriptionStartTime");
122
123 /**
124 The name of the Subscription Duration property for Indication
125 Subscription class
126 */
127 karl 1.1 const CIMName _PROPERTY_DURATION = CIMName ("SubscriptionDuration");
128
129 /**
130 The name of the Subscription Time Remaining property for Indication
131 Subscription class
132 */
133 const CIMName _PROPERTY_TIMEREMAINING =
134 CIMName ("SubscriptionTimeRemaining");
135
136 /**
137 The name of the Repeat Notification Interval property for indication
138 subscription class
139 */
140 const CIMName _PROPERTY_REPEATNOTIFICATIONINTERVAL =
141 CIMName ("RepeatNotificationInterval");
142
143 /**
144 The name of the Repeat Notification Gap property for indication
145 subscription class
146 */
147 const CIMName _PROPERTY_REPEATNOTIFICATIONGAP =
148 karl 1.1 CIMName ("RepeatNotificationGap");
149
150 /**
151 The name of the Repeat Notification Count property for indication
152 subscription class
153 */
154 const CIMName _PROPERTY_REPEATNOTIFICATIONCOUNT =
155 CIMName ("RepeatNotificationCount");
156
157 /**
158 The name of the TextFormatOwningEntity property for Formatted Indication
159 Subscription class
160 */
161 const CIMName _PROPERTY_TEXTFORMATOWNINGENTITY =
162 CIMName ("TextFormatOwningEntity");
163
164 /**
165 The name of the TextFormatID property for Formatted Indication
166 Subscription class
167 */
168 const CIMName _PROPERTY_TEXTFORMATID = CIMName ("TextFormatID");
169 karl 1.1
170 /**
171 The name of the Caption property for Managed Element class
172 */
173 const CIMName _PROPERTY_CAPTION = CIMName ("Caption");
174
175 /**
176 The name of the Description property for Managed Element class
177 */
178 const CIMName _PROPERTY_DESCRIPTION = CIMName ("Description");
179
180 /**
181 The name of the ElementName property for Managed Element class
182 */
183 const CIMName _PROPERTY_ELEMENTNAME = CIMName ("ElementName");
184
185 /**
186 The name of the Source Namespace property for indication filter class
187 */
188 const CIMName _PROPERTY_SOURCENAMESPACE = CIMName ("SourceNamespace");
189
190 karl 1.1 /**
191 The name of the System Name property for indication filter and indications
192 handler classes
193 */
194 const CIMName _PROPERTY_SYSTEMNAME = CIMName ("SystemName");
195
196 /**
197 The name of the System Creation Class Name property for indication filter
198 and indications handler classes
199 */
200 const CIMName _PROPERTY_SYSTEMCREATIONCLASSNAME =
201 CIMName ("SystemCreationClassName");
202
203 /**
204 The name of the Other Persistence Type property for Indication Handler
205 class
206 */
207 const CIMName _PROPERTY_OTHERPERSISTENCETYPE =
208 CIMName ("OtherPersistenceType");
209
210 /**
211 karl 1.1 The name of the Owner property for Indication Handler class
212 */
213 const CIMName _PROPERTY_OWNER = CIMName ("Owner");
214
215 /**
216 The name of the TargetHostFormat property for SNMP Mapper Indication
217 Handler subclass
218 */
219 const CIMName _PROPERTY_TARGETHOSTFORMAT = CIMName ("TargetHostFormat");
220
221 /**
222 The name of the OtherTargetHostFormat property for SNMP Mapper Indication
223 Handler subclass
224 */
225 const CIMName _PROPERTY_OTHERTARGETHOSTFORMAT =
226 CIMName ("OtherTargetHostFormat");
227
228 /**
229 The name of the Port Number property for SNMP Mapper Indication Handler
230 subclass
231 */
232 karl 1.1 const CIMName _PROPERTY_PORTNUMBER = CIMName ("PortNumber");
233
234 /**
235 The name of the SNMP Security Name property for SNMP Mapper Indication
236 Handler subclass
237 */
238 const CIMName _PROPERTY_SNMPSECURITYNAME = CIMName ("SNMPSecurityName");
239
240 /**
241 The name of the SNMP Engine ID property for SNMP Mapper Indication Handler
242 subclass
243 */
244 const CIMName _PROPERTY_SNMPENGINEID = CIMName ("SNMPEngineID");
245
246 /**
247 The name of the Alert Type property for Alert Indication class
248 */
249 const CIMName _PROPERTY_ALERTTYPE = CIMName ("AlertType");
250
251 /**
252 The name of the Other Alert Type property for Alert Indication class
253 karl 1.1 */
254 const CIMName _PROPERTY_OTHERALERTTYPE = CIMName ("OtherAlertType");
255
256 /**
257 The name of the Perceived Severity property for Alert Indication class
258 */
259 const CIMName _PROPERTY_PERCEIVEDSEVERITY =
260 CIMName ("PerceivedSeverity");
261
262 /**
263 The name of the Probable Cause property for Alert Indication class
264 */
265 const CIMName _PROPERTY_PROBABLECAUSE = CIMName ("ProbableCause");
266
267 //
268 // Qualifier names
269 //
270
271 /**
272 The name of the Indication qualifier for classes
273 */
274 karl 1.1 const CIMName _QUALIFIER_INDICATION = CIMName ("INDICATION");
275
276
277 //
278 // Other literal values
279 //
280
281 /**
282 The WHERE keyword in WQL
283 */
284 const char _QUERY_WHERE [] = "WHERE";
285
286 /**
287 A zero value CIMDateTime interval
288 */
289 const char _ZERO_INTERVAL_STRING [] = "00000000000000.000000:000";
290
291 PEGASUS_NAMESPACE_END
|