summaryrefslogtreecommitdiffstats
path: root/mof
diff options
context:
space:
mode:
authorPeter Schiffer <pschiffe@redhat.com>2013-04-23 15:43:40 +0200
committerPeter Schiffer <pschiffe@redhat.com>2013-04-23 15:43:40 +0200
commit1e4187b50657065445a33148bfb2224005fb0dff (patch)
treebe2a363d74215eab1c98be2776b408dfc98cff23 /mof
parente229f6f4752c30c4fb48c429174f81bbda02242d (diff)
downloadopenlmi-providers-1e4187b50657065445a33148bfb2224005fb0dff.tar.gz
openlmi-providers-1e4187b50657065445a33148bfb2224005fb0dff.tar.xz
openlmi-providers-1e4187b50657065445a33148bfb2224005fb0dff.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/LMI_Hardware.mof15
1 files changed, 15 insertions, 0 deletions
diff --git a/mof/LMI_Hardware.mof b/mof/LMI_Hardware.mof
index 3ceb886..63c1a74 100644
--- a/mof/LMI_Hardware.mof
+++ b/mof/LMI_Hardware.mof
@@ -171,6 +171,21 @@ class LMI_Memory: CIM_Memory
{
};
+[ 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
*/