1 mike 1.2 //====================================================================
2 // Title: Event MOF Specification 2.6
3 // Filename: Event_26.mof
4 // Version: 2.6
5 // Release: 0
6 // Date: 05/23/2001
7 // Description: The object classes below are listed in an order that
8 // avoids forward references. Required objects, defined
9 // by other working groups, are omitted.
10 // ===================================================================
11 // Date: 12/18/2000 - Initial release, Version 2.5
12 // Author: DMTF Event Working Group
13 //====================================================================
14 // Revision History
15 //
16 // Date 5/23/2001 - v2.6 Change name of IndicationHandlerXMLHTTP to
17 // IndicationHandlerCIM-XML to reflect DMTF naming
18 // convention; CIM-XML denotes xml encoded CIM
19 // operations over HTTP.
20
21 // ===================================================================
22 mike 1.2 // Pragmas
23 // ===================================================================
24 #pragma locale ("en_US")
25
26
27 //====================================================================
28 // CIM_Indication
29 //====================================================================
30 [Indication, Abstract,
31 Description (
32 "CIM_Indication is the abstract root class for all notifications "
33 "about changes in schema, objects and their data, and about "
34 "events detected by providers and instrumentation. Subclasses "
35 "represent specific types of notifications. \n"
36 "\n"
37 "To receive an Indication, a consumer (or subscriber) must create "
38 "an instance of CIM_IndicationFilter describing the criteria of "
39 "the notification, an instance of CIM_IndicationHandler describing "
40 "the delivery of the notification, and an instance of "
41 "CIM_IndicationSubscription associating the Filter and Handler.") ]
42 class CIM_Indication
43 mike 1.2 {
44 [Description (
45 "The time and date of creation of the Indication. The property "
46 "may be set to NULL if the entity creating the Indication is "
47 "not capable of determing this information. Note that "
48 "IndicationTime may be the same for two Indications that are "
49 "generated in rapid succession.") ]
50 datetime IndicationTime;
51 };
52
53 //====================================================================
54 // CIM_ClassIndication
55 //====================================================================
56 [Indication, Abstract,
57 Description (
58 "CIM_ClassIndication is an abstract superclass describing changes "
59 "in the definition of the schema. Subclasses represent specific "
60 "types of change notifications, such as class creation, deletion "
61 "and modification.") ]
62 class CIM_ClassIndication : CIM_Indication
63 {
64 mike 1.2 [EmbeddedObject, Required,
65 Description (
66 "The current definition of the class that is created, changed "
67 "or deleted in the schema. In the case of a CIM_ClassDeletion "
68 "Indication, the definition for the class just prior to "
69 "deletion should be placed in this property.") ]
70 string ClassDefinition;
71 };
72
73 //====================================================================
74 // CIM_ClassCreation
75 //====================================================================
76 [Indication,
77 Description (
78 "CIM_ClassCreation notifies when a new class is defined in the "
79 "schema.") ]
80 class CIM_ClassCreation : CIM_ClassIndication
81 {
82 };
83
84 //====================================================================
85 mike 1.2 // CIM_ClassDeletion
86 //====================================================================
87 [Indication,
88 Description (
89 "CIM_ClassDeletion notifies when a class is deleted from the "
90 "schema.") ]
91 class CIM_ClassDeletion : CIM_ClassIndication
92 {
93 };
94
95 //====================================================================
96 // CIM_ClassModification
97 //====================================================================
98 [Indication,
99 Description (
100 "CIM_ClassModification notifies when a class definition in the "
101 "schema is modified.") ]
102 class CIM_ClassModification : CIM_ClassIndication
103 {
104 [EmbeddedObject, Required,
105 Description (
106 mike 1.2 "A copy of the 'previous' class definition whose change "
107 "generated the Indication. PreviousClassDefinition contains "
108 "an 'older' copy of the class' information, as compared to "
109 "what is found in the ClassDefinition property (inherited "
110 "from ClassIndication).") ]
111 string PreviousClassDefinition;
112 };
113
114 //====================================================================
115 // CIM_InstIndication
116 //====================================================================
117 [Indication, Abstract,
118 Description (
119 "CIM_InstIndication is an abstract superclass describing changes "
120 "to instances. Subclasses represent specific types of change "
121 "notifications, such as instance creation, deletion and "
122 "modification.") ]
123 class CIM_InstIndication : CIM_Indication
124 {
125 [EmbeddedObject, Required,
126 Description (
127 mike 1.2 "A copy of the instance that changed to generate the "
128 "Indication. SourceInstance contains the current values of "
129 "the properties selected by the Indication"
130 "Filter's Query. In the case of CIM_InstDeletion, "
131 "the property values are copied before the instance is "
132 "deleted.") ]
133 string SourceInstance;
134 };
135
136 //====================================================================
137 // CIM_InstCreation
138 //====================================================================
139 [Indication,
140 Description (
141 "CIM_InstCreation notifies when a new instance is created.") ]
142 class CIM_InstCreation : CIM_InstIndication
143 {
144 };
145
146 //====================================================================
147 // CIM_InstDeletion
148 mike 1.2 //====================================================================
149 [Indication,
150 Description (
151 "CIM_InstDeletion notifies when an existing instance is deleted.") ]
152 class CIM_InstDeletion : CIM_InstIndication
153 {
154 };
155
156 //====================================================================
157 // CIM_InstModification
158 //====================================================================
159 [Indication,
160 Description (
161 "CIM_InstModification notifies when an instance is modified.") ]
162 class CIM_InstModification : CIM_InstIndication
163 {
164 [EmbeddedObject, Required,
165 Description (
166 "A copy of the 'previous' instance whose change generated the "
167 "Indication. PreviousInstance contains 'older' values of "
168 "an instance's properties (as compared to SourceInstance), "
169 mike 1.2 "selected by the IndicationFilter's Query.") ]
170 string PreviousInstance;
171 };
172
173 //====================================================================
174 // CIM_InstMethodCall
175 //====================================================================
176 [Indication,
177 Description (
178 "CIM_InstMethodCall notifies when an instance's method is "
179 "invoked.") ]
180 class CIM_InstMethodCall : CIM_InstIndication
181 {
182 [Required, Description (
183 "The name of the method invoked.") ]
184 string MethodName;
185
186 [EmbeddedObject,
187 Description (
188 "The parameters of the method, formatted as an "
189 "EmbeddedObject (with a predefined class name of "
190 mike 1.2 "\"__MethodParameters\".") ]
191 string MethodParameters;
192
193 [Description (
194 "ReturnValue's data is dependent on the PreCall property. "
195 "When PreCall is TRUE, this property is NULL describing that "
196 "there is no method return value (since the method has not yet "
197 "executed). When PreCall is FALSE, ReturnValue contains a "
198 "string representation of the method's return value."),
199 ModelCorrespondence {"CIM_InstMethodCall.PreCall"} ]
200 string ReturnValue;
201
202 [Required, Description (
203 "Boolean indicating whether the Indication is sent before "
204 "the method begins executing (TRUE) or when the method "
205 "completes (FALSE). When TRUE, the inherited property "
206 "SourceInstance contains the value of the instance (the "
207 "properties defined by the Filter's Query clause), "
208 "before execution of the method. When PreCall is FALSE, "
209 "SourceInstance embeds the instance as it appears after "
210 "the completion of the method.") ]
211 mike 1.2 boolean PreCall;
212 };
213
214 //====================================================================
215 // CIM_InstRead
216 //====================================================================
217 [Indication,
218 Description (
219 "CIM_InstRead notifies when an instance is read but not "
220 "modified.") ]
221 class CIM_InstRead : CIM_InstIndication
222 {
223 };
224
225 //====================================================================
226 // CIM_ProcessIndication
227 //====================================================================
228 [Indication, Abstract,
229 Description (
230 "An abstract superclass for specialized Indication classes, "
231 "addressing specific changes and alerts published by providers "
232 mike 1.2 "and instrumentation. Subclasses include AlertIndication (with "
233 "properties such as PerceivedSeverity and ProbableCause), and "
234 "SNMPTrapIndication (which recasts Traps as CIM indications).") ]
235 class CIM_ProcessIndication : CIM_Indication
236 {
237 };
238
239 //====================================================================
240 // CIM_SNMPTrapIndication
241 //====================================================================
242 [Indication,
243 Description (
244 "A concrete class for mapping an SNMP Trap to CIM based on the "
245 "IETF RFC 1157. The usefulness of this class is to describe "
246 "common trap semantics. But, a complete understanding of any trap "
247 "data received relies on the Indicaton recipient having access to "
248 "the sender's MIB. Understanding can be improved by mapping the "
249 "SNMP domain to CIM, and using CIM LifeCycle and standard "
250 "subclasses of CIM_ProcessIndication.") ]
251 class CIM_SNMPTrapIndication : CIM_ProcessIndication
252 {
253 mike 1.2 [Description (
254 "Type of object generating the trap."),
255 Mappingstrings {"PDU.IETF|RFC1157-TRAP-PDU.enterprise"} ]
256 string Enterprise;
257
258 [Description (
259 "Address of the object generating the trap."),
260 Mappingstrings {"PDU.IETF|RFC1157-TRAP-PDU.agent-addr"} ]
261 string AgentAddress;
262
263 [Description (
264 "An enumerated value that describes the generic trap type: \n"
265 "- The coldStart(0) trap signifies that the sending protocol "
266 "entity is reinitializing itself such that the agent's "
267 "configuration or the protocol entity implementation may be "
268 "altered. \n"
269 "- The warmStart(1) trap signifies that the sending protocol "
270 "entity is reinitializing itself such that neither the agent "
271 "configuration nor the protocol entity implementation is "
272 "altered. \n"
273 "- The linkDown(2) trap signifies that the sending protocol "
274 mike 1.2 "recognizes a failure in one of the communication links "
275 "represented in the agent's configuration. The Trap-PDU of "
276 "type linkDown contains as the first element of its "
277 "variable-bindings the name and value of the ifIndex instance "
278 "for the affected interface. \n"
279 "- The linkUp(3) trap signifies that the sending protocol "
280 "entity recognizes that one of the communication links "
281 "represented in the agent's configuration has come up. The "
282 "Trap-PDU of type linkUp contains as the first element of its "
283 "variable-bindings, the name and value of the ifIndex instance "
284 "for the affected interface. \n"
285 "- An authenticationFailure(4) trap signifies that the sending "
286 "protocol entity is the adressee of a protocol message that was "
287 "not properly authenticated. While implementations of SNMP must "
288 "be capable of generating this trap, they must also be capable "
289 "of suppressing the emission of such traps via an implementation-"
290 "specific mechanism. \n"
291 "- An egpNeighborLoss(5) trap signifies that an EGP neighbor for "
292 "whom the sending protocol entity was an EGP peer has been "
293 "marked as down and the peer relationship no longer pertains. "
294 "The Trap-PDU of type egpNeighborLoss contains as the first "
295 mike 1.2 "element of its variable-bindings, the name and value of the "
296 "egpNeighAddr instance for the affected neighbor. \n"
297 "- An enterpriseSpecific(6) trap signifies that the sending "
298 "protocol entity recognizes that some enterprise-specific "
299 "event has occurred. The specific-trap field identifies the "
300 "particular trap which occurred."),
301 Values {"Cold Start", "Warm Start", "Link Down", "Link Up",
302 "Authentication Failure", "EGP Neighbor Loss",
303 "Enterprise Specific"},
304 Mappingstrings {"PDU.IETF|RFC1157-TRAP-PDU.generic-trap"} ]
305 uint16 GenericTrap;
306
307 [Description ("Specific trap code."),
308 Mappingstrings {"PDU.IETF|RFC1157-TRAP-PDU.specific-trap"} ]
309 uint32 SpecificTrap;
310
311 [Description (
312 "Time elapsed between the last (re)intialization of the "
313 "managed entity and the generation of the trap."),
314 Mappingstrings {"PDU.IETF|RFC1157-TRAP-PDU.time-stamp"} ]
315 datetime TimeStamp;
316 mike 1.2
317 [Description (
318 "Object naming information (an OID) from the 'variable "
319 "binding' portion of the Trap. This array is correlated "
320 "with the VarBindSyntaxes and VarBindValues arrays. Each "
321 "entry is related to the entries in the other arrays, "
322 "that are located at the same index. In this way, the "
323 "variable binding's name/syntax/value tuple can be "
324 "constructed."), ArrayType ("Indexed"),
325 ModelCorrespondence {"CIM_SNMPTrapIndication.VarBindSyntaxes",
326 "CIM_SNMPTrapIndication.VarBindValues"},
327 Mappingstrings {"PDU.IETF|RFC1157-TRAP-PDU.variable-bindings"} ]
328 string VarBindNames[];
329
330 [Description (
331 "Object syntax information (defined as an enumerated value) "
332 "from the 'variable binding' portion of the Trap. This array "
333 "is correlated with the VarBindNames and VarBindValues "
334 "arrays. Each entry is related to the entries in the other "
335 "arrays, that are located at the same index. In this way, "
336 "the variable binding's name/syntax/value tuple can be "
337 mike 1.2 "constructed."), ArrayType ("Indexed"),
338 ValueMap {"1", "2", "3", "4", "5", "6", "7", "8"},
339 Values {"Integer", "OctetString", "ObjectIdentifier",
340 "NetworkAddress", "Counter", "Gauge",
341 "TimeTicks", "Opaque"},
342 ModelCorrespondence {"CIM_SNMPTrapIndication.VarBindNames",
343 "CIM_SNMPTrapIndication.VarBindValues"},
344 Mappingstrings {"PDU.IETF|RFC1157-TRAP-PDU.variable-bindings"} ]
345 uint16 VarBindSyntaxes[];
346
347 [Description (
348 "An OctetString representing object value information "
349 "from the 'variable binding' portion of the Trap. This "
350 "array is correlated with the VarBindNames and "
351 "VarBindSyntaxes arrays. Each entry is related to the "
352 "entries in the other arrays, that are located at the "
353 "same index. In this way, the variable binding's "
354 "name/syntax/value tuple can be constructed."),
355 ArrayType ("Indexed"), OctetString,
356 ModelCorrespondence {"CIM_SNMPTrapIndication.VarBindNames",
357 "CIM_SNMPTrapIndication.VarBindSyntaxes"},
358 mike 1.2 Mappingstrings {"PDU.IETF|RFC1157-TRAP-PDU.variable-bindings"} ]
359 string VarBindValues[];
360 };
361
362 //====================================================================
363 // CIM_AlertIndication
364 //====================================================================
365 [Indication,
366 Description (
367 "A concrete superclass for CIM Alert notifications. An "
368 "AlertIndication is a specialized type of CIM_Indication that "
369 "contains information about the severity, cause, recommended "
370 "actions and other data of a real world event. This event and its "
371 "data may or may not be modeled in the CIM class hierarchy.") ]
372 class CIM_AlertIndication : CIM_ProcessIndication
373 {
374 [Description (
375 "A short description of the Indication."),
376 MappingStrings {"Recommendation.ITU|X733.Additional text"} ]
377 string Description;
378
379 mike 1.2 [Description (
380 "The identifying information of the entity (ie, the instance) for "
381 "which this Indication is generated. The property contains the "
382 "path of an instance, encoded as a string parameter - if the "
383 "instance is modeled in the CIM Schema. If not a CIM instance, "
384 "the property contains some identifying string that names the "
385 "entity for which the Alert is generated.") ]
386 string AlertingManagedElement;
387
388 [Required, Description (
389 "Primary classification of the Indication. The following values "
390 "are defined: \n"
391 "1 - Other. The Indication's OtherAlertType property conveys "
392 "its classification. Use of \"Other\" in an enumeration is a "
393 "standard CIM convention. It means that the current Indication "
394 "does not fit into the categories described by this enumeration. \n"
395 "2 - Communications Alert. An Indication of this type is "
396 "principally associated with the procedures and/or processes "
397 "required to convey information from one point to another. \n"
398 "3 - Quality of Service Alert. An Indication of this type is "
399 "principally associated with a degradation or errors in the "
400 mike 1.2 "performance or function of an entity. \n"
401 "4 - Processing Error. An Indication of this type is "
402 "principally associated with a software or processing fault. \n"
403 "5 - Device Alert. An Indication of this type is principally "
404 "associated with an equipment or hardware fault. \n"
405 "6 - Environmental Alert. An Indication of this type is "
406 "principally associated with a condition relating to an "
407 "enclosure in which the hardware resides, or other "
408 "environmental considerations. \n"
409 "7 - Model Change. The Indication addresses changes in the "
410 "Information Model. For example, it may embed a Lifecycle "
411 "Indication to convey the specific model change being "
412 "alerted. \n"
413 "8 - Security Alert. An Indication of this type is associated "
414 "with security violations, detection of viruses, and similar "
415 "issues."),
416 ValueMap {"1", "2", "3", "4", "5", "6", "7", "8"},
417 Values {"Other", "Communications Alert",
418 "Quality of Service Alert", "Processing Error",
419 "Device Alert", "Environmental Alert", "Model Change",
420 "Security Alert"},
421 mike 1.2 MappingStrings {"Recommendation.ITU|X733.Event type"} ]
422 uint16 AlertType;
423
424 [Description (
425 "A string describing the Alert type - used when the AlertType "
426 "property is set to 1, \"Other State Change\"."),
427 ModelCorrespondence {"CIM_AlertIndication.AlertType"} ]
428 string OtherAlertType;
429
430 [Required, Description (
431 "An enumerated value that describes the severity of the Alert"
432 "Indication from the notifier's point of view: \n"
433 "1 - Other, by CIM convention, is used to indicate that the "
434 "Severity's value can be found in the OtherSeverity property. \n"
435 "3 - Degraded/Warning should be used when its appropriate to let "
436 "the user decide if action is needed. \n"
437 "4 - Minor should be used to indicate action is needed, but the "
438 "situation is not serious at this time. \n"
439 "5 - Major should be used to indicate action is needed NOW. \n"
440 "6 - Critical should be used to indicate action is needed NOW "
441 "and the scope is broad (perhaps an imminent outage to a critical "
442 mike 1.2 "resource will result). \n"
443 "7 - Fatal/NonRecoverable should be used to indicate an error "
444 "occurred, but it's too late to take remedial action. \n"
445 "2 and 0 - Information and Unknown (respectively) follow common "
446 "usage. Literally, the AlertIndication is purely informational "
447 "or its severity is simply unknown."),
448 Values {"Unknown", "Other", "Information", "Degraded/Warning",
449 "Minor", "Major", "Critical", "Fatal/NonRecoverable"},
450 MappingStrings {"Recommendation.ITU|X733.Perceived severity"} ]
451 uint16 PerceivedSeverity;
452
453 [Description (
454 "Holds the value of the user defined severity value when "
455 "'Severity' is 1 (\"Other\")."),
456 ModelCorrespondence {"CIM_AlertIndication.PerceivedSeverity"} ]
457 string OtherSeverity;
458
459 [Required, Description (
460 "An enumerated value that describes the probable cause of the "
461 "situation which resulted in the AlertIndication."),
462 Values {"Unknown", "Other", "Adapter Error",
463 mike 1.2 "Application Subsystem Failure", "Bandwidth Reduced",
464 "Connection Establishment Error",
465 "Communications Protocol Error",
466 "Communications Subsystem Failure",
467 "Configuration/Customization Error", "Congestion",
468 "Corrupt Data", "CPU Cycles Limit Exceeded",
469 "Dataset/Modem Error", "Degraded Signal",
470 "DTE-DCE Interface Error", "Enclosure Door Open",
471 "Equipment Malfunction", "Excessive Vibration",
472 "File Format Error", "Fire Detected", "Flood Detected",
473 "Framing Error", "HVAC Problem", "Humidity Unacceptable",
474 "I/O Device Error", "Input Device Error", "LAN Error",
475 "Non-Toxic Leak Detected", "Local Node Transmission Error",
476 "Loss of Frame", "Loss of Signal",
477 "Material Supply Exhausted", "Multiplexer Problem",
478 "Out of Memory", "Output Device Error",
479 "Performance Degraded", "Power Problem",
480 "Pressure Unacceptable",
481 "Processor Problem (Internal Machine Error)",
482 "Pump Failure", "Queue Size Exceeded", "Receive Failure",
483 "Receiver Failure", "Remote Node Transmission Error",
484 mike 1.2 "Resource at or Nearing Capacity", "Response Time Excessive",
485 "Retransmission Rate Excessive", "Software Error",
486 "Software Program Abnormally Terminated",
487 "Software Program Error (Incorrect Results)",
488 "Storage Capacity Problem", "Temperature Unacceptable",
489 "Threshold Crossed", "Timing Problem",
490 "Toxic Leak Detected", "Transmit Failure",
491 "Transmitter Failure", "Underlying Resource Unavailable",
492 "Version MisMatch", "Previous Alert Cleared",
493 "Login Attempts Failed", "Software Virus Detected",
494 "Hardware Security Breached", "Denial of Service Detected",
495 "Security Credential MisMatch",
496 "Invalid Access of Data Detected"},
497 MappingStrings {"Recommendation.ITU|X733.Probable cause"} ]
498 uint16 ProbableCause;
499
500 [Description (
501 "Provides additional information related to the "
502 "ProbableCause.") ]
503 string ProbableCauseDescription;
504
505 mike 1.2 [Description (
506 "Provides information on trending - trending up, down or "
507 "no change."),
508 Values {"Unknown", "Not Applicable", "Trending Up",
509 "Trending Down", "No Change"},
510 MappingStrings {"Recommendation.ITU|X733.TrendIndication"} ]
511 uint16 Trending;
512
513 [Description (
514 "An identifier for the AlertIndication. This property is "
515 "similar to a key value in that it can be used for "
516 "identification, when correlating AlertIndications (see "
517 "the CorrelatedIndications array). Its value should be unique "
518 "as long as Alert correlations are reported, but may be "
519 "reused or left NULL if no future AlertIndications will "
520 "reference it in their CorrelatedIndications array."),
521 MappingStrings {
522 "Recommendation.ITU|X733.Notification identifier"} ]
523 string IndicationIdentifier;
524
525 [Description (
526 mike 1.2 "A list of IndicationIdentifiers whose notifications are correlated "
527 "with (related to) this one."),
528 MappingStrings {
529 "Recommendation.ITU|X733.Correlated notifications"} ]
530 string CorrelatedIndications[];
531
532 [Description (
533 "Free form descriptions of the recommended actions to take to "
534 "resolve the cause of the notification."),
535 MappingStrings {
536 "Recommendation.ITU|X733.Proposed repair actions"} ]
537 string RecommendedActions[];
538 };
539
540 //====================================================================
541 // CIM_ThresholdIndication
542 //====================================================================
543 [Indication,
544 Description (
545 "A subclass of CIM_AlertIndications carrying additional threshold "
546 "information related to the notification. This subclass is used "
547 mike 1.2 "when one of the ProbableCauses is set to 53, \"Threshold "
548 "Crossed\".") ]
549 class CIM_ThresholdIndication : CIM_AlertIndication
550 {
551 [Description (
552 "A string describing the threshold or naming the property that "
553 "represents the threshold, if modeled in the CIM hierarchy. In "
554 "the latter case, the value should be written as <schema name>_"
555 "<class name>.<property name>."),
556 MappingStrings {"Recommendation.ITU|X733.Threshold information"} ]
557 string ThresholdIdentifier;
558
559 [Description (
560 "A string holding the current value of the threshold. This is "
561 "modeled as a string for universal mapping, similar to the "
562 "CIM_Sensor properties in the Device Model."),
563 MappingStrings {"Recommendation.ITU|X733.Threshold information"} ]
564 string ThresholdValue;
565
566 [Description (
567 "A string holding the current reading value that exceeds the "
568 mike 1.2 "threshold. This is modeled as a string for universal mapping, "
569 "similar to the CIM_Sensor properties in the Device Model."),
570 MappingStrings {"Recommendation.ITU|X733.Threshold information"} ]
571 string ObservedValue;
572 };
573
574 //====================================================================
575 // CIM_AlertInstIndication
576 //====================================================================
577 [Indication,
578 Description (
579 "A subclass of CIM_AlertIndication that embeds a CIM_Inst"
580 "Indication. It is used when adding AlertIndication data to a "
581 "LifeCycle Indication.") ]
582 class CIM_AlertInstIndication : CIM_AlertIndication
583 {
584 [Override ("AlertType"), Description (
585 "The primary classification of the Indication, defaulted "
586 "to 7, \"Model Change\", for this class. This is done "
587 "because: 1) the primary purpose of AlertInstIndication is "
588 "to add Alert data to a LifeCycle Indication; and 2) LifeCycle "
589 mike 1.2 "Indications deal with 'model changes'.") ]
590 uint16 AlertType = 7;
591
592 [EmbeddedObject, Required,
593 Description (
594 "Embeds the InstIndication that is part of this Alert"
595 "Indication. Only the properties selected by the Indication"
596 "Filter's Query are included.") ]
597 string IndObject;
598 };
599
600 //====================================================================
601 // CIM_IndicationFilter
602 //====================================================================
603 [Description (
604 "CIM_IndicationFilter defines the criteria for generating an "
605 "Indication and what data should be returned in the Indication. "
606 "It is derived from CIM_ManagedElement to allow modeling the "
607 "dependency of the filter on a specific service.") ]
608 class CIM_IndicationFilter: CIM_ManagedElement
609 {
610 mike 1.2 [Key, MaxLen (256),
611 Description (
612 "A System's CreationClassName. The Filter is defined in the "
613 "context of a CIM_System, where it is hosted or to which it "
614 "applies. In a future release, a weak relationship will be "
615 "explicitly added to the model. This is not done now to allow "
616 "further refinement of the Filter definition and its "
617 "inheritance tree. Keys are defined now to allow the class to "
618 "be instantiated.") ]
619 string SystemCreationClassName;
620
621 [Key, MaxLen (256),
622 Description (
623 "A System's Name. The Filter is defined in the "
624 "context of a CIM_System, where it is hosted or to which it "
625 "applies. In a future release, a weak relationship will be "
626 "explicitly added to the model. This is not done now to allow "
627 "further refinement of the Filter definition and its "
628 "inheritance tree. Keys are defined now to allow the class to "
629 "be instantiated.") ]
630 string SystemName;
631 mike 1.2
632 [Key, MaxLen (256),
633 Description (
634 "Indicates the name of the class or the subclass used in the "
635 "creation of an instance. When used with the other key "
636 "properties of this class, it allows all instances of this "
637 "class and its subclasses to be uniquely identified.") ]
638 string CreationClassName;
639
640 [Key, Description (
641 "The name of the filter.") ]
642 string Name;
643
644 [Description (
645 "The path to a local namespace where the Indications "
646 "originate. If NULL, the namespace of the Filter registration "
647 "is assumed.") ]
648 string SourceNamespace;
649
650 [Required, Description (
651 "A query expression that defines the condition(s) under which "
652 mike 1.2 "Indications will be generated. For some Indication classes, "
653 "the query expression may also define the instance properties "
654 "to be copied to the CIM_InstIndication's SourceInstance and "
655 "PreviousInstance properties. Query language semantics include "
656 "projection (e.g., Select), range (e.g., From) and predicate "
657 "(e.g., Where)."),
658 ModelCorrespondence {"CIM_IndicationFilter.QueryLanguage"} ]
659 string Query;
660
661 [Required, Description (
662 "The language in which the query is expressed.") ]
663 string QueryLanguage;
664 };
665
666 //====================================================================
667 // CIM_IndicationHandler
668 //====================================================================
669 [Abstract,
670 Description (
671 "CIM_IndicationHandler is an abstract superclass describing how "
672 "an Indication is to be processd/delivered/'handled'. This may "
673 mike 1.2 "define a destination and protocol for delivering Indications, "
674 "or it may define a process to invoke. This class is derived "
675 "from CIM_ManagedElement to allow modeling the "
676 "dependency of the Handler on a specific service.") ]
677 class CIM_IndicationHandler: CIM_ManagedElement
678 {
679 [Key, MaxLen (256),
680 Description (
681 "A System's CreationClassName. The Handler is defined in the "
682 "context of a CIM_System, where it is hosted or to which it "
683 "applies. In a future release, a weak relationship will be "
684 "explicitly added to the model. This is not done now to allow "
685 "further refinement of the Handler definition and its "
686 "inheritance tree. Keys are defined now to allow the class to "
687 "be instantiated.") ]
688 string SystemCreationClassName;
689
690 [Key, MaxLen (256),
691 Description (
692 "A System's Name. The Handler is defined in the "
693 "context of a CIM_System, where it is hosted or to which it "
694 mike 1.2 "applies. In a future release, a weak relationship will be "
695 "explicitly added to the model. This is not done now to allow "
696 "further refinement of the Handler definition and its "
697 "inheritance tree. Keys are defined now to allow the class to "
698 "be instantiated.") ]
699 string SystemName;
700
701 [Key, MaxLen (256),
702 Description (
703 "Indicates the name of the class or the subclass used in the "
704 "creation of an instance. When used with the other key properties "
705 "of this class, it allows all instances of this class "
706 "and its subclasses to be uniquely identified.") ]
707 string CreationClassName;
708
709 [Key, MaxLen (256),
710 Description (
711 "Indicates the name of this Handler.") ]
712 string Name;
713
714 [Description (
715 mike 1.2 "The name of the entity that created and/or maintains this "
716 "Handler.") ]
717 string Owner;
718 };
719
720 //====================================================================
721 // CIM_IndicationHandlerCIM-XML
722 //====================================================================
723 [Description (
724 "CIM_IndicationHandlerCIM-XML describes the destination for "
725 "Indications to be delivered via HTTP, using a CIM-XML "
726 "representation.") ]
727 class CIM_IndicationHandlerCIMXML : CIM_IndicationHandler
728 {
729 [Required, Description (
730 "The destination URL to which HTTP/CIM-XML Indication messages "
731 "are to be delivered. The scheme prefix is implied and is not "
732 "required, but must be 'http:' if specified.") ]
733 string Destination;
734 };
735
736 mike 1.2 //====================================================================
737 // CIM_IndicationSubscription
738 //====================================================================
739 [Association,
740 Description (
741 "CIM_IndicationSubscription describes a flow of Indications. "
742 "The flow is specified by the referenced Filter, and directed to "
743 "the referenced destination or process in the Handler.") ]
744 class CIM_IndicationSubscription
745 {
746 [Key, Description (
747 "The Filter that defines the criteria and data of the possible "
748 "Indications of this subscription.") ]
749 CIM_IndicationFilter REF Filter;
750
751 [Key, Description (
752 "The Handler addressing delivery of the possible Indications of "
753 "this subscription.") ]
754 CIM_IndicationHandler REF Handler;
755
756
757 mike 1.2 };
|