diff options
author | Radek Novacek <rnovacek@redhat.com> | 2013-12-17 12:19:36 +0100 |
---|---|---|
committer | Radek Novacek <rnovacek@redhat.com> | 2013-12-17 14:59:51 +0100 |
commit | 64c621e8ea63b29bbd77be5172f95a01d691ee3f (patch) | |
tree | cae72685577bd5c34104be18f3e2325825399e28 /mof | |
parent | f8ebe2155ae4ae3a38af266bcd0fadd6b812a79e (diff) | |
download | openlmi-providers-64c621e8ea63b29bbd77be5172f95a01d691ee3f.tar.gz openlmi-providers-64c621e8ea63b29bbd77be5172f95a01d691ee3f.tar.xz openlmi-providers-64c621e8ea63b29bbd77be5172f95a01d691ee3f.zip |
power: Rewrite description of PowerStatesSupported property
CIM_PowerManagementCapabilities class has the description decorator
poorly written from formatting point of view. There are missing
newlines, spaces, etc. This commit rewrites the doc and cleans it up.
It also removes non-implemented items from the PowerStatesSupported
valuemap.
Diffstat (limited to 'mof')
-rw-r--r-- | mof/60_LMI_PowerManagement.mof | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/mof/60_LMI_PowerManagement.mof b/mof/60_LMI_PowerManagement.mof index 9664d85..c6355da 100644 --- a/mof/60_LMI_PowerManagement.mof +++ b/mof/60_LMI_PowerManagement.mof @@ -71,7 +71,28 @@ class LMI_AssociatedPowerManagementService: CIM_AssociatedPowerManagementService Version("0.2.0") ] class LMI_PowerManagementCapabilities: CIM_PowerManagementCapabilities { - [ Implemented(true) ] + [ Implemented(true), Description( + "An enumeration that indicates the power states supported " + "by a managed element. Because this is an array, multiple " + "values can be specified. The current values in the " + "enumeration are: \n" + "4 = Sleep - Deep, corresponding to ACPI state G1, S3, or D2.\n" + "5 = Power Cycle (Off - Soft), corresponding to ACPI state " + "G2, S5, or D3, but where the managed element is set to " + "return to power state \"On\". \n" + "7 = Hibernate (Off - Soft), corresponding to ACPI state " + "S4, where the state of the managed element is preserved " + "and will be recovered upon powering on. \n" + "8 = Off - Soft, corresponding to ACPI state G2, S5, or D3. \n" + "12 = Off - Soft Graceful, equivalent to Off Soft but preceded by a " + "request to the managed element to perform an orderly shutdown. \n" + "15 = Power Cycle (Off - Soft Graceful), equivalent to " + "Power Cycle (Off - Soft) but preceded by a request to " + "the managed element to perform an orderly shutdown."), + ValueMap { "4", "5", "7", "8", "12", "15" }, + Values { "Sleep - Deep", "Power Cycle (Off - Soft)", + "Hibernate (Off - Soft)", "Off - Soft", + "Off - Soft Graceful", "Power Cycle (Off - Soft Graceful)" } ] uint16 PowerStatesSupported[]; }; |