1 a.dunfey 1.1 // ===================================================================
2 // Title: Application_CheckAction
3 // $State: Exp $
4 // $Date: 2004/11/29 18:31:41 $
5 // $RCSfile: Application_CheckAction.mof,v $
6 // $Revision: 1.5.2.3 $
7 // ===================================================================
8 //#pragma inLine ("Includes/copyright.inc")
9 // Copyright 1998-2005 Distributed Management Task Force, Inc. (DMTF).
10 // All rights reserved.
11 // DMTF is a not-for-profit association of industry members dedicated
12 // to promoting enterprise and systems management and interoperability.
13 // DMTF specifications and documents may be reproduced for uses
14 // consistent with this purpose by members and non-members,
15 // provided that correct attribution is given.
16 // As DMTF specifications may be revised from time to time,
17 // the particular version and release date should always be noted.
18 //
19 // Implementation of certain elements of this standard or proposed
20 // standard may be subject to third party patent rights, including
21 // provisional patent rights (herein "patent rights"). DMTF makes
22 a.dunfey 1.1 // no representations to users of the standard as to the existence
23 // of such rights, and is not responsible to recognize, disclose, or
24 // identify any or all such third party patent right, owners or
25 // claimants, nor for any incomplete or inaccurate identification or
26 // disclosure of such rights, owners or claimants. DMTF shall have no
27 // liability to any party, in any manner or circumstance, under any
28 // legal theory whatsoever, for failure to recognize, disclose, or
29 // identify any such third party patent rights, or for such party's
30 // reliance on the standard or incorporation thereof in its product,
31 // protocols or testing procedures. DMTF shall have no liability to
32 // any party implementing such standard, whether such implementation
33 // is foreseeable or not, nor to any patent owner or claimant, and shall
34 // have no liability or responsibility for costs or losses incurred if
35 // a standard is withdrawn or modified after publication, and shall be
36 // indemnified and held harmless by any party implementing the
37 // standard from any and all claims of infringement by a patent owner
38 // for such implementations.
39 //
40 // For information about patents held by third-parties which have
41 // notified the DMTF that, in their opinion, such patent may relate to
42 // or impact implementations of DMTF standards, visit
43 a.dunfey 1.1 // http://www.dmtf.org/about/policies/disclosures.php.
44 //#pragma inLine
45 // ===================================================================
46 // Description: These object classes define the DMTF Application Model
47 // and include classes to represent Checks and Actions to
48 // deploy software elements.
49 //
50 // The object classes below are listed in an order that
51 // avoids forward references. Required objects, defined
52 // by other working groups, are omitted.
53 // ==================================================================
54 // 11/29/00 - Version 2.5
55 // - CR527 Add to CIM_ArchitectureCheck.ArchitectureType
56 // 24 = AMD(R) Duron(TM) Processor
57 // - CR530 Correct enumerations in CIM_ArchitectureCheck.
58 // ArchitectureType number 19 & 24
59 // - CR531 Add to CIM_ArchitectureCheck.ArchitectureType
60 // 120 = "Crusoe(TM) TM5000 Family"
61 // 121 = "Crusoe(TM) TM3000 Family"
62 // - CR533b Add Windows(R) Me to *.TargetOperatingSystem*
63 // - CR542 Add "Not Applicable" to the
64 a.dunfey 1.1 // *TargetOperatingSystem
65 // property
66 // - CR558 subclass Action and Check from ManagedElement
67 //
68 // 03/09/2002 CIM 2.6 Final release
69 // - CR658 Add Key Qualifier to association references
70 // in Appl and SysDev MOFs. This changed
71 // CIM_SoftwareElementChecks,
72 // CIM_DirectorySpecificationFile,
73 // CIM_ActionSequence,
74 // CIM_SoftwareElementActions,
75 // CIM_ToDirectorySpecification,
76 // CIM_FromDirectorySpecification,
77 // CIM_ToDirectoryAction,
78 // CIM_FromDirectoryAction
79 // - CR746 Add Version qualifier (Version 2.6.0) to
80 // all classes and associations.
81 // - CR823 Cleanup all Descriptions and other textual issues
82 // - CR824 Add InvokeOnSystem methods to Check and Action
83 // - CR828 Fix inconsistencies between Device, Appl and
84 // System Models wrt processor and OS type enums
85 a.dunfey 1.1 // - CR829 Fix MaxLen on FileSpecification.MD5Checksum
86 //
87 // 06/06/2002 CIM 2.7 Preliminary Release
88 // - CR 618 - Add ]Pentium 4 Processor
89 // - CR 686 - Add Xeon Processor
90 // - CR 770 - Add WinXP to OSTypes
91 // - CR 772 - Add new AMD Processor types
92 // - CR 839 - Add other Processor Types
93 // - Define Application MOF structure
94 //
95 // 09/22/2002 CIM 2.7 Public Preliminary Release
96 // - CR 876 - Rename the "Digital Unix" operating system
97 // type to "Tru64 UNIX".
98 // - CR 893 - Add Intel(R) Pentium(R) 4 processor with
99 // HT Technology
100 //
101 // 10/21/2002 CIM 2.7.1 - Preliminary
102 // - CR 914 - Remove Pentium 4 with HT from the
103 // CIM_ArchitectureCheck.ArchitectureType enum
104 // (It was added by CR893)
105 //
106 a.dunfey 1.1 // 03/20/2003 CIM 2.7.0 Public Final Release
107 // - CR 935 - Add z/OS entry and rename VM/ESA to VM in
108 // TargetOperatingSystem and
109 // TargetOperatingSystemDesired
110 //
111 // 05/29/2003 CIM 2.8 Preliminary Release
112 // - CR 951 - Add to the enumeration in
113 // CIM_ArchitectureCheck
114 // (185 - Intel Pentium M processor)
115 //
116 // 08/04/2003 CIM 2.8 Preliminary Release (Company Review)
117 // - CR 1144 - Fix Processor enumerations in
118 // CIM_ArchitectureCheck to match
119 // CIM_Processor.Family.
120 // ===================================================================
121
122 #pragma locale ("en_US")
123
124
125 // ==================================================================
126 // Check
127 a.dunfey 1.1 // ==================================================================
128 [Abstract, Version ( "2.7.0" ), Description (
129 "A CIM_Check is a condition or characteristic that is expected "
130 "to be true in an environment defined or scoped by an instance "
131 "of a CIM_ComputerSystem. The Checks associated with a "
132 "particular SoftwareElement are organized into one of two "
133 "groups using the Phase property of the "
134 "CIM_SoftwareElementChecks association. Conditions that are "
135 "expected to be true when a SoftwareElement is in a particular "
136 "state and environment are known as 'in-state' conditions. "
137 "Conditions that need to be satisfied in order to transition "
138 "the SoftwareElement to its next state are known as "
139 "'next-state' conditions. \n"
140 "A CIM_ComputerSystem object represents the environment in "
141 "which CIM_SoftwareElements are already deployed/installed or "
142 "into which the elements will be deployed/installed. For the "
143 "case in which an element is already installed, the "
144 "CIM_InstalledSoftwareElement association identifies the "
145 "CIM_ComputerSystem object that represents the \"environment\". "
146 "When a SoftwareElement is being deployed for installation on a "
147 "ComputerSystem, that system is the target of the Check and is "
148 a.dunfey 1.1 "identified using the TargetSystem reference of the "
149 "InvokeOnSystem method.")]
150 class CIM_Check : CIM_ManagedElement {
151
152 [Key, Propagated ( "CIM_SoftwareElement.Name" ), Description (
153 "The name used to identify the SoftwareElement that is being "
154 "checked."),
155 MaxLen ( 256 )]
156 string Name;
157
158 [Key, Propagated ( "CIM_SoftwareElement.Version" ), Description (
159 "The version of the SoftwareElement being checked."),
160 MaxLen ( 64 )]
161 string Version;
162
163 [Key, Propagated ( "CIM_SoftwareElement.SoftwareElementState" ),
164 Description (
165 "The SoftwareElementState of the SoftwareElement being "
166 "checked."),
167 ValueMap { "0", "1", "2", "3" },
168 Values { "Deployable", "Installable", "Executable", "Running" }]
169 a.dunfey 1.1 uint16 SoftwareElementState;
170
171 [Key, Propagated ( "CIM_SoftwareElement.SoftwareElementID" ),
172 Description (
173 "This is an identifier for the SoftwareElement being "
174 "checked."),
175 MaxLen ( 256 )]
176 string SoftwareElementID;
177
178 [Key, Propagated ( "CIM_SoftwareElement.TargetOperatingSystem" ),
179 Description (
180 "The Target Operating System of the SoftwareElement being "
181 "checked."),
182 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
183 "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
184 "20", "21", "22", "23", "24", "25", "26", "27", "28", "29",
185 "30", "31", "32", "33", "34", "35", "36", "37", "38", "39",
186 "40", "41", "42", "43", "44", "45", "46", "47", "48", "49",
187 "50", "51", "52", "53", "54", "55", "56", "57", "58", "59",
188 "60", "61", "62", "63", "64", "65", "66", "67", "68" },
189 Values { "Unknown", "Other", "MACOS", "ATTUNIX", "DGUX",
190 a.dunfey 1.1 "DECNT", "Tru64 UNIX", "OpenVMS", "HPUX", "AIX",
191 //10
192 "MVS", "OS400", "OS/2", "JavaVM", "MSDOS", "WIN3x", "WIN95",
193 "WIN98", "WINNT", "WINCE",
194 //20
195 "NCR3000", "NetWare", "OSF", "DC/OS", "Reliant UNIX",
196 "SCO UnixWare", "SCO OpenServer", "Sequent", "IRIX",
197 "Solaris",
198 //30
199 "SunOS", "U6000", "ASERIES", "TandemNSK", "TandemNT",
200 "BS2000", "LINUX", "Lynx", "XENIX", "VM",
201 //40
202 "Interactive UNIX", "BSDUNIX", "FreeBSD", "NetBSD",
203 "GNU Hurd", "OS9", "MACH Kernel", "Inferno", "QNX", "EPOC",
204 //50
205 "IxWorks", "VxWorks", "MiNT", "BeOS", "HP MPE", "NextStep",
206 "PalmPilot", "Rhapsody", "Windows 2000", "Dedicated",
207 //60
208 "OS/390", "VSE", "TPF","Windows (R) Me", "Caldera Open UNIX",
209 "OpenBSD", "Not Applicable", "Windows XP", "z/OS" }]
210 uint16 TargetOperatingSystem;
211 a.dunfey 1.1
212 [Key, Description (
213 "An identifier used in conjunction with other keys to "
214 "uniquely identify the Check."),
215 MaxLen ( 256 )]
216 string CheckID;
217
218 [Description (
219 "The CheckMode property is used to indicate whether the "
220 "condition is expected to exist or not exist in the "
221 "environment. When the value is True, the condition is "
222 "expected to exist (e.g., a file is expected to be on a "
223 "system), so the Invoke methods are expected to return True. "
224 "When the value is False, the condition is not expected to "
225 "exist (e.g., a file is not to be on a system), so the "
226 "Invoke methods are expected to return False.")]
227 boolean CheckMode;
228
229 [Description (
230 "The Invoke method evaluates this Check. The details of the "
231 "evaluation are described by the specific subclasses of "
232 a.dunfey 1.1 "CIM_Check. When the SoftwareElement being checked is "
233 "already installed, the CIM_InstalledSoftwareElement "
234 "association identifies the CIM_ComputerSystem in whose "
235 "context the Invoke is executed. If this association is not "
236 "in place, then the InvokeOnSystem method should be used - "
237 "since it identifies the TargetSystem as an input parameter "
238 "of the method. \n"
239 "The results of the Invoke method are based on the return "
240 "value. A zero is returned if the condition is satisfied. A "
241 "one is returned if the method is not supported. Any other "
242 "value indicates the condition is not satisfied.")]
243 uint32 Invoke();
244
245 [Description (
246 "The InvokeOnSystem method evaluates this Check. The details "
247 "of the evaluation are described by the specific subclasses "
248 "of CIM_Check. The method's TargetSystem input parameter "
249 "specifies the ComputerSystem in whose context the method is "
250 "invoked. \n"
251 "The results of the InvokeOnSystem method are based on the "
252 "return value. A zero is returned if the condition is "
253 a.dunfey 1.1 "satisfied. A one is returned if the method is not "
254 "supported. Any other value indicates the condition is not "
255 "satisfied.")]
256 uint32 InvokeOnSystem([IN, Description ( "Reference to ComputerSystem in whose context the method is to " "be invoked." ) ] CIM_ComputerSystem ref TargetSystem);
257 };
258
259
260 // ==================================================================
261 // DirectorySpecification
262 // ==================================================================
263 [Version ( "2.6.0" ), Description (
264 "The CIM_DirectorySpecification class captures the major "
265 "directory structure of a SoftwareElement. This class is used "
266 "to organize the files of a SoftwareElement into manageable "
267 "units that can be relocated on a computer system.")]
268 class CIM_DirectorySpecification : CIM_Check {
269
270 [Description (
271 "The DirectoryType property characterizes the type of "
272 "directory being described."),
273 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
274 a.dunfey 1.1 "10", "11", "12", "13", "14", "15", "16", "17" },
275 Values { "Product base directory",
276 "Product executable directory", "Product library directory",
277 "Product configuration directory",
278 "Product include directory", "Product working directory",
279 "Product log directory", "Shared base directory",
280 "Shared executable directory", "Shared library directory",
281 "Shared include directory", "System base directory",
282 "System executable directory", "System library directory",
283 "System configuration directory", "System include directory",
284 "System log directory", "Other" },
285 MappingStrings { "MIF.DMTF|Location|001.2" }]
286 uint16 DirectoryType;
287
288 [Description (
289 "The DirectoryPath property is used to capture the name of a "
290 "directory. The value supplied by an application provider is "
291 "actually a default or recommended path name. The value can "
292 "be changed for a particular environment."),
293 MaxLen ( 1024 )]
294 string DirectoryPath;
295 a.dunfey 1.1 };
296
297
298 // ==================================================================
299 // ArchitectureCheck
300 // ==================================================================
301 [Version ( "2.7.0" ), Description (
302 "ArchitectureCheck specifies the hardware platform on which a "
303 "SoftwareElement can run. The details of this Check are "
304 "compared with the information found in the CIM_Processor "
305 "object, related to the CIM_ComputerSystem instance that "
306 "describes the environment (related by the association, "
307 "CIM_ComputerSystemProcessor). There should be at least one "
308 "CIM_Processor that satisfies the details of the Check. In "
309 "other words, all the processors on the relevant computer "
310 "system do not need to satisfy the Check.")]
311 class CIM_ArchitectureCheck : CIM_Check {
312
313 [Description (
314 "The ArchitectureType property identifies a particular type "
315 "of architecture or architectural family that is required to "
316 a.dunfey 1.1 "properly execute a particular SoftwareElement. The intent "
317 "is to capture the details about the machine instructions "
318 "exploited by the executables of the SoftwareElement."),
319 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
320 // 11
321 "11", "12", "13", "14", "15", "16", "17", "18", "19",
322 // 24
323 "24", "25", "26", "27", "28", "29", "30", "31", "32", "33",
324 "34", "35", "36", "37", "38", "39",
325 // 48
326 "48", "49", "50", "51", "52", "53", "54", "55",
327 // 64
328 "64", "65", "66", "67", "68", "69",
329 // 80
330 "80", "81", "82", "83", "84", "85", "86", "87", "88",
331 // 96
332 "96", "97", "98", "99", "100", "101",
333 // 112
334 "112", "120", "121", "128", "130", "131", "132",
335 // 144
336 "144", "145", "146", "147", "148", "149", "150",
337 a.dunfey 1.1 // 160
338 "160", "176", "177", "178", "179", "180", "181", "182",
339 "183", "184", "185",
340 // 190
341 "190",
342 // 200
343 "200", "201", "202", "203", "204",
344 // 250
345 "250", "251", "260", "261", "280", "281",
346 // 300
347 "300", "301", "302", "320", "350", "500" },
348 Values { "Other", "Unknown", "8086", "80286", "80386", "80486",
349 "8087", "80287", "80387", "80487",
350 // 11
351 "Pentium(R) brand", "Pentium(R) Pro", "Pentium(R) II",
352 "Pentium(R) processor with MMX(TM) technology",
353 "Celeron(TM)", "Pentium(R) II Xeon(TM)", "Pentium(R) III",
354 "M1 Family", "M2 Family",
355 // 24
356 "K5 Family", "K6 Family", "K6-2", "K6-3",
357 "AMD Athlon(TM) Processor Family",
358 a.dunfey 1.1 "AMD(R) Duron(TM) Processor", "AMD29000 Family",
359 // 31
360 "K6-2+", "Power PC Family", "Power PC 601", "Power PC 603",
361 "Power PC 603+", "Power PC 604", "Power PC 620",
362 "Power PC X704", "Power PC 750",
363 // 48
364 "Alpha Family", "Alpha 21064", "Alpha 21066", "Alpha 21164",
365 "Alpha 21164PC", "Alpha 21164a", "Alpha 21264",
366 "Alpha 21364",
367 // 64
368 "MIPS Family", "MIPS R4000", "MIPS R4200", "MIPS R4400",
369 "MIPS R4600", "MIPS R10000",
370 // 80
371 "SPARC Family", "SuperSPARC","microSPARC II",
372 "microSPARC IIep", "UltraSPARC", "UltraSPARC II",
373 "UltraSPARC IIi", "UltraSPARC III", "UltraSPARC IIIi",
374 // 96
375 "68040", "68xxx Family", "68000", "68010", "68020", "68030",
376 // 112
377 "Hobbit Family", "Crusoe(TM) TM5000 Family",
378 "Crusoe(TM) TM3000 Family", "Weitek",
379 a.dunfey 1.1 "Itanium(TM) Processor",
380 "AMD Athlon(TM) 64 Processor Family",
381 "AMD Opteron(TM) Processor Family",
382 // 144
383 "PA-RISC Family", "PA-RISC 8500", "PA-RISC 8000",
384 "PA-RISC 7300LC", "PA-RISC 7200", "PA-RISC 7100LC",
385 "PA-RISC 7100",
386 // 160
387 "V30 Family", "Pentium(R) III Xeon(TM)",
388 "Pentium(R) III Processor with Intel(R) SpeedStep(TM) "
389 "Technology", "Pentium(R) 4", "Intel(R) Xeon(TM)",
390 // 180
391 "AS400 Family", "Intel(R) Xeon(TM) processor MP",
392 "AMD Athlon(TM) XP Family", "AMD Athlon(TM) MP Family",
393 "Intel(R) Itanium(R) 2", "Intel(R) Pentium(R) M processor",
394 // 190
395 "K7",
396 // 200
397 "S/390 and zSeries Family", "ESA/390 G4", "ESA/390 G5",
398 "ESA/390 G6", "z/Architectur base",
399 // 250
400 a.dunfey 1.1 "i860", "i960", "SH-3", "SH-4", "ARM", "StrongARM",
401 // 300
402 "6x86", "MediaGX", "MII", "WinChip", "DSP",
403 "Video Processor" },
404 MappingStrings { "MIF.DMTF|Processor|017.3" },
405 ModelCorrespondence { "CIM_Processor.Family" }]
406 uint16 ArchitectureType;
407 };
408
409
410 // ==================================================================
411 // MemoryCheck
412 // ==================================================================
413 [Version ( "2.6.0" ), Description (
414 "MemoryCheck specifies a condition for the minimum amount of "
415 "memory that needs to be available on a system. The amount is "
416 "specified in the MemorySize property. The details of this "
417 "Check are compared with the value of the CIM_OperatingSystem. "
418 "FreePhysicalMemory property - where the CIM_OperatingSystem "
419 "object is related (using InstalledOS) to the CIM_Computer "
420 "System instance that describes the environment. When the value "
421 a.dunfey 1.1 "of the FreePhysicalMemory property is greater than or equal to "
422 "the value specified in MemorySize, the Check is satisfied.")]
423 class CIM_MemoryCheck : CIM_Check {
424
425 [Description (
426 "The amount of memory that needs to exist on a computer "
427 "system for a SoftwareElement to execute properly."),
428 Units ( "KiloBytes" ),
429 ModelCorrespondence { "CIM_OperatingSystem.FreePhysicalMemory" }]
430 uint64 MemorySize;
431 };
432
433
434 // ==================================================================
435 // DiskSpaceCheck
436 // ==================================================================
437 [Version ( "2.6.0" ), Description (
438 "DiskSpaceCheck describes the amount of disk space that needs "
439 "to be available on the computer system. The amount is "
440 "specified in the AvailableDiskSpace property. The details of "
441 "this Check are compared with the value of the CIM_FileSystem. "
442 a.dunfey 1.1 "AvailableSpace property - where the CIM_FileSystem object is "
443 "related (using HostedFileSystem) to the CIM_Computer System "
444 "instance that describes the environment. When the value of the "
445 "AvailableSpace property is greater than or equal to the value "
446 "specified in AvailableDiskSpace, the Check is satisfied.")]
447 class CIM_DiskSpaceCheck : CIM_Check {
448
449 [Description (
450 "The AvailableDiskSpace property specifies the minimum "
451 "amount of disk space that needs to be available on the "
452 "target system."),
453 Units ( "KiloBytes" ),
454 ModelCorrespondence { "CIM_FileSystem.AvailableSpace" }]
455 uint64 AvailableDiskSpace;
456 };
457
458
459 // ==================================================================
460 // SwapSpaceCheck
461 // ==================================================================
462 [Version ( "2.6.0" ), Description (
463 a.dunfey 1.1 "SwapSpaceCheck specifies the amount of swap space that needs "
464 "to be available on the computer system. The amount is "
465 "specified in the SwapSpaceSize property. The details of this "
466 "Check are compared with the value of the CIM_OperatingSystem. "
467 "TotalSwapSpaceSize property - where the CIM_OperatingSystem "
468 "object is related (using RunningOS) to the CIM_Computer System "
469 "instance that describes the environment. When the value of "
470 "TotalSwapSpaceSize property is greater than or equal to the "
471 "value specified in SwapSpaceSize, the Check is satisfied.")]
472 class CIM_SwapSpaceCheck : CIM_Check {
473
474 [Description (
475 "The SwapSpaceSize property specifies the minimum number of "
476 "KiloBytes of swap space that needs to be available on the "
477 "target system."),
478 Units ( "KiloBytes" ),
479 ModelCorrespondence { "CIM_OperatingSystem.TotalSwapSpaceSize" }]
480 uint64 SwapSpaceSize;
481 };
482
483
484 a.dunfey 1.1 // ==================================================================
485 // OSVersionCheck
486 // ==================================================================
487 [Version ( "2.6.0" ), Description (
488 "The OSVersionCheck class specifies the versions of the "
489 "operating system that can support/execute this Software "
490 "Element. The operating system itself (whose version should be "
491 "validated) is defined in the TargetOperatingSystem property of "
492 "the Check's scoping SoftwareElement. \n"
493 "This Check can be for a specific, minimum, maximum or a range "
494 "of releases of an OS. To identify a specific version of the "
495 "OS, the minimum and maximum versions must be the same. To "
496 "specify a minimum, only the minimum version needs to be "
497 "defined. To specify a maximum version, only the maximum "
498 "version needs to be defined. To specify a range, both minimum "
499 "and maximum versions need to be defined. \n"
500 "The data gathered from the Check and SoftwareElement objects "
501 "are compared with the corresponding details found in the "
502 "CIM_OperatingSystem object (referenced by the InstalledOS "
503 "association), for the CIM_ComputerSystem object that defines "
504 "the environment. The OSType property of CIM_OperatingSystem "
505 a.dunfey 1.1 "must match the value of CIM_SoftwareElement.TargetOperating "
506 "System. Also, the OS' version information should be within the "
507 "range of CIM_OSVersionCheck.Minimum/MaximumValue properties. "
508 "Note that all the operating systems on the relevant computer "
509 "do not need to satisfy the Check.")]
510 class CIM_OSVersionCheck : CIM_Check {
511
512 [Description (
513 "Minimum version of the required operating system. The value "
514 "is encoded as <major>.<minor>.<revision> or "
515 "<major>.<minor><letter revision>."),
516 MaxLen ( 64 ),
517 ModelCorrespondence { "CIM_OperatingSystem.Version" }]
518 string MinimumVersion;
519
520 [Description (
521 "Maximum version of the required operating system. The value "
522 "is encoded as <major>.<minor>.<revision> or "
523 "<major>.<minor><letter revision>."),
524 MaxLen ( 64 ),
525 ModelCorrespondence { "CIM_OperatingSystem.Version" }]
526 a.dunfey 1.1 string MaximumVersion;
527 };
528
529
530 // ==================================================================
531 // SoftwareElementVersionCheck
532 // ==================================================================
533 [Version ( "2.7.0" ), Description (
534 "SoftwareElementVersionCheck specifies the release of a "
535 "SoftwareElement that must exist in the environment. This Check "
536 "can be for a specific, minimum, maximum or a range of "
537 "versions. To specify a specific version, the lower and upper "
538 "versions must be the same. To specify a minimum, only the "
539 "lower version needs to be defined. To specify a maximum "
540 "version, only the upper version needs to be defined. To "
541 "specify a range, both upper and lower versions need to be "
542 "defined. The details of this Check are compared with the "
543 "corresponding details found in a CIM_SoftwareElement object, "
544 "associated to the CIM_ComputerSystem instance that describes "
545 "the environment (related by the association, "
546 "CIM_InstalledSoftwareElement). There should be at least one "
547 a.dunfey 1.1 "CIM_SoftwareElement that satisfies the details of the Check. "
548 "In other words, all the SoftwareElements on the relevant "
549 "computer system do not need to satisfy the Check.")]
550 class CIM_SoftwareElementVersionCheck : CIM_Check {
551
552 [Description (
553 "The name of the SoftwareElement being checked."),
554 MaxLen ( 256 ),
555 ModelCorrespondence { "CIM_SoftwareElement.Name" }]
556 string SoftwareElementName;
557
558 [Description (
559 "The minimum version of the SoftwareElement being checked."),
560 MaxLen ( 64 ),
561 ModelCorrespondence { "CIM_SoftwareElement.Version" }]
562 string LowerSoftwareElementVersion;
563
564 [Description (
565 "The maximum version of the SoftwareElement being checked."),
566 MaxLen ( 64 ),
567 ModelCorrespondence { "CIM_SoftwareElement.Version" }]
568 a.dunfey 1.1 string UpperSoftwareElementVersion;
569
570 [Description (
571 "The state of the SoftwareElement being checked."),
572 ValueMap { "0", "1", "2", "3" },
573 Values { "Deployable", "Installable", "Executable", "Running" },
574 ModelCorrespondence { "CIM_SoftwareElement.SoftwareElementState"
575 }]
576 uint16 SoftwareElementStateDesired;
577
578 [Description (
579 "The target operating system of the SoftwareElement being "
580 "checked."),
581 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
582 "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
583 "20", "21", "22", "23", "24", "25", "26", "27", "28", "29",
584 "30", "31", "32", "33", "34", "35", "36", "37", "38", "39",
585 "40", "41", "42", "43", "44", "45", "46", "47", "48", "49",
586 "50", "51", "52", "53", "54", "55", "56", "57", "58", "59",
587 "60", "61", "62", "63", "64", "65", "66", "67", "68" },
588 Values { "Unknown", "Other", "MACOS", "ATTUNIX", "DGUX",
589 a.dunfey 1.1 "DECNT", "Tru64 UNIX", "OpenVMS", "HPUX", "AIX",
590 //10
591 "MVS", "OS400", "OS/2", "JavaVM", "MSDOS", "WIN3x", "WIN95",
592 "WIN98", "WINNT", "WINCE",
593 //20
594 "NCR3000", "NetWare", "OSF", "DC/OS", "Reliant UNIX",
595 "SCO UnixWare", "SCO OpenServer", "Sequent", "IRIX",
596 "Solaris",
597 //30
598 "SunOS", "U6000", "ASERIES", "TandemNSK", "TandemNT",
599 "BS2000", "LINUX", "Lynx", "XENIX", "VM",
600 //40
601 "Interactive UNIX", "BSDUNIX", "FreeBSD", "NetBSD",
602 "GNU Hurd", "OS9", "MACH Kernel", "Inferno", "QNX", "EPOC",
603 //50
604 "IxWorks", "VxWorks", "MiNT", "BeOS", "HP MPE", "NextStep",
605 "PalmPilot", "Rhapsody", "Windows 2000", "Dedicated",
606 //60
607 "OS/390", "VSE", "TPF","Windows (R) Me", "Caldera Open UNIX",
608 "OpenBSD", "Not Applicable", "Windows XP", "z/OS" },
609 ModelCorrespondence {
610 a.dunfey 1.1 "CIM_SoftwareElement.TargetOperatingSystem" }]
611 uint16 TargetOperatingSystemDesired;
612 };
613
614
615 // ==================================================================
616 // FileSpecification
617 // ==================================================================
618 [Version ( "2.6.0" ), Description (
619 "FileSpecification identifies a file that is either to be on or "
620 "off the system. The file is to be located in the directory "
621 "identified in FileName, or by the CIM_Directory "
622 "SpecificationFile association. When the Invoke methods are "
623 "executed, it is expected that they will use a combination of "
624 "information to check for file existence. Therefore, any of the "
625 "properties with a NULL value are not checked. So, if only the "
626 "FileName and MD5Checksum properties have values, they are the "
627 "only ones considered by the Invoke methods.")]
628 class CIM_FileSpecification : CIM_Check {
629
630 [Description (
631 a.dunfey 1.1 "Either the name of the file or the name of the file with a "
632 "directory prefix."),
633 MaxLen ( 1024 )]
634 string FileName;
635
636 [Description (
637 "The creation date and time of the file.")]
638 datetime CreateTimeStamp;
639
640 [Description (
641 "The size of the file in Kilobytes."),
642 Units ( "KiloBytes" )]
643 uint64 FileSize ;
644
645 [Description (
646 "A checksum calculated as the 16-bit sum of the first 32 "
647 "bytes of the file."),
648 MappingStrings { "MIF.DMTF|Software Signature|002.4" }]
649 uint32 CheckSum;
650
651 [Description (
652 a.dunfey 1.1 "The CRC1 property is the CRC value calculated using the "
653 "middle 512K bytes of the file."),
654 MappingStrings { "MIF.DMTF|Software Signature|002.5" }]
655 uint32 CRC1;
656
657 [Description (
658 "The CRC2 property is the CRC value for the middle 512K "
659 "bytes of the file, modulo 3."),
660 MappingStrings { "MIF.DMTF|Software Signature|002.6" }]
661 uint32 CRC2;
662
663 [Description (
664 "The MD5 algorithm is a well-known algorithm for computing a "
665 "128-bit checksum for any file or object. For purposes of "
666 "MOF specification of the MD5Checksum property, the MD5 "
667 "algorithm always generates a 32 character string. For "
668 "example: The string abcdefghijklmnopqrstuvwxyz generates "
669 "the string c3fcd3d76192e4007dfb496cca67e13b. See http: "
670 "//www.ietf.org - RFC1321 for details on the // "
671 "implementation of the MD5 algorithm."),
672 MaxLen ( 32 )]
673 a.dunfey 1.1 string MD5Checksum;
674 };
675
676 // ==================================================================
677 // VersionCompatibilityCheck
678 // ==================================================================
679 [Version ( "2.6.0" ), Description (
680 "The VersionCompatibilityCheck class specifies whether it is "
681 "permissible to create the next state of a SoftwareElement.")]
682 class CIM_VersionCompatibilityCheck : CIM_Check {
683
684 [Description (
685 "The AllowDownVersion property indicates that this Software "
686 "Element can transition to its next state even if a higher "
687 "or later version of the element already exists in the "
688 "environment.")]
689 boolean AllowDownVersion;
690
691 [Description (
692 "The AllowMultipleVersions option controls the ability to "
693 "configure multiple versions of a SoftwareElement on a "
694 a.dunfey 1.1 "system.")]
695 boolean AllowMultipleVersions;
696
697 [Description (
698 "The Reinstall property indicates that this SoftwareElement "
699 "can transition to its next state even if an element of the "
700 "same version already exists in the environment.")]
701 boolean Reinstall;
702 };
703
704
705 // ==================================================================
706 // SettingCheck
707 // ==================================================================
708 [Version ( "2.6.0" ), Description (
709 "This class specifies information needed to verify a particular "
710 "'setting' file, for a specific entry in the file. The file "
711 "entry is checked whether it contains or matches the value "
712 "defined in EntryValue. All compares are assumed to be case "
713 "insensitive.")]
714 class CIM_SettingCheck : CIM_Check {
715 a.dunfey 1.1
716 [Description (
717 "Key or label for the section of the file containing the "
718 "settings to be checked."),
719 MaxLen ( 256 )]
720 string SectionKey;
721
722 [Description (
723 "Name of the setting entry to be checked."),
724 MaxLen ( 256 )]
725 string EntryName;
726
727 [Description (
728 "Value to be compared for the named entry.")]
729 string EntryValue;
730
731 [Description (
732 "CheckType specifies how the setting value should be "
733 "compared."),
734 ValueMap { "0", "1" },
735 Values { "Matches", "Contains" }]
736 a.dunfey 1.1 uint16 CheckType;
737
738 [Description (
739 "File name of the 'setting' file to be checked."),
740 MaxLen ( 1024 )]
741 string FileName;
742 };
743
744
745 // ==================================================================
746 // SoftwareElementChecks
747 // ==================================================================
748 [Association, Aggregation, Version ( "2.6.0" ), Description (
749 "This association ties a SoftwareElement to a specific Check to "
750 "validate its state or its movement to the next state. Note "
751 "that SoftwareElements in a running state cannot transition to "
752 "another state. Therefore, the value of the Phase property is "
753 "restricted to 0 (\"In-State\") for SoftwareElements in the "
754 "running state.")]
755 class CIM_SoftwareElementChecks {
756
757 a.dunfey 1.1 [Key, Aggregate, Min ( 1 ), Max ( 1 ), Description (
758 "The SoftwareElement being checked.")]
759 CIM_SoftwareElement REF Element;
760
761 [Key, Weak, Description (
762 "The Check for the element.")]
763 CIM_Check REF Check;
764
765 [Description (
766 "The Phase property indicates whether the referenced Check "
767 "is an in-state or a next-state Check."),
768 ValueMap { "0", "1" },
769 Values { "In-State", "Next-State" }]
770 uint16 Phase;
771 };
772
773
774 // ==================================================================
775 // DirectorySpecificationFile
776 // ==================================================================
777 [Association, Version ( "2.6.0" ), Description (
778 a.dunfey 1.1 "The CIM_DirectorySpecificationFile association identifies the "
779 "directory that contains the file being checked in the CIM_ "
780 "FileSpecification class.")]
781 class CIM_DirectorySpecificationFile {
782
783 [Key, Max ( 1 ), Description (
784 "The directory to be checked.")]
785 CIM_DirectorySpecification REF DirectorySpecification;
786
787 [Key, Description (
788 "The file to be checked.")]
789 CIM_FileSpecification REF FileSpecification;
790 };
791
792
793 // ==================================================================
794 // Action
795 // ==================================================================
796 [Abstract, Version ( "2.7.0" ), Description (
797 "A CIM_Action is an operation that is part of a process to "
798 "either create a SoftwareElement in its next state or to "
799 a.dunfey 1.1 "eliminate the SoftwareElement in its current state. A "
800 "CIM_ComputerSystem object represents the environment in which "
801 "CIM_SoftwareElements are already deployed/installed or into "
802 "which the elements will be deployed/installed. For the case in "
803 "which an element is already installed, the "
804 "CIM_InstalledSoftwareElement association identifies the "
805 "CIM_ComputerSystem object that represents the \"environment\". "
806 "When a SoftwareElement is being deployed for installation on a "
807 "ComputerSystem, that system is the target of the Action and is "
808 "identified using the TargetSystem reference of the "
809 "InvokeOnSystem method.")]
810 class CIM_Action : CIM_ManagedElement {
811
812 [Key, Propagated ( "CIM_SoftwareElement.Name" ), Description (
813 "The name used to identify the SoftwareElement that is being "
814 "acted upon."),
815 MaxLen ( 256 )]
816 string Name;
817
818 [Key, Propagated ( "CIM_SoftwareElement.Version" ), Description (
819 "The version of the SoftwareElement being acted upon."),
820 a.dunfey 1.1 MaxLen ( 64 )]
821 string Version;
822
823 [Key, Propagated ( "CIM_SoftwareElement.SoftwareElementState" ),
824 Description (
825 "The SoftwareElementState of the SoftwareElement being acted "
826 "upon."),
827 ValueMap { "0", "1", "2", "3" },
828 Values { "Deployable", "Installable", "Executable", "Running" }]
829 uint16 SoftwareElementState;
830
831 [Key, Propagated ( "CIM_SoftwareElement.SoftwareElementID" ),
832 Description (
833 "This is an identifier for the SoftwareElement being acted "
834 "upon."),
835 MaxLen ( 256 )]
836 string SoftwareElementID;
837
838 [Key, Propagated ( "CIM_SoftwareElement.TargetOperatingSystem" ),
839 Description (
840 "The Target Operating System of the SoftwareElement being "
841 a.dunfey 1.1 "acted upon."),
842 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
843 "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
844 "20", "21", "22", "23", "24", "25", "26", "27", "28", "29",
845 "30", "31", "32", "33", "34", "35", "36", "37", "38", "39",
846 "40", "41", "42", "43", "44", "45", "46", "47", "48", "49",
847 "50", "51", "52", "53", "54", "55", "56", "57", "58", "59",
848 "60", "61", "62", "63", "64", "65", "66", "67", "68" },
849 Values { "Unknown", "Other", "MACOS", "ATTUNIX", "DGUX",
850 "DECNT", "Tru64 UNIX", "OpenVMS", "HPUX", "AIX",
851 //10
852 "MVS", "OS400", "OS/2", "JavaVM", "MSDOS", "WIN3x", "WIN95",
853 "WIN98", "WINNT", "WINCE",
854 //20
855 "NCR3000", "NetWare", "OSF", "DC/OS", "Reliant UNIX",
856 "SCO UnixWare", "SCO OpenServer", "Sequent", "IRIX",
857 "Solaris",
858 //30
859 "SunOS", "U6000", "ASERIES", "TandemNSK", "TandemNT",
860 "BS2000", "LINUX", "Lynx", "XENIX", "VM",
861 //40
862 a.dunfey 1.1 "Interactive UNIX", "BSDUNIX", "FreeBSD", "NetBSD",
863 "GNU Hurd", "OS9", "MACH Kernel", "Inferno", "QNX", "EPOC",
864 //50
865 "IxWorks", "VxWorks", "MiNT", "BeOS", "HP MPE", "NextStep",
866 "PalmPilot", "Rhapsody", "Windows 2000", "Dedicated",
867 //60
868 "OS/390", "VSE", "TPF","Windows (R) Me", "Caldera Open UNIX",
869 "OpenBSD", "Not Applicable", "Windows XP", "z/OS" }]
870 uint16 TargetOperatingSystem;
871
872 [Key, Description (
873 "The ActionID property is a unique identifier assigned to a "
874 "particular Action for a SoftwareElement."),
875 MaxLen ( 256 )]
876 string ActionID;
877
878 [Description (
879 "The Direction property is used to indicate whether this "
880 "Action is part of a sequence to transition the "
881 "SoftwareElement to its next state (\"Install\") or to "
882 "remove the element (\"Uninstall\")."),
883 a.dunfey 1.1 ValueMap { "0", "1" },
884 Values { "Install", "Uninstall" }]
885 uint16 Direction;
886
887 [Description (
888 "The Invoke method takes this Action. The details of how the "
889 "Action is implemented are described by specific subclasses "
890 "of CIM_Action. When the SoftwareElement being transitioned "
891 "or eliminated is already installed, the "
892 "CIM_InstalledSoftwareElement association identifies the "
893 "CIM_ComputerSystem in whose context the Invoke is executed. "
894 "If this association is not in place, then the "
895 "InvokeOnSystem method should be used - since it identifies "
896 "the TargetSystem as a parameter of the method. \n"
897 "The results of the Invoke method are based on the return "
898 "value. A zero is returned if the Action is satisfied. A one "
899 "is returned if the method is not supported. Any other value "
900 "indicates the Action is not satisfied.")]
901 uint32 Invoke();
902
903 [Description (
904 a.dunfey 1.1 "The InvokeOnSystem method takes this Action. The details of "
905 "how the Action is implemented are described by specific "
906 "subclasses of CIM_Action. The method's TargetSystem input "
907 "parameter specifies the ComputerSystem in whose context the "
908 "method is invoked. \n"
909 "The results of the InvokeOnSystem method are based on the "
910 "return value. A zero is returned if the Action is "
911 "satisfied. A one is returned if the method is not "
912 "supported. Any other value indicates the Action is not "
913 "satisfied.")]
914 uint32 InvokeOnSystem([IN, Description ( "Reference to target system in whose context the method is to be invoked.") ] CIM_ComputerSystem ref TargetSystem);
915 };
916
917
918 // ==================================================================
919 // DirectoryAction
920 // ==================================================================
921 [Abstract, Version ( "2.6.0" ), Description (
922 "DirectoryAction is an abstract class used to manage "
923 "directories. The creation of directories is handled by "
924 "CreateDirectoryAction and removal is handled by "
925 a.dunfey 1.1 "RemoveDirectoryAction.")]
926 class CIM_DirectoryAction : CIM_Action {
927
928 [Description (
929 "The name of the directory being managed."),
930 MaxLen ( 1024 )]
931 string DirectoryName;
932 };
933
934
935 // ==================================================================
936 // CreateDirectoryAction
937 // ==================================================================
938 [Version ( "2.6.0" ), Description (
939 "CreateDirectoryAction creates empty directories for "
940 "SoftwareElements to be installed locally.")]
941 class CIM_CreateDirectoryAction : CIM_DirectoryAction {
942 };
943
944
945 // ==================================================================
946 a.dunfey 1.1 // RemoveDirectoryAction
947 // ==================================================================
948 [Version ( "2.6.0" ), Description (
949 "RemoveDirectoryAction removes directories from the computer "
950 "system that defines the Action's environment.")]
951 class CIM_RemoveDirectoryAction : CIM_DirectoryAction {
952
953 [Description (
954 "Boolean property indicating that the directory must be "
955 "empty in order to be removed. If this condition is not "
956 "satisfied, then the Invoke methods return an error.")]
957 boolean MustBeEmpty;
958 };
959
960
961 // ==================================================================
962 // FileAction
963 // ==================================================================
964 [Abstract, Version ( "2.6.0" ), Description (
965 "FileAction locates files that already exist on the CIM_ "
966 "ComputerSystem that defines the Action's environment. These "
967 a.dunfey 1.1 "files are removed or moved/copied to a new location.")]
968 class CIM_FileAction : CIM_Action {
969 };
970
971
972 // ==================================================================
973 // CopyFileAction
974 // ==================================================================
975 [Version ( "2.6.0" ), Description (
976 "CopyFileAction specifies the files to be moved or copied to a "
977 "new location. The to/from information for the copy is "
978 "specified using either the ToDirectorySpecification/ "
979 "FromDirectorySpecification or the ToDirectoryAction/ "
980 "FromDirectoryAction associations. The first set is used when "
981 "the source and/or the target are to exist before any Actions "
982 "are taken. The second set is used when the source and/or "
983 "target are created as a part of a previous Action (specified "
984 "using the association, ActionSequence).")]
985 class CIM_CopyFileAction : CIM_FileAction {
986
987 [Description (
988 a.dunfey 1.1 "The source directory."),
989 MaxLen ( 1024 )]
990 string Source;
991
992 [Description (
993 "The destination directory."),
994 MaxLen ( 1024 )]
995 string Destination;
996
997 [Description (
998 "Boolean indicating that the file should be deleted after "
999 "being copied.")]
1000 boolean DeleteAfterCopy;
1001 };
1002
1003
1004 // ==================================================================
1005 // RemoveFileAction
1006 // ==================================================================
1007 [Version ( "2.6.0" ), Description (
1008 "The RemoveFileAction uninstalls files.")]
1009 a.dunfey 1.1 class CIM_RemoveFileAction : CIM_FileAction {
1010
1011 [Description (
1012 "The file to be removed."),
1013 MaxLen ( 1024 )]
1014 string File;
1015 };
1016
1017
1018 // ==================================================================
1019 // RebootAction
1020 // ==================================================================
1021 [Version ( "2.6.0" ), Description (
1022 "RebootAction causes a reboot of the computer system that "
1023 "defines the Action's environment.")]
1024 class CIM_RebootAction : CIM_Action {
1025 };
1026
1027
1028 // ==================================================================
1029 // ExecuteProgram
1030 a.dunfey 1.1 // ==================================================================
1031 [Version ( "2.6.0" ), Description (
1032 "ExecuteProgram causes programs to be executed on the computer "
1033 "system that defines the Action's environment.")]
1034 class CIM_ExecuteProgram : CIM_Action {
1035
1036 [Description (
1037 "The location or 'path' where the program is found."),
1038 MaxLen ( 1024 )]
1039 string ProgramPath;
1040
1041 [Description (
1042 "A string that can be executed and invokes program(s), from "
1043 "a system's command line.")]
1044 string CommandLine;
1045 };
1046
1047
1048 // ==================================================================
1049 // ModifySettingAction
1050 // ==================================================================
1051 a.dunfey 1.1 [Version ( "2.6.0" ), Description (
1052 "This class specifies the information used to modify a "
1053 "'setting' file, for a specific entry in the file. The new "
1054 "'setting' value is created as a new entry or appends to, "
1055 "replaces, removes from, or deletes the specified entry. All "
1056 "additions are assumed to be case sensitive. Removes are "
1057 "assumed to be case insensitive.")]
1058 class CIM_ModifySettingAction : CIM_Action {
1059
1060 [Description (
1061 "This is the key or label of the section of the file to be "
1062 "modified."),
1063 MaxLen ( 256 )]
1064 string SectionKey;
1065
1066 [Description (
1067 "Name of setting entry to be modified."),
1068 MaxLen ( 256 )]
1069 string EntryName;
1070
1071 [Description (
1072 a.dunfey 1.1 "This is the value to add, append, or replace the specified "
1073 "setting.")]
1074 string EntryValue;
1075
1076 [Description (
1077 "File name of the 'setting' file."),
1078 MaxLen ( 1024 )]
1079 string FileName;
1080
1081 [Description (
1082 "Type of Action to be performed on the specified setting "
1083 "entry. \n"
1084 "0=Create - Creates the specified entry. \n"
1085 "1=Delete - Deletes the specified entry. \n"
1086 "2=Append - Appends to the end of the specified entry. \n"
1087 "3=Remove - Removes the value from the specified entry."),
1088 ValueMap { "0", "1", "2", "3" },
1089 Values { "Create", "Delete", "Append", "Remove" }]
1090 uint16 ActionType;
1091 };
1092
1093 a.dunfey 1.1
1094 // ==================================================================
1095 // ActionSequence
1096 // ==================================================================
1097 [Association, Version ( "2.6.0" ), Description (
1098 "The CIM_ActionSequence association defines a series of "
1099 "operations that either transition a SoftwareElement, "
1100 "referenced by the CIM_SoftwareElementActions association, to "
1101 "the next state or removes the element from its current state. "
1102 "The Action classes participating in this association must have "
1103 "the same value for the Action.Direction property - since they "
1104 "are either part of a sequence to transition a SoftwareElement "
1105 "into its next state or to uninstall it. The next-state and "
1106 "uninstall Actions associated with a particular SoftwareElement "
1107 "must be a continuous sequence. \n"
1108 "ActionSequence is an association that loops on the Action "
1109 "classes with roles for the 'prior' and 'next' Actions in the "
1110 "sequence. The need for a continuous sequence imples: (1)Within "
1111 "the set of next-state or uninstall Actions, there is one and "
1112 "only one Action that does not have an instance of "
1113 "ActionSequence referencing it in the 'next' role. This is the "
1114 a.dunfey 1.1 "first Action in the sequence. (2) Within the set of next-state "
1115 "or uninstall Actions, there is one and only one Action that "
1116 "does not have an instance of ActionSequence referencing it in "
1117 "the 'prior' role. This is the last Action in the sequence. (3) "
1118 "All other Actions within the set of next-state and uninstall "
1119 "Actions must participate in two instances of ActionSequence, "
1120 "one in a 'prior' role and the other in the 'next' role.")]
1121 class CIM_ActionSequence {
1122
1123 [Key, Max ( 1 ), Description (
1124 "The next Action in the sequence.")]
1125 CIM_Action REF Next;
1126
1127 [Key, Max ( 1 ), Description (
1128 "The previous Action in the sequence.")]
1129 CIM_Action REF Prior;
1130 };
1131
1132
1133 // ==================================================================
1134 // SoftwareElementActions
1135 a.dunfey 1.1 // ==================================================================
1136 [Association, Aggregation, Version ( "2.6.0" ), Description (
1137 "This association identifies the Actions for a Software "
1138 "Element.")]
1139 class CIM_SoftwareElementActions {
1140
1141 [Key, Aggregate, Min ( 1 ), Max ( 1 ), Description (
1142 "The element that scopes the Action.")]
1143 CIM_SoftwareElement REF Element;
1144
1145 [Key, Weak, Description (
1146 "The software Action to move or uninstall a SoftwareElement.")]
1147 CIM_Action REF Action;
1148 };
1149
1150
1151 // ==================================================================
1152 // ToDirectorySpecification
1153 // ==================================================================
1154 [Association, Version ( "2.6.0" ), Description (
1155 "The ToDirectorySpecification association identifies the target "
1156 a.dunfey 1.1 "directory for a FileAction. When this association is used, the "
1157 "assumption is that the target directory already exists. This "
1158 "association cannot co-exist with a ToDirectoryAction "
1159 "association, since a FileAction can only involve a single "
1160 "target directory.")]
1161 class CIM_ToDirectorySpecification {
1162
1163 [Key, Max ( 1 ), Description (
1164 "The destination directory of the Action.")]
1165 CIM_DirectorySpecification REF DestinationDirectory;
1166
1167 [Key, Description (
1168 "The Action against the directory.")]
1169 CIM_CopyFileAction REF FileName;
1170 };
1171
1172
1173 // ==================================================================
1174 // FromDirectorySpecification
1175 // ==================================================================
1176 [Association, Version ( "2.6.0" ), Description (
1177 a.dunfey 1.1 "The FromDirectorySpecification association identifies the "
1178 "source directory for a FileAction. When this association is "
1179 "used, the assumption is that the source directory already "
1180 "exists. This association cannot co-exist with a "
1181 "FromDirectoryAction association, since a FileAction can only "
1182 "involve a single source directory.")]
1183 class CIM_FromDirectorySpecification {
1184
1185 [Key, Max ( 1 ), Description (
1186 "The source directory of the Action.")]
1187 CIM_DirectorySpecification REF SourceDirectory;
1188
1189 [Key, Description (
1190 "The Action against the directory.")]
1191 CIM_FileAction REF FileName;
1192 };
1193
1194
1195 // ==================================================================
1196 // ToDirectoryAction
1197 // ==================================================================
1198 a.dunfey 1.1 [Association, Version ( "2.6.0" ), Description (
1199 "The ToDirectoryAction association identifies the target "
1200 "directory for a FileAction. When this association is used, the "
1201 "assumption is that the target directory was created by a "
1202 "previous Action. This association cannot co-exist with a "
1203 "ToDirectorySpecification association, since a FileAction can "
1204 "only involve a single target directory.")]
1205 class CIM_ToDirectoryAction {
1206
1207 [Key, Max ( 1 ), Description (
1208 "The destination directory of the Action.")]
1209 CIM_DirectoryAction REF DestinationDirectory;
1210
1211 [Key, Description (
1212 "The Action against the directory.")]
1213 CIM_CopyFileAction REF FileName;
1214 };
1215
1216
1217 // ==================================================================
1218 // FromDirectoryAction
1219 a.dunfey 1.1 // ==================================================================
1220 [Association, Version ( "2.6.0" ), Description (
1221 "The FromDirectoryAction association identifies the source "
1222 "directory for a FileAction. When this association is used, the "
1223 "assumption is that the source directory was created by a "
1224 "previous Action. This association cannot co-exist with a "
1225 "FromDirectorySpecification association, since a FileAction can "
1226 "only involve a single source directory.")]
1227 class CIM_FromDirectoryAction {
1228
1229 [Key, Max ( 1 ), Description (
1230 "The source directory of the Action.")]
1231 CIM_DirectoryAction REF SourceDirectory;
1232
1233 [Key, Description (
1234 "The Action against the directory.")]
1235 CIM_FileAction REF FileName;
1236 };
1237
1238
1239 // ==================================================================
1240 a.dunfey 1.1 // end of file
1241 // ==================================================================
|