summaryrefslogtreecommitdiffstats
path: root/mof
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-03-26 10:54:27 +0100
committerMichal Minar <miminar@redhat.com>2013-03-26 12:14:58 +0100
commit21c2aff50feab6e7c043f0166826ba9df070dfe2 (patch)
treed970e1f180edbd0a00814a85db9243b6c4d14c7b /mof
parentceb48290224437c726f98461d6a1d81e2bf952ea (diff)
downloadopenlmi-providers-21c2aff50feab6e7c043f0166826ba9df070dfe2.tar.gz
openlmi-providers-21c2aff50feab6e7c043f0166826ba9df070dfe2.tar.xz
openlmi-providers-21c2aff50feab6e7c043f0166826ba9df070dfe2.zip
added association provider
added provider: * LMI_SoftwareInstallationServiceAffectsElement associating SoftwareInstallationService to Linux_ComputerSystem and SoftwareIdentity
Diffstat (limited to 'mof')
-rw-r--r--mof/LMI_Software.mof15
-rw-r--r--mof/LMI_Software.reg6
2 files changed, 21 insertions, 0 deletions
diff --git a/mof/LMI_Software.mof b/mof/LMI_Software.mof
index f00c4af..824659e 100644
--- a/mof/LMI_Software.mof
+++ b/mof/LMI_Software.mof
@@ -602,6 +602,21 @@ class LMI_HostedSoftwareInstallationService : CIM_HostedService {
};
+[Association]
+class LMI_SoftwareInstallationServiceAffectsElement :
+ CIM_ServiceAffectsElement {
+
+ [Override("AffectingElement")]
+ LMI_SoftwareInstallationService REF AffectingElement;
+
+ [Implemented(true), Override("ElementEffects")]
+ uint16 ElementEffects[];
+
+ [Implemented(true), Override("OtherElementEffectsDescriptions")]
+ string OtherElementEffectsDescriptions[];
+
+};
+
class LMI_SoftwareInstallationJob : LMI_ConcreteJob {
[Implemented(true), Override("InstanceID")]
diff --git a/mof/LMI_Software.reg b/mof/LMI_Software.reg
index 3491b2a..d8e05ee 100644
--- a/mof/LMI_Software.reg
+++ b/mof/LMI_Software.reg
@@ -70,6 +70,12 @@
type: instance association
namespace: root/cimv2
+[LMI_SoftwareInstallationServiceAffectsElement]
+ provider: /usr/lib/python2.7/site-packages/openlmi/software/cimom_entry.py
+ location: pyCmpiProvider
+ type: instance association
+ namespace: root/cimv2
+
[LMI_SoftwareInstallationJob]
provider: /usr/lib/python2.7/site-packages/openlmi/software/cimom_entry.py
location: pyCmpiProvider