diff options
author | Peter Schiffer <pschiffe@redhat.com> | 2014-01-30 19:21:24 +0100 |
---|---|---|
committer | Peter Schiffer <pschiffe@redhat.com> | 2014-01-30 19:21:24 +0100 |
commit | 645170c90a1b50fc1e2516f8f5e5af713105e105 (patch) | |
tree | 48718021ac484307876a29b29846f2097a8bc0f5 /mof/60_LMI_Hardware.mof | |
parent | d2e3f8517d5dc4e4ba8a06afe38425be149b7844 (diff) | |
download | openlmi-providers-645170c90a1b50fc1e2516f8f5e5af713105e105.tar.gz openlmi-providers-645170c90a1b50fc1e2516f8f5e5af713105e105.tar.xz openlmi-providers-645170c90a1b50fc1e2516f8f5e5af713105e105.zip |
Hardware: added disk capacity to LMI_DiskDriveProvider
Diffstat (limited to 'mof/60_LMI_Hardware.mof')
-rw-r--r-- | mof/60_LMI_Hardware.mof | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mof/60_LMI_Hardware.mof b/mof/60_LMI_Hardware.mof index 0a902ea..f0a0659 100644 --- a/mof/60_LMI_Hardware.mof +++ b/mof/60_LMI_Hardware.mof @@ -41,7 +41,7 @@ class LMI_Processor: CIM_Processor /* Flag IDs and names are based on: linux-3.8/arch/x86/include/asm/cpufeature.h */ - [ Implemented(true), Description ("Flags supported by Processor. " + [ Implemented(true), Description("Flags supported by Processor. " "(Available only for x86 architecture.)"), ValueMap { /* 0*32 */ @@ -354,15 +354,15 @@ class LMI_Memory: CIM_Memory boolean HasNUMA; [ Implemented(true), Description("Standard memory page size in kB."), - Units("Kilobytes"), PUnit("kilobyte")] + Units("Kilobytes"), PUnit("kilobyte") ] uint32 StandardMemoryPageSize; [ Implemented(true), Description("All supported huge memory page sizes in " "currently running kernel in kB."), - Units("Kilobytes"), PUnit("kilobyte")] + Units("Kilobytes"), PUnit("kilobyte") ] uint32 SupportedHugeMemoryPageSizes[]; - [ Implemented(true), Description ("Current state of the transparent huge " + [ Implemented(true), Description("Current state of the transparent huge " "memory pages. The state can be \"Unsupported\", what means that the " "feature is not available on the system, \"Never\" when the feature is " "disabled, \"Madvise\" when huge pages are used only in marked memory " @@ -1358,6 +1358,10 @@ class LMI_DiskDrive: CIM_DiskDrive [ Implemented(true), Override("RPM") ] uint32 RPM; + + [ Implemented(true), Description("Capacity of disk drive, in bytes."), + Units("Bytes"), PUnit("Byte") ] + uint64 Capacity; }; [ Version("0.5.0"), Provider("cmpi:cmpiLMI_DiskDriveRealizes"), Association ] |