summaryrefslogtreecommitdiffstats
path: root/mof
diff options
context:
space:
mode:
authorPeter Schiffer <pschiffe@redhat.com>2013-04-23 15:46:11 +0200
committerPeter Schiffer <pschiffe@redhat.com>2013-04-23 15:46:11 +0200
commit6c60ed63585024726dd43e35130d6cf2679e16fc (patch)
tree13c68c0ce00f4b795c7cd4410da5eecb9e68a89d /mof
parent1e4187b50657065445a33148bfb2224005fb0dff (diff)
parente916644d46adf08f49a5bcb1158e4e11120b61cb (diff)
downloadopenlmi-providers-6c60ed63585024726dd43e35130d6cf2679e16fc.tar.gz
openlmi-providers-6c60ed63585024726dd43e35130d6cf2679e16fc.tar.xz
openlmi-providers-6c60ed63585024726dd43e35130d6cf2679e16fc.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providers
Diffstat (limited to 'mof')
-rw-r--r--mof/05_LMI_Qualifiers.mof (renamed from mof/LMI_Qualifiers.mof)0
-rw-r--r--mof/30_LMI_Jobs.mof (renamed from mof/LMI_Jobs.mof)28
-rw-r--r--mof/60_LMI_Account.mof (renamed from mof/LMI_Account.mof)0
-rw-r--r--mof/60_LMI_Fan.mof (renamed from mof/LMI_Fan.mof)0
-rw-r--r--mof/60_LMI_Hardware.mof (renamed from mof/LMI_Hardware.mof)0
-rw-r--r--mof/60_LMI_LogicalFile.mof (renamed from mof/LMI_LogicalFile.mof)0
-rw-r--r--mof/60_LMI_PowerManagement.mof (renamed from mof/LMI_PowerManagement.mof)0
-rw-r--r--mof/60_LMI_Service.mof (renamed from mof/LMI_Service.mof)0
-rw-r--r--mof/60_LMI_Software.mof (renamed from mof/LMI_Software.mof)0
-rw-r--r--mof/70_LMI_SoftwareIndicationFilters.mof (renamed from mof/LMI_SoftwareIndicationFilters.mof)0
-rw-r--r--mof/README28
11 files changed, 42 insertions, 14 deletions
diff --git a/mof/LMI_Qualifiers.mof b/mof/05_LMI_Qualifiers.mof
index d6b11ec..d6b11ec 100644
--- a/mof/LMI_Qualifiers.mof
+++ b/mof/05_LMI_Qualifiers.mof
diff --git a/mof/LMI_Jobs.mof b/mof/30_LMI_Jobs.mof
index b17e833..6c8ddd1 100644
--- a/mof/LMI_Jobs.mof
+++ b/mof/30_LMI_Jobs.mof
@@ -20,16 +20,17 @@
* Michal Minar <miminar@redhat.com
*/
-#pragma include ("LMI_Qualifiers.mof")
-
+[Association]
class LMI_AffectedJobElement : CIM_AffectedJobElement
{
};
+[Association]
class LMI_AssociatedJobMethodResult : CIM_AssociatedJobMethodResult
{
};
+[Association]
class LMI_OwningJobElement : CIM_OwningJobElement
{
};
@@ -38,7 +39,6 @@ class LMI_MethodResult : CIM_MethodResult
{
};
-
class LMI_ConcreteJob : CIM_ConcreteJob
{
[ Implemented(true), Override("DeleteOnCompletion") ]
@@ -67,27 +67,27 @@ class LMI_ConcreteJob : CIM_ConcreteJob
[ Implemented(true), Override("GetError"),
Deprecated{"CIM_ConcreteJob.GetErrors"} ]
uint32 GetError(
- [OUT, Description (
+ [OUT, Description (
"If the OperationalStatus on the Job is not \"OK\", "
"then this method will return a CIM Error instance. "
"Otherwise, when the Job is \"OK\", null is "
- "returned." ),
+ "returned." ),
EmbeddedInstance ( "CIM_Error" )]
string Error);
[Implemented(true), Override("GetErrors")]
uint32 GetErrors(
- [OUT, Description (
+ [OUT, Description (
"If the OperationalStatus on the Job is not \"OK\", "
"then this method will return one or more CIM Error "
"instance(s). Otherwise, when the Job is \"OK\", "
- "null is returned." ),
+ "null is returned." ),
EmbeddedInstance ( "CIM_Error" )]
string Errors[]);
[Implemented(true), Override("RequestStateChange")]
uint32 RequestStateChange(
- [IN, Description (
+ [IN, Description (
"RequestStateChange changes the state of a job. The "
"possible values are as follows: \n"
"Start (2) changes the state to \'Running\'. \n"
@@ -103,13 +103,13 @@ class LMI_ConcreteJob : CIM_ConcreteJob
"requirement to save data or preserve the state. \n"
"Service (6) puts the job into a vendor-specific "
"service state. It might be possible to restart the "
- "job." ),
- ValueMap { "2", "3", "4", "5", "6", "7..32767",
- "32768..65535" },
- Values { "Start", "Suspend", "Terminate", "Kill",
+ "job." ),
+ ValueMap { "2", "3", "4", "5", "6", "7..32767",
+ "32768..65535" },
+ Values { "Start", "Suspend", "Terminate", "Kill",
"Service", "DMTF Reserved", "Vendor Reserved" }]
- uint16 RequestedState,
- [IN, Description (
+ uint16 RequestedState,
+ [IN, Description (
"A timeout period that specifies the maximum amount "
"of time that the client expects the transition to "
"the new state to take. The interval format must be "
diff --git a/mof/LMI_Account.mof b/mof/60_LMI_Account.mof
index d79db35..d79db35 100644
--- a/mof/LMI_Account.mof
+++ b/mof/60_LMI_Account.mof
diff --git a/mof/LMI_Fan.mof b/mof/60_LMI_Fan.mof
index 3c964cf..3c964cf 100644
--- a/mof/LMI_Fan.mof
+++ b/mof/60_LMI_Fan.mof
diff --git a/mof/LMI_Hardware.mof b/mof/60_LMI_Hardware.mof
index 63c1a74..63c1a74 100644
--- a/mof/LMI_Hardware.mof
+++ b/mof/60_LMI_Hardware.mof
diff --git a/mof/LMI_LogicalFile.mof b/mof/60_LMI_LogicalFile.mof
index 7ae2e82..7ae2e82 100644
--- a/mof/LMI_LogicalFile.mof
+++ b/mof/60_LMI_LogicalFile.mof
diff --git a/mof/LMI_PowerManagement.mof b/mof/60_LMI_PowerManagement.mof
index c285f79..c285f79 100644
--- a/mof/LMI_PowerManagement.mof
+++ b/mof/60_LMI_PowerManagement.mof
diff --git a/mof/LMI_Service.mof b/mof/60_LMI_Service.mof
index d6c3715..d6c3715 100644
--- a/mof/LMI_Service.mof
+++ b/mof/60_LMI_Service.mof
diff --git a/mof/LMI_Software.mof b/mof/60_LMI_Software.mof
index 9f2f2ce..9f2f2ce 100644
--- a/mof/LMI_Software.mof
+++ b/mof/60_LMI_Software.mof
diff --git a/mof/LMI_SoftwareIndicationFilters.mof b/mof/70_LMI_SoftwareIndicationFilters.mof
index e3af599..e3af599 100644
--- a/mof/LMI_SoftwareIndicationFilters.mof
+++ b/mof/70_LMI_SoftwareIndicationFilters.mof
diff --git a/mof/README b/mof/README
new file mode 100644
index 0000000..f942fe1
--- /dev/null
+++ b/mof/README
@@ -0,0 +1,28 @@
+This directory contains MOF and registration files for openlmi-providers.
+Registration files for c providers using KonkretCMPI are generated during
+build time from MOFs.
+
+Mof files are named according to this convetion:
+ <NN>_LMI_<Profile>.mof
+
+where <NN> is a string of two digits ensuring the correct order of
+their parsing by cimom tools like sfcbrepos [1]. Some mof files depend
+on others and thus need to be parsed after them.
+
+Here is a convention for choosing the right number:
+ 05 - 10
+ Qualifiers and other simple mofs without any dependencies on LMI or
+ anything outside of cim-schema (05_LMI_Qualifiers.mof). These are
+ shipped with openlmi-providers.
+ 20 - 40
+ Mofs with base classes for our providers (30_LMI_Jobs.mof). Also
+ shipped with openlmi-providers.
+ 50 - 80
+ Mofs of our profiles shipped in their own package
+ (60_LMI_Software.mof).
+
+Mof files containing static indication filters[2] referencing other LMI
+classes should have higher number than mof files containing them.
+
+[1] belongs to sblim-sfcb
+[2] for example 70_LMI_SoftwareIndicationFilters.mof