1 marek 1.1 // Copyright (c) 2010 DMTF. All rights reserved.
2 [Association, Version ( "2.24.1" ),
3 UMLPackagePath ( "CIM::Core::PowerMgmt" ),
4 Description (
5 "The association between a Managed System Element and its power "
6 "management service." )]
7 class CIM_AssociatedPowerManagementService : CIM_ServiceAvailableToElement {
8
9 [Override ( "ServiceProvided" ),
10 Max ( 1 ),
11 Description ( "The Service that is available." )]
12 CIM_PowerManagementService REF ServiceProvided;
13
14 [Description (
15 "The current power state of the associated Managed System Element."
16 ),
17 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
18 "11", "12", "13", "14", "15", "16", "17", "..",
19 "0x7FFF..0xFFFF" },
20 Values { "Other", "On", "Sleep - Light", "Sleep -Deep",
21 "Power Cycle (Off - Soft)", "Off - Hard",
22 marek 1.1 "Hibernate (Off - Soft)", "Off - Soft",
23 "Power Cycle (Off-Hard)", "Master Bus Reset",
24 "Diagnostic Interrupt (NMI)", "Off - Soft Graceful",
25 "Off - Hard Graceful", "Master Bus Reset Graceful",
26 "Power Cycle (Off - Soft Graceful)",
27 "Power Cycle (Off - Hard Graceful)",
28 "Diagnostic Interrupt (INIT)", "DMTF Reserved",
29 "Vendor Specific" },
30 MappingStrings { "MIF.DMTF|System Power Controls|001.2" },
31 ModelCorrespondence {
32 "CIM_PowerManagementCapabilities.PowerCapabilities" }]
33 uint16 PowerState;
34
35 [Description (
36 "A string describing the additional power management "
37 "state of the element, used when the PowerState is set to "
38 "the value 1, \"Other\"." ),
39 ModelCorrespondence {
40 "CIM_AssociatedPowerManagementService.PowerState" }]
41 string OtherPowerState;
42
43 marek 1.1 [Description (
44 "The desired or the last requested power state of the "
45 "associated Managed System Element, irrespective of the "
46 "mechanism through which the request was made. If the "
47 "requested power state is unknown, then the property "
48 "shall have the value of 0 (\"Unknown\"). If the property "
49 "has no meaning or is not supported, then the property "
50 "shall have value 12(\"Not Applicable\")." ),
51 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
52 "10", "11", "12", "13", "14", "15", "16", "17", "18",
53 "..", "0x7FFF..0xFFFF" },
54 Values { "Unknown", "Other", "On", "Sleep - Light",
55 "Sleep -_Deep", "Power Cycle (Off - Soft)", "Off - Hard",
56 "Hibernate (Off - Soft)", "Off - Soft",
57 "Power Cycle (Off-Hard)", "Master Bus Reset",
58 "Diagnostic Interrupt (NMI)", "Not Applicable",
59 "Off - Soft Graceful", "Off - Hard Graceful",
60 "Master Bus Reset Graceful",
61 "Power Cycle (Off - Soft Graceful)",
62 "Power Cycle (Off - Hard Graceful)",
63 "Diagnostic Interrupt (INIT)", "DMTF Reserved",
64 marek 1.1 "Vendor Specific" },
65 MappingStrings { "MIF.DMTF|System Power Controls|001.2" },
66 ModelCorrespondence {
67 "CIM_PowerManagementCapabilities.PowerCapabilities",
68 "CIM_AssociatedPowerManagementService.OtherRequestedPowerState" }]
69 uint16 RequestedPowerState = 12;
70
71 [Description (
72 "A string describing the additional power management "
73 "state of the element, used when the RequestedPowerState "
74 "is set to the value 1, \"Other\"." ),
75 ModelCorrespondence {
76 "CIM_AssociatedPowerManagementService.RequestedPowerState" }]
77 string OtherRequestedPowerState;
78
79 [Description (
80 "The time when the element will be powered on again, used "
81 "when the RequestedPowerState has the value 2, \"On\", 5, "
82 "\"Power Cycle (Off - Soft)\" or 6, \"Power Cycle (Off - "
83 "Hard)\"." ),
84 ModelCorrespondence {
85 marek 1.1 "CIM_AssociatedPowerManagementService.RequestedPowerState" }]
86 datetime PowerOnTime;
87
88 [Description (
89 "AvailableRequestedPowerStates indicates the possible "
90 "values for the PowerState parameter of the method "
91 "RequestPowerStateChange, used to initiate a power state "
92 "change.The values listed shall be a subset of the values "
93 "contained in the RequestedPowerStatesSupported property "
94 "of the CIM_PowerManagementCapabilities where the values "
95 "selected are a function of the current power state of "
96 "the system. This property shall be non-null if an "
97 "implementation supports the advertisement of the set of "
98 "possible values as a function of the current state. This "
99 "property shall be null if an implementation does not "
100 "support the advertisement of the set of possible values "
101 "as a function of the current state. \n"
102 "The current values in the enumeration are: \n"
103 "2=On, corresponding to ACPI state G0 or S0 or D0. \n"
104 "3=Sleep - Light, corresponding to ACPI state G1, S1/S2, "
105 "or D1. \n"
106 marek 1.1 "4=Sleep - Deep, corresponding to ACPI state G1, S3, or D2.\n"
107 "5=Power Cycle (Off - Soft), corresponding to ACPI state "
108 "G2, S5, or D3, but where the managed element is set to "
109 "return to power state \"On\" at a pre-determined time. \n"
110 "6=Off - Hard, corresponding to ACPI state G3, S5, or D3. \n"
111 "7=Hibernate (Off - Soft), corresponding to ACPI state "
112 "S4, where the state of the managed element is preserved "
113 "and will be recovered upon powering on. \n"
114 "8=Off - Soft, corresponding to ACPI state G2, S5, or D3. "
115 "9= Power Cycle (Off-Hard), corresponds to the managed "
116 "element reaching the ACPI state G3 followed by ACPI "
117 "state S0. \n"
118 "10=Master Bus Reset, corresponds to the system reaching "
119 "ACPI state S5 followed by ACPI state S0. This is used to "
120 "represent system master bus reset. 11=Diagnostic "
121 "Interrupt (NMI), corresponding to the system reaching "
122 "ACPI state S5 followed by ACPI state S0. This is used to "
123 "represent system non-maskable interrupt. 12=Off - Soft "
124 "Graceful, equivalent to Off Soft but preceded by a "
125 "request to the managed element to perform an orderly "
126 "shutdown. \n"
127 marek 1.1 "13=Off - Hard Graceful, equivalent to Off Hard but "
128 "preceded by a request to the managed element to perform "
129 "an orderly shutdown. \n"
130 "14=Master Bus Rest Graceful, equivalent to Master Bus "
131 "Reset but preceded by a request to the managed element "
132 "to perform an orderly shutdown. \n"
133 "15=Power Cycle (Off - Soft Graceful), equivalent to "
134 "Power Cycle (Off - Soft) but preceded by a request to "
135 "the managed element to perform an orderly shutdown. \n"
136 "16=Power Cycle (Off - Hard Graceful), equivalent to "
137 "Power Cycle (Off - Hard) but preceded by a request to "
138 "the managed element to perform an orderly shutdown. \n"
139 "..=DMTF Reserved. \n"
140 "0x7FFF..0xFFFF = Vendor Specific." ),
141 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
142 "11", "12", "13", "14", "15", "16", "..", "0x7FFF..0xFFFF" },
143 Values { "Other", "On", "Sleep - Light", "Sleep -Deep",
144 "Power Cycle (Off - Soft)", "Off - Hard",
145 "Hibernate (Off - Soft)", "Off - Soft",
146 "Power Cycle (Off-Hard)", "Master Bus Reset",
147 "Diagnostic Interrupt (NMI)", "Off - Soft Graceful",
148 marek 1.1 "Off - Hard Graceful", "Master Bus Reset Graceful",
149 "Power Cycle (Off - Soft Graceful)",
150 "Power Cycle (Off - Hard Graceful)", "DMTF Reserved",
151 "Vendor Specific" },
152 MappingStrings { "IEEE P1621 | 3.2" },
153 ModelCorrespondence {
154 "CIM_PowerManagementCapabilities.RequestedPowerStatesSupported",
155 "CIM_PowerManagementService.RequestPowerStateChange",
156 "CIM_AssociatedPowerManagementService.PowerState" }]
157 uint16 AvailableRequestedPowerStates[];
158
159 [Description (
160 "TransitioningToPowerState indicates the target power "
161 "state to which the system is transitioning. \n"
162 "A value of 19 \"No Change\" shall indicate that no "
163 "transition is in progress. A value of 18 \"Not "
164 "Applicable\" shall indicate the implementation does not "
165 "support representing ongoing transitions. \n"
166 "A value other than 18 or 19 shall identify the power "
167 "state to which the element is in the process of "
168 "transitioning." ),
169 marek 1.1 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
170 "11", "12", "13", "14", "15", "16", "17", "18", "19",
171 "..", "0x7FFF..0xFFFF" },
172 Values { "Other", "On", "Sleep - Light", "Sleep -Deep",
173 "Power Cycle (Off - Soft)", "Off - Hard",
174 "Hibernate (Off - Soft)", "Off - Soft",
175 "Power Cycle (Off-Hard)", "Master Bus Reset",
176 "Diagnostic Interrupt (NMI)", "Off - Soft Graceful",
177 "Off - Hard Graceful", "Master Bus Reset Graceful",
178 "Power Cycle (Off - Soft Graceful)",
179 "Power Cycle (Off - Hard Graceful)",
180 "Diagnostic Interrupt (INIT)", "Not Applicable",
181 "No Change", "DMTF Reserved", "Vendor Specific" },
182 MappingStrings { "MIF.DMTF|System Power Controls|001.2" },
183 ModelCorrespondence {
184 "CIM_PowerManagementCapabilities.PowerCapabilities" }]
185 uint16 TransitioningToPowerState;
186
187
188 };
|