diff options
author | Radek Novacek <rnovacek@redhat.com> | 2013-10-16 16:32:10 +0200 |
---|---|---|
committer | Radek Novacek <rnovacek@redhat.com> | 2013-10-17 08:41:05 +0200 |
commit | 80994f1ecd072fa5953b0fb0f826e2672d4b3070 (patch) | |
tree | 74d4e2558ee8bc91449bfda80493f416856b9ca2 /mof | |
parent | 866c8805d295b07565c3061884dd764dd806cd91 (diff) | |
download | openlmi-providers-80994f1ecd072fa5953b0fb0f826e2672d4b3070.tar.gz openlmi-providers-80994f1ecd072fa5953b0fb0f826e2672d4b3070.tar.xz openlmi-providers-80994f1ecd072fa5953b0fb0f826e2672d4b3070.zip |
power: mark implemented method and property as implemented
Diffstat (limited to 'mof')
-rw-r--r-- | mof/60_LMI_PowerManagement.mof | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mof/60_LMI_PowerManagement.mof b/mof/60_LMI_PowerManagement.mof index b1991d2..9664d85 100644 --- a/mof/60_LMI_PowerManagement.mof +++ b/mof/60_LMI_PowerManagement.mof @@ -22,6 +22,35 @@ Version("0.2.0") ] class LMI_PowerManagementService: CIM_PowerManagementService { + [ Implemented(true) ] + uint32 RequestPowerStateChange( + [ IN, Description("The power state for ManagedElement."), + ValueMap { "2", "3", "4", "5", "6", "7", "8", "9", + "10", "11", "12", "13", "14", "15", "16" }, + Values { "Power On", "Sleep - Light", "Sleep - Deep", + "Power Cycle (Off Soft)", "Power Off - Hard", + "Hibernate", "Power Off - Soft", + "Power Cycle (Off Hard)", "Master Bus Reset", + "Diagnostic Interrupt (NMI)", + "Power Off - Soft Graceful", + "Power Off - Hard Graceful", + "Master Bus Reset Graceful", + "Power Cycle (Off - Soft Graceful)", + "Power Cycle (Off - Hard Graceful)" }] + uint16 PowerState, + + [ IN, Description("ManagedElement indicates the element whose state " + "is set.") ] + CIM_ManagedElement REF ManagedElement, + + [ IN, Description("Time parameter is not currently supported.") ] + datetime Time, + + [ IN(false), OUT, Description("Reference to the job.") ] + CIM_ConcreteJob REF Job, + + [ IN, Description("TimeoutPeriod is not currently supported.") ] + datetime TimeoutPeriod); }; [ Association, @@ -42,6 +71,8 @@ class LMI_AssociatedPowerManagementService: CIM_AssociatedPowerManagementService Version("0.2.0") ] class LMI_PowerManagementCapabilities: CIM_PowerManagementCapabilities { + [ Implemented(true) ] + uint16 PowerStatesSupported[]; }; [ Association, |