1 karl 1.1.2.2 // Copyright (c) 2009 DMTF. All Rights Reserved.
2 [Abstract, Version ( "2.23.0" ),
3 UMLPackagePath ( "CIM::Application::CheckAction" ),
4 Description (
5 "A CIM_Action is an operation that is part of a process to "
6 "either create a SoftwareElement in its next state or to "
7 "eliminate the SoftwareElement in its current state. A "
8 "CIM_ComputerSystem object represents the environment in which "
9 "CIM_SoftwareElements are already deployed/installed or into "
10 "which the elements will be deployed/installed. For the case in "
11 "which an element is already installed, the "
12 "CIM_InstalledSoftwareElement association identifies the "
13 "CIM_ComputerSystem object that represents the \"environment\". "
14 "When a SoftwareElement is being deployed for installation on a "
15 "ComputerSystem, that system is the target of the Action and is "
16 "identified using the TargetSystem reference of the "
17 "InvokeOnSystem method." )]
18 class CIM_Action : CIM_ManagedElement {
19
20 [Key, Description (
21 "The name used to identify the SoftwareElement that is "
22 karl 1.1.2.2 "being acted upon." ),
23 MaxLen ( 256 ),
24 Propagated ( "CIM_SoftwareElement.Name" )]
25 string Name;
26
27 [Key, Description (
28 "The version of the SoftwareElement being acted upon." ),
29 MaxLen ( 64 ),
30 Propagated ( "CIM_SoftwareElement.Version" )]
31 string Version;
32
33 [Key, Description (
34 "The SoftwareElementState of the SoftwareElement being acted upon."
35 ),
36 ValueMap { "0", "1", "2", "3" },
37 Values { "Deployable", "Installable", "Executable", "Running" },
38 Propagated ( "CIM_SoftwareElement.SoftwareElementState" )]
39 uint16 SoftwareElementState;
40
41 [Key, Description (
42 "This is an identifier for the SoftwareElement being acted upon."
43 karl 1.1.2.2 ),
44 MaxLen ( 256 ),
45 Propagated ( "CIM_SoftwareElement.SoftwareElementID" )]
46 string SoftwareElementID;
47
48 [Key, Description (
49 "The Target Operating System of the SoftwareElement being "
50 "acted upon." ),
51 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
52 "10", "11", "12", "13", "14", "15", "16", "17", "18",
53 "19", "20", "21", "22", "23", "24", "25", "26", "27",
54 "28", "29", "30", "31", "32", "33", "34", "35", "36",
55 "37", "38", "39", "40", "41", "42", "43", "44", "45",
56 "46", "47", "48", "49", "50", "51", "52", "53", "54",
57 "55", "56", "57", "58", "59", "60", "61", "62", "63",
58 "64", "65", "66", "67", "68", "69", "70", "71", "72",
59 "73", "74", "75", "76", "77", "78", "79", "80", "81",
60 "82", "83", "84", "85", "86", "87", "88", "89", "90",
61 "91", "92", "93", "94", "95", "96", "97", "98", "99",
62 "100", "101", "102", "103", "104", "105", "106", "107",
63 "108", "109", "110" },
64 karl 1.1.2.2 Values { "Unknown", "Other", "MACOS", "ATTUNIX", "DGUX",
65 "DECNT", "Tru64 UNIX", "OpenVMS", "HPUX", "AIX",
66 //10
67 "MVS", "OS400", "OS/2", "JavaVM", "MSDOS",
68 "WIN3x", "WIN95", "WIN98", "WINNT", "WINCE",
69 //20
70 "NCR3000", "NetWare", "OSF", "DC/OS",
71 "Reliant UNIX", "SCO UnixWare", "SCO OpenServer",
72 "Sequent", "IRIX", "Solaris", //30
73 "SunOS",
74 "U6000", "ASERIES", "HP NonStop OS", "HP NonStop OSS",
75 "BS2000", "LINUX", "Lynx", "XENIX", "VM",
76 //40
77 "Interactive UNIX", "BSDUNIX", "FreeBSD",
78 "NetBSD", "GNU Hurd", "OS9", "MACH Kernel", "Inferno",
79 "QNX", "EPOC", //50
80 "IxWorks", "VxWorks",
81 "MiNT", "BeOS", "HP MPE", "NextStep", "PalmPilot",
82 "Rhapsody", "Windows 2000", "Dedicated",
83 //60
84 "OS/390", "VSE", "TPF", "Windows (R) Me",
85 karl 1.1.2.2 "Caldera Open UNIX", "OpenBSD", "Not Applicable",
86 "Windows XP", "z/OS", "Microsoft Windows Server 2003",
87 //70
88 "Microsoft Windows Server 2003 64-Bit",
89 "Windows XP 64-Bit", "Windows XP Embedded",
90 "Windows Vista", "Windows Vista 64-Bit",
91 "Windows Embedded for Point of Service",
92 "Microsoft Windows Server 2008",
93 "Microsoft Windows Server 2008 64-Bit", "FreeBSD 64-Bit",
94 "RedHat Enterprise Linux",
95 //80
96 "RedHat Enterprise Linux 64-Bit",
97 "Solaris 64-Bit", "SUSE", "SUSE 64-Bit", "SLES",
98 "SLES 64-Bit", "Novell OES", "Novell Linux Desktop",
99 "Sun Java Desktop System", "Mandriva",
100 //90
101 "Mandriva 64-Bit", "TurboLinux",
102 "TurboLinux 64-Bit", "Ubuntu", "Ubuntu 64-Bit", "Debian",
103 "Debian 64-Bit", "Linux 2.4.x", "Linux 2.4.x 64-Bit",
104 "Linux 2.6.x", //100
105 "Linux 2.6.x 64-Bit",
106 karl 1.1.2.2 "Linux 64-Bit", "Other 64-Bit",
107 "Microsoft Windows Server 2008 R2", "VMware ESXi",
108 "Microsoft Windows 7", "CentOS 32-bit", "CentOS 64-bit",
109 "Oracle Enterprise Linux 32-bit",
110 "Oracle Enterprise Linux 64-bit",
111 //110
112 "eComStation 32-bitx" },
113 Propagated ( "CIM_SoftwareElement.TargetOperatingSystem" )]
114 uint16 TargetOperatingSystem;
115
116 [Key, Description (
117 "The ActionID property is a unique identifier assigned to "
118 "a particular Action for a SoftwareElement." ),
119 MaxLen ( 256 )]
120 string ActionID;
121
122 [Description (
123 "The Direction property is used to indicate whether this "
124 "Action is part of a sequence to transition the "
125 "SoftwareElement to its next state (\"Install\") or to "
126 "remove the element (\"Uninstall\")." ),
127 karl 1.1.2.2 ValueMap { "0", "1" },
128 Values { "Install", "Uninstall" }]
129 uint16 Direction;
130
131
132 [Description (
133 "The Invoke method takes this Action. The details of how "
134 "the Action is implemented are described by specific "
135 "subclasses of CIM_Action. When the SoftwareElement being "
136 "transitioned or eliminated is already installed, the "
137 "CIM_InstalledSoftwareElement association identifies the "
138 "CIM_ComputerSystem in whose context the Invoke is "
139 "executed. If this association is not in place, then the "
140 "InvokeOnSystem method should be used - since it "
141 "identifies the TargetSystem as a parameter of the "
142 "method. \n"
143 "The results of the Invoke method are based on the return "
144 "value. A zero is returned if the Action is satisfied. A "
145 "one is returned if the method is not supported. Any "
146 "other value indicates the Action is not satisfied." )]
147 uint32 Invoke(
148 karl 1.1.2.2 );
149
150 [Description (
151 "The InvokeOnSystem method takes this Action. The details "
152 "of how the Action is implemented are described by "
153 "specific subclasses of CIM_Action. The method\'s "
154 "TargetSystem input parameter specifies the "
155 "ComputerSystem in whose context the method is invoked. \n"
156 "The results of the InvokeOnSystem method are based on "
157 "the return value. A zero is returned if the Action is "
158 "satisfied. A one is returned if the method is not "
159 "supported. Any other value indicates the Action is not "
160 "satisfied." )]
161 uint32 InvokeOnSystem(
162 [IN, Description (
163 "Reference to target system in whose context the "
164 "method is to be invoked." )]
165 CIM_ComputerSystem REF TargetSystem);
166
167 };
|