summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Schiffer <pschiffe@redhat.com>2013-04-23 15:43:40 +0200
committerMichal Minar <miminar@redhat.com>2013-05-10 13:47:56 +0200
commitce8c7e1e1404993a689690532487e6140f4fa684 (patch)
tree8b6c05358db1b2b86cad471f43a9f807aa5bd70b
parent2ca9c3d05d0fd83a0a15422829b511aa55dbb4e5 (diff)
downloadopenlmi-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
-rw-r--r--mof/60_LMI_Hardware.mof15
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
*/