From c6d97a2d474ba80e6c7449f5127635f8f5663830 Mon Sep 17 00:00:00 2001 From: Peter Schiffer Date: Thu, 27 Jun 2013 11:54:39 +0200 Subject: Hardware: Added battery providers New providers: * LMI_BatteryProvider * LMI_BatteryPhysicalPackageProvider * LMI_PhysicalBatteryContainerProvider * LMI_PhysicalBatteryRealizesProvider --- mof/60_LMI_Hardware.mof | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'mof') diff --git a/mof/60_LMI_Hardware.mof b/mof/60_LMI_Hardware.mof index e22da2c..41e80b8 100644 --- a/mof/60_LMI_Hardware.mof +++ b/mof/60_LMI_Hardware.mof @@ -315,6 +315,40 @@ class LMI_PointingDevice: CIM_PointingDevice { }; +/****************************************************************************** + * Battery + */ + +[ Provider("cmpi:cmpiLMI_Battery") ] +class LMI_Battery: CIM_Battery +{ +}; + +[ Provider("cmpi:cmpiLMI_BatteryPhysicalPackage") ] +class LMI_BatteryPhysicalPackage: CIM_PhysicalPackage +{ +}; + +[ Provider("cmpi:cmpiLMI_PhysicalBatteryRealizes"), Association ] +class LMI_PhysicalBatteryRealizes: CIM_Realizes +{ + [Override("Antecedent")] + LMI_BatteryPhysicalPackage REF Antecedent; + + [Override("Dependent")] + LMI_Battery REF Dependent; +}; + +[ Provider("cmpi:cmpiLMI_PhysicalBatteryContainer"), Association ] +class LMI_PhysicalBatteryContainer: CIM_Container +{ + [Override("GroupComponent")] + LMI_Chassis REF GroupComponent; + + [Override("PartComponent")] + LMI_BatteryPhysicalPackage REF PartComponent; +}; + /****************************************************************************** * PCI Devices */ -- cgit