diff options
author | Peter Schiffer <pschiffe@redhat.com> | 2013-04-23 15:43:40 +0200 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2013-05-10 13:47:55 +0200 |
commit | 2ca9c3d05d0fd83a0a15422829b511aa55dbb4e5 (patch) | |
tree | 844315d4d03fdaf0e64cc27b9753f7674f36b502 /mof | |
parent | f4e079cea2fdb4e8cced5a7f4ffe7a240cf5c2a8 (diff) | |
download | openlmi-providers-2ca9c3d05d0fd83a0a15422829b511aa55dbb4e5.tar.gz openlmi-providers-2ca9c3d05d0fd83a0a15422829b511aa55dbb4e5.tar.xz openlmi-providers-2ca9c3d05d0fd83a0a15422829b511aa55dbb4e5.zip |
Hardware: Added Physical Memory Provider
New Providers:
* LMI_PhysicalMemoryProvider
* LMI_PhysicalMemoryRealizesProvider
Other Changes:
* Fixed InstanceID in hardware to match the rest of the providers
* Removed some unused variables
Diffstat (limited to 'mof')
-rw-r--r-- | mof/60_LMI_Hardware.mof | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mof/60_LMI_Hardware.mof b/mof/60_LMI_Hardware.mof index cba6459..66bd806 100644 --- a/mof/60_LMI_Hardware.mof +++ b/mof/60_LMI_Hardware.mof @@ -206,6 +206,21 @@ class LMI_PhysicalMemoryRealizes: CIM_Realizes LMI_Memory REF Dependent; }; +[ Provider("cmpi:cmpiLMI_PhysicalMemory") ] +class LMI_PhysicalMemory: CIM_PhysicalMemory +{ +}; + +[ Provider("cmpi:cmpiLMI_PhysicalMemoryRealizes"), Association ] +class LMI_PhysicalMemoryRealizes: CIM_Realizes +{ + [Override("Antecedent")] + LMI_PhysicalMemory REF Antecedent; + + [Override("Dependent")] + LMI_Memory REF Dependent; +}; + /****************************************************************************** * PCI Devices */ |