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:56 +0200 |
commit | ce8c7e1e1404993a689690532487e6140f4fa684 (patch) | |
tree | 8b6c05358db1b2b86cad471f43a9f807aa5bd70b /mof/60_LMI_Hardware.mof | |
parent | 2ca9c3d05d0fd83a0a15422829b511aa55dbb4e5 (diff) | |
download | openlmi-providers-ce8c7e1e1404993a689690532487e6140f4fa684.tar.gz openlmi-providers-ce8c7e1e1404993a689690532487e6140f4fa684.tar.xz openlmi-providers-ce8c7e1e1404993a689690532487e6140f4fa684.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/60_LMI_Hardware.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 66bd806..cedad70 100644 --- a/mof/60_LMI_Hardware.mof +++ b/mof/60_LMI_Hardware.mof @@ -221,6 +221,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 */ |