summaryrefslogtreecommitdiffstats
path: root/mof
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-08-06 16:23:13 +0200
committerMichal Minar <miminar@redhat.com>2013-08-08 12:53:21 +0200
commit2d69169f616a6ff029914f21fb5420631bf40171 (patch)
treede147ea9ba00c47a7bfb7e3432e5523d2daf4bd8 /mof
parentfc0036ab7df2d336d10d4f9ce3af2eb731f3a9c3 (diff)
downloadopenlmi-providers-2d69169f616a6ff029914f21fb5420631bf40171.tar.gz
openlmi-providers-2d69169f616a6ff029914f21fb5420631bf40171.tar.xz
openlmi-providers-2d69169f616a6ff029914f21fb5420631bf40171.zip
software: added classes for asynchronous methods
Pegasus does not support instances of unknown classes, that's why we need to define additional classes representing parameters of asynchronous methods. These will be used in LMI_ConcreteJob.JobOutParameters and CIM_InstMethodCall.MethodParameters properties.
Diffstat (limited to 'mof')
-rw-r--r--mof/60_LMI_Software.mof61
1 files changed, 61 insertions, 0 deletions
diff --git a/mof/60_LMI_Software.mof b/mof/60_LMI_Software.mof
index bb02e3f..5676632 100644
--- a/mof/60_LMI_Software.mof
+++ b/mof/60_LMI_Software.mof
@@ -980,3 +980,64 @@ class LMI_SoftwareIdentityChecks {
LMI_SoftwareIdentityFileCheck REF Check;
};
+
+/******************************************************************************
+ * Method result associations for asynchronous methods. They're are used in
+ * CIM_ConcreteJob.JobOutParameters and LMI_InstMethodCall.MethodParameters.
+ * In ideal world, they wouldn't be needed. Let's use them temporarily
+ * until pegasus supports instances of unknown classes.
+ ******************************************************************************/
+[Version("0.1.0"), Association]
+class __MethodParameters_InstallFromSoftwareIdentity {
+};
+
+[Version("0.1.0"), Association]
+class __MethodParameters_InstallFromURI {
+};
+
+[Version("0.1.0"), Association]
+class __MethodParameters_InstallFromByteStream {
+};
+
+[Version("0.1.0"), Association]
+class __MethodParameters_VerifyInstalledIdentity {
+};
+
+
+[Version("0.1.0"), Association]
+class __MethodParameters_InstallFromSoftwareIdentity_Result
+ : __MethodParameters_InstallFromSoftwareIdentity
+{
+ uint32 __ReturnValue;
+};
+
+[Version("0.1.0"), Association]
+class __MethodParameters_InstallFromURI_Result
+ : __MethodParameters_InstallFromURI
+{
+ uint32 __ReturnValue;
+};
+
+[Version("0.1.0"), Association]
+class __MethodParameters_InstallFromByteStream_Result
+ : __MethodParameters_InstallFromByteStream
+{
+ uint32 __ReturnValue;
+};
+
+[Version("0.1.0"), Association,
+Description("This class, representing results of"
+ " SoftwareInstallationService::VerifyInstalledIdentity() is missing"
+ " Failed property, which is an array of references to failed tests."
+ " These can be accessed through the LMI_AffectedSoftwareJobElement"
+ " association class between particular LMI_SoftwareVerificationJob"
+ " and LMI_SoftwareIdentityFileCheck.") ]
+class __MethodParameters_VerifyInstalledIdentity_Result
+ : __MethodParameters_VerifyInstalledIdentity
+{
+ uint32 __ReturnValue;
+ /*
+ Array of references can not be listed as a property of association class.
+ LMI_SoftwareIdentityFileCheck REF Failed[];
+ */
+};