diff options
author | Peter Schiffer <pschiffe@redhat.com> | 2013-04-10 17:48:05 +0200 |
---|---|---|
committer | Peter Schiffer <pschiffe@redhat.com> | 2013-04-10 18:00:05 +0200 |
commit | e396c654923edb1ad990246a48543324404241ab (patch) | |
tree | 15da2a9c99a32df813489ccf66fdc43923384706 /mof | |
parent | 699a49933d2b2690888f719a447682d85c9942b0 (diff) | |
download | openlmi-providers-e396c654923edb1ad990246a48543324404241ab.tar.gz openlmi-providers-e396c654923edb1ad990246a48543324404241ab.tar.xz openlmi-providers-e396c654923edb1ad990246a48543324404241ab.zip |
Hardware: Added Processor Chip Provider
Added two new providers:
* LMI_ProcessorChipProvider
* LMI_ProcessorChipRealizesProvider
Other Changes:
* Added Association qualifier to the association classes in Hardware mof file
* Removed initialization for static strings used in snprintf() function
Diffstat (limited to 'mof')
-rw-r--r-- | mof/LMI_Hardware.mof | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/mof/LMI_Hardware.mof b/mof/LMI_Hardware.mof index cdc7147..0964291 100644 --- a/mof/LMI_Hardware.mof +++ b/mof/LMI_Hardware.mof @@ -118,7 +118,7 @@ class LMI_ProcessorCapabilities: CIM_ProcessorCapabilities { }; -[ Provider("cmpi:cmpiLMI_ProcessorElementCapabilities") ] +[ Provider("cmpi:cmpiLMI_ProcessorElementCapabilities"), Association ] class LMI_ProcessorElementCapabilities: CIM_ElementCapabilities { [Override("ManagedElement")] @@ -133,7 +133,7 @@ class LMI_ProcessorCacheMemory: CIM_Memory { }; -[ Provider("cmpi:cmpiLMI_AssociatedProcessorCacheMemory") ] +[ Provider("cmpi:cmpiLMI_AssociatedProcessorCacheMemory"), Association ] class LMI_AssociatedProcessorCacheMemory: CIM_AssociatedCacheMemory { [Override("Antecedent")] @@ -143,6 +143,21 @@ class LMI_AssociatedProcessorCacheMemory: CIM_AssociatedCacheMemory LMI_Processor REF Dependent; }; +[ Provider("cmpi:cmpiLMI_ProcessorChip") ] +class LMI_ProcessorChip: CIM_Chip +{ +}; + +[ Provider("cmpi:cmpiLMI_ProcessorChipRealizes"), Association ] +class LMI_ProcessorChipRealizes: CIM_Realizes +{ + [Override("Antecedent")] + LMI_ProcessorChip REF Antecedent; + + [Override("Dependent")] + LMI_Processor REF Dependent; +}; + [ Provider("cmpi:cmpiLMI_PCIDevice") ] class LMI_PCIDevice: CIM_PCIDevice { |