summaryrefslogtreecommitdiffstats
path: root/mof/60_LMI_Hardware.mof
diff options
context:
space:
mode:
authorPeter Schiffer <pschiffe@redhat.com>2013-07-25 20:34:30 +0200
committerPeter Schiffer <pschiffe@redhat.com>2013-07-25 20:34:30 +0200
commit1e773b6af3066658ccc7eb7c4092894d76285f32 (patch)
treeaed7ab0bea8498708db63605dbe57f6bcecf97ac /mof/60_LMI_Hardware.mof
parented078aa12fa4932bf915886d4c64eae6375d0172 (diff)
downloadopenlmi-providers-1e773b6af3066658ccc7eb7c4092894d76285f32.tar.gz
openlmi-providers-1e773b6af3066658ccc7eb7c4092894d76285f32.tar.xz
openlmi-providers-1e773b6af3066658ccc7eb7c4092894d76285f32.zip
Hardware: Added associations to the CIM_ComputerSystem class
New providers: * LMI_ProcessorSystemDeviceProvider * LMI_MemorySystemDeviceProvider * LMI_PCIDeviceSystemDeviceProvider * LMI_BatterySystemDeviceProvider * LMI_ChassisComputerSystemPackageProvider
Diffstat (limited to 'mof/60_LMI_Hardware.mof')
-rw-r--r--mof/60_LMI_Hardware.mof50
1 files changed, 50 insertions, 0 deletions
diff --git a/mof/60_LMI_Hardware.mof b/mof/60_LMI_Hardware.mof
index 74b85a2..c5f2b22 100644
--- a/mof/60_LMI_Hardware.mof
+++ b/mof/60_LMI_Hardware.mof
@@ -162,6 +162,16 @@ class LMI_ProcessorChipRealizes: CIM_Realizes
LMI_Processor REF Dependent;
};
+[ Provider("cmpi:cmpiLMI_ProcessorSystemDevice"), Association ]
+class LMI_ProcessorSystemDevice: CIM_SystemDevice
+{
+ [Override("GroupComponent")]
+ CIM_ComputerSystem REF GroupComponent;
+
+ [Override("PartComponent")]
+ LMI_Processor REF PartComponent;
+};
+
/******************************************************************************
* Memory
*/
@@ -206,6 +216,16 @@ class LMI_PhysicalMemoryRealizes: CIM_Realizes
LMI_Memory REF Dependent;
};
+[ Provider("cmpi:cmpiLMI_MemorySystemDevice"), Association ]
+class LMI_MemorySystemDevice: CIM_SystemDevice
+{
+ [Override("GroupComponent")]
+ CIM_ComputerSystem REF GroupComponent;
+
+ [Override("PartComponent")]
+ LMI_Memory REF PartComponent;
+};
+
/******************************************************************************
* Physical Asset
*/
@@ -240,6 +260,16 @@ class LMI_ProcessorChipContainer: CIM_Container
LMI_ProcessorChip REF PartComponent;
};
+[ Provider("cmpi:cmpiLMI_ChassisComputerSystemPackage"), Association ]
+class LMI_ChassisComputerSystemPackage: CIM_ComputerSystemPackage
+{
+ [Override("Antecedent")]
+ LMI_Chassis REF Antecedent;
+
+ [Override("Dependent")]
+ CIM_ComputerSystem REF Dependent;
+};
+
[ Provider("cmpi:cmpiLMI_MemorySlot") ]
class LMI_MemorySlot: CIM_Slot
{
@@ -349,6 +379,16 @@ class LMI_PhysicalBatteryContainer: CIM_Container
LMI_BatteryPhysicalPackage REF PartComponent;
};
+[ Provider("cmpi:cmpiLMI_BatterySystemDevice"), Association ]
+class LMI_BatterySystemDevice: CIM_SystemDevice
+{
+ [Override("GroupComponent")]
+ CIM_ComputerSystem REF GroupComponent;
+
+ [Override("PartComponent")]
+ LMI_Battery REF PartComponent;
+};
+
/******************************************************************************
* PCI Devices
*/
@@ -368,3 +408,13 @@ class LMI_PCIDevice: CIM_PCIDevice
[ Description("Name of the subsystem") ]
string SubsystemName;
};
+
+[ Provider("cmpi:cmpiLMI_PCIDeviceSystemDevice"), Association ]
+class LMI_PCIDeviceSystemDevice: CIM_SystemDevice
+{
+ [Override("GroupComponent")]
+ CIM_ComputerSystem REF GroupComponent;
+
+ [Override("PartComponent")]
+ LMI_PCIDevice REF PartComponent;
+};