(file) Return to Core27_PowerMgmt.mof CVS log (file) (dir) Up to [Pegasus] / pegasus / Schemas / CIMPrelim271

  1 karl  1.1 // ===================================================================
  2           // Title:       Core Power Management 2.7
  3           // Filename:    Core27_PowerMgmt.mof
  4           // Version:     2.7.0
  5           // Release:     Preliminary 
  6           // Date:        07/01/02
  7           // ===================================================================
  8           // Copyright 2002 Distributed Management Task Force, Inc. (DMTF).
  9           // All rights reserved.  
 10           // DMTF is a not-for-profit association of industry members dedicated 
 11           // to promoting enterprise and systems management and interoperability. 
 12           // DMTF specifications and documents may be reproduced for uses
 13           // consistent with this purpose by members and non-members, 
 14           // provided that correct attribution is given. 
 15           // As DMTF specifications may be revised from time to time, 
 16           // the particular version and release date should always be noted.
 17           //
 18           // Implementation of certain elements of this standard or proposed 
 19           // standard may be subject to third party patent rights, including 
 20           // provisional patent rights (herein "patent rights"). DMTF makes 
 21           // no representations to users of the standard as to the existence 
 22 karl  1.1 // of such rights, and is not responsible to recognize, disclose, or
 23           // identify any or all such third party patent right, owners or 
 24           // claimants, nor for any incomplete or inaccurate identification or 
 25           // disclosure of such rights, owners or claimants. DMTF shall have no 
 26           // liability to any party, in any manner or circumstance, under any 
 27           // legal theory whatsoever, for failure to recognize, disclose, or 
 28           // identify any such third party patent rights, or for such party's
 29           // reliance on the standard or incorporation thereof in its product, 
 30           // protocols or testing procedures. DMTF shall have no liability to 
 31           // any party implementing such standard, whether such implementation 
 32           // is foreseeable or not, nor to any patent owner or claimant, and shall 
 33           // have no liability or responsibility for costs or losses incurred if 
 34           // a standard is withdrawn or modified after publication, and shall be
 35           // indemnified and held harmless by any party implementing the 
 36           // standard from any and all claims of infringement by a patent owner 
 37           // for such implementations.
 38           //
 39           // For information about patents held by third-parties which have 
 40           // notified the DMTF that, in their opinion, such patent may relate to 
 41           // or impact implementations of DMTF standards, visit 
 42           // http://www.dmtf.org/about/policies/disclosures.php.
 43 karl  1.1 // ===================================================================
 44           // Description: The Core Model defines basic management concepts. 
 45           //              This file defines the concepts for power 
 46           //              management.
 47           //
 48           //              The object classes below are listed in an order that
 49           //              avoids forward references. Required objects, defined 
 50           //              by other working groups, are omitted.
 51           // ==================================================================
 52           // Change Log for v2.7
 53           // CR720 - Introduce PowerManagementCapabilities & 
 54           //         PowerManagementService
 55           // ===================================================================
 56           
 57           #pragma locale ("en_US")
 58           
 59           
 60           // ===================================================================
 61           // PowerManagementCapabilites
 62           // ===================================================================
 63           [Experimental, Version ("2.7.0"), Description (
 64 karl  1.1     "A class derived from Capabilities that describes the power "
 65               "management aspects of an element (typically a system or device). "
 66               "The element's power management capabilities are decoupled from "
 67               "a PowerManagementService, since a single service could "
 68               "apply to multiple elements, each with specific capabilities." ) ]
 69           class CIM_PowerManagementCapabilities : CIM_Capabilities {
 70           
 71               [Description (
 72                   "An enumeration indicating the specific power-related "
 73                   "capabilities of a managed element.  Since this is an array, "
 74                   "multiple values may be specified. The current values in "
 75                   "the enumeration are: \n"
 76                   "0 = Unknown \n"
 77                   "1 = Other \n"
 78                   "2 = Power Saving Modes Entered Automatically, describing "
 79                   "that a managed element can change its power state based on "
 80                   "usage or other criteria \n"
 81                   "3 = Power State Settable, indicating that the SetPowerState "
 82                   "method is supported \n"
 83                   "4 = Power Cycling Supported, indicating that the "
 84                   "SetPowerState method can be invoked with the PowerState "
 85 karl  1.1         "input variable set to 'Power Cycle' \n"
 86                   "5 = Timed Power On Supported, indicating that the "
 87                   "SetPowerState method can be invoked with the PowerState "
 88                   "input variable set to 'Power Cycle' and the Time parameter "
 89                   "set to a specific date and time, or interval, for power-on."),
 90                   ValueMap {"0", "1", "2", "3", "4", "5"},
 91                   Values {"Unknown", "Other", 
 92                       "Power Saving Modes Entered Automatically",
 93                       "Power State Settable", "Power Cycling Supported",
 94                       "Timed Power On Supported"},
 95                   MappingStrings {"MIF.DMTF|System Power Controls|001.2"},
 96                   ModelCorrespondence {
 97                       "CIM_PowerManagementCapabilities."
 98                       "OtherPowerCapabilitiesDescriptions",
 99                       "CIM_PowerManagementService.SetPowerState"} ]
100               uint16 PowerCapabilities[];
101              
102               [Description (
103                   "An array of strings describing an element's additional power "
104                   "management capabilities, used when the PowerCapabilities "
105                   "array includes the value 1, \"Other\"."),
106 karl  1.1         ModelCorrespondence {
107                       "CIM_PowerManagementCapabilities.PowerCapabilities"} ]
108               string OtherPowerCapabilitiesDescriptions[];
109           };
110           
111           
112           // ===================================================================
113           // PowerManagementService
114           // ===================================================================
115           [Experimental, Version ("2.7.0"), Description (
116               "A class derived from Service that describes power "
117               "management functionality, hosted on a System. The fact "
118               "that this service may be used to affect the power state "
119               "of a particular element is defined by the CIM_ServiceAvailable"
120               "ToElement association." ) ]
121           class CIM_PowerManagementService : CIM_Service {
122           
123               [Description (
124                   "  SetPowerState defines the desired power state of the "
125                   "managed element, and when the element should be put into "
126                   "that state. The SetPowerState method has three input "
127 karl  1.1         "parameters, no output parameters, and a result. \n"
128                   " - PowerState indicates the desired power state. \n"
129                   " - ManagedElement indicates the element whose state "
130                   "is set. This element SHOULD be associated to the "
131                   "service using the ServiceAvailableToElement relationship. \n"
132                   " - Time indicates when the power state should be set, "
133                   "either as a regular date-time value or as an interval "
134                   "value (where the interval begins when the "
135                   "method invocation is received). \n"
136                   "Note that when the PowerState parameter is equal to "
137                   "5, \"Power Cycle\", the Time parameter indicates "
138                   "when the managed element should "
139                   "powered on again. Power off is immediate. \n"
140                   "  SetPowerState should return 0 if successful, 1 if the "
141                   "specified State and Time request is not supported for "
142                   "the element, and some other value if any other error "
143                   "occurred. In a subclass, the set of possible return codes "
144                   "could be specified, using a ValueMap qualifier on the "
145                   "method. The strings to which the ValueMap contents "
146                   "are 'translated' may also be specified in "
147                   "the subclass as a Values array qualifier.") ]
148 karl  1.1    uint32 SetPowerState(
149                  [IN, ValueMap {"1", "2", "3", "4", "5", "6", "7", "8"},
150                      Values {"Full Power", "Power Save - Low Power Mode", 
151                          "Power Save - Standby", "Power Save - Other", 
152                          "Power Cycle", "Power Off", "Hibernate", "Soft Off"}] 
153                  uint16 PowerState,
154                  [IN] CIM_ManagedElement REF ManagedElement, 
155                  [IN] datetime Time);
156           };
157           
158           
159           // ===================================================================
160           // end of file
161           // ===================================================================

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2