summaryrefslogtreecommitdiffstats
path: root/mof/README
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-04-18 16:03:19 +0200
committerMichal Minar <miminar@redhat.com>2013-04-22 18:59:04 +0200
commitcb3913a5177f998acb503691fb1908f82c7f890b (patch)
tree819f60359938871c0e728432623ea4151f607d8f /mof/README
parent6c3ca07f99bb8eeb0ef8aae5d72682d2f860c2a1 (diff)
downloadopenlmi-providers-cb3913a5177f998acb503691fb1908f82c7f890b.tar.gz
openlmi-providers-cb3913a5177f998acb503691fb1908f82c7f890b.tar.xz
openlmi-providers-cb3913a5177f998acb503691fb1908f82c7f890b.zip
renamed mof files according to LMI convention
Mof files prefixed with digits ensuring their correct order of parsing upon their installation. This avoids problems with sfcbmof compiler, which can not handle dependent classes being parsed before their antecedents. Convention is specified in mof/README. Removed inclusion of LMI_Qualifiers in LMI_Jobs. LMI_Qualifiers should be registered in cimom instead of included in dependent mof files. This allows it to be used by any other providers simultaneously. Modified references to mof files in cmake build files.
Diffstat (limited to 'mof/README')
-rw-r--r--mof/README28
1 files changed, 28 insertions, 0 deletions
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