summaryrefslogtreecommitdiffstats
path: root/mof
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2013-08-14 09:57:10 +0200
committerJan Safranek <jsafrane@redhat.com>2013-08-15 13:04:51 +0200
commit2a68a8e828a7f4895fa9895c024636b1685d80e5 (patch)
tree0f44e5626a2b0d43dc4720d31f3041f23f65ccbe /mof
parentdcc17880b9985476673ee2c32d15745f1d32998b (diff)
downloadopenlmi-providers-2a68a8e828a7f4895fa9895c024636b1685d80e5.tar.gz
openlmi-providers-2a68a8e828a7f4895fa9895c024636b1685d80e5.tar.xz
openlmi-providers-2a68a8e828a7f4895fa9895c024636b1685d80e5.zip
Fixed registration of __MethodParameters classes - they are for Pegasus only.
SFCB does not like the initial underscore charactes, which violate MOF syntax. As consequence, the __MethodParameters classes are now in separate MOF file.
Diffstat (limited to 'mof')
-rw-r--r--mof/60_LMI_Software.mof61
-rw-r--r--mof/60_LMI_Software_MethodParameters.mof83
2 files changed, 83 insertions, 61 deletions
diff --git a/mof/60_LMI_Software.mof b/mof/60_LMI_Software.mof
index 5676632..bb02e3f 100644
--- a/mof/60_LMI_Software.mof
+++ b/mof/60_LMI_Software.mof
@@ -980,64 +980,3 @@ 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[];
- */
-};
diff --git a/mof/60_LMI_Software_MethodParameters.mof b/mof/60_LMI_Software_MethodParameters.mof
new file mode 100644
index 0000000..b01349e
--- /dev/null
+++ b/mof/60_LMI_Software_MethodParameters.mof
@@ -0,0 +1,83 @@
+/*
+ * Copyright (C) 2013 Red Hat, Inc. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Authors: Michal Minar <miminar@redhat.com>
+ * Jan Safranek <jsafrane@redhat.com>
+ */
+
+#pragma locale ("en_US")
+
+/******************************************************************************
+ * 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[];
+ */
+};