diff options
author | Peter Schiffer <pschiffe@redhat.com> | 2013-06-27 11:54:39 +0200 |
---|---|---|
committer | Peter Schiffer <pschiffe@redhat.com> | 2013-06-27 11:54:39 +0200 |
commit | c6d97a2d474ba80e6c7449f5127635f8f5663830 (patch) | |
tree | 1ac3e6abb0d5d80efdabd7e3274acf4a0b468604 /mof | |
parent | e7cee30c0f2ff6a63e78c48e6b56755c84a96788 (diff) | |
download | openlmi-providers-c6d97a2d474ba80e6c7449f5127635f8f5663830.tar.gz openlmi-providers-c6d97a2d474ba80e6c7449f5127635f8f5663830.tar.xz openlmi-providers-c6d97a2d474ba80e6c7449f5127635f8f5663830.zip |
Hardware: Added battery providers
New providers:
* LMI_BatteryProvider
* LMI_BatteryPhysicalPackageProvider
* LMI_PhysicalBatteryContainerProvider
* LMI_PhysicalBatteryRealizesProvider
Diffstat (limited to 'mof')
-rw-r--r-- | mof/60_LMI_Hardware.mof | 34 |
1 files changed, 34 insertions, 0 deletions
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 @@ -316,6 +316,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 */ |