summaryrefslogtreecommitdiffstats
path: root/mof/LMI_Yum.mof
diff options
context:
space:
mode:
Diffstat (limited to 'mof/LMI_Yum.mof')
-rw-r--r--mof/LMI_Yum.mof30
1 files changed, 16 insertions, 14 deletions
diff --git a/mof/LMI_Yum.mof b/mof/LMI_Yum.mof
index bdc2a9e..9e821f2 100644
--- a/mof/LMI_Yum.mof
+++ b/mof/LMI_Yum.mof
@@ -402,17 +402,17 @@ class LMI_YumFileCheck : CIM_FileSpecification {
"Absolute path of file being checked.") ]
String Name;
- [ Key, Description (
+ [ Description (
"Composition of RPM's name and absolute file path."
" It's format is \"rpm_name#path\"") ]
String CheckID;
- [ Key, MaxLen(256), Description (
+ [ Override("SoftwareElementID"), Description (
"RPM's nevra. This means: "
"\"name-epoch:version-release.architecture\".") ]
String SoftwareElementID;
- [ Key, MaxLen(256), Description (
+ [ Override("Version"), Description (
"Version of packaged software as listed by RPM package.") ]
String Version;
@@ -420,9 +420,11 @@ class LMI_YumFileCheck : CIM_FileSpecification {
"True, if file is present in file system.")]
Boolean FileExists;
- [ Description("Size of installed file in Bytes.") ]
+ [ Override("FileSize"),
+ Description("Size of installed file in Bytes.") ]
uint64 FileSize;
- [ Description("File size in Bytes from RPM database.") ]
+ [ Units("KiloBytes"),
+ Description("File size in Bytes from RPM database.") ]
uint64 ExpectedFileSize;
[ Description("File mode of installed file as a number.") ]
@@ -459,7 +461,8 @@ class LMI_YumFileCheck : CIM_FileSpecification {
} ]
Uint8 ExpectedFileModeFlags[];
- [ Description("MD5 checksum of installed file.") ]
+ [ Override("MD5Checksum"),
+ Description("MD5 checksum of installed file.") ]
String MD5Checksum;
[ Description("Checksum of installed file."
" Hash algorithm used can be obtained with ChecksumType property.") ]
@@ -537,15 +540,14 @@ class LMI_YumFileCheck : CIM_FileSpecification {
[ Association ]
class LMI_YumInstalledPackage : CIM_InstalledSoftwareElement {
- [ Key, Description (
+ [ Override("Software"), Weak, Description (
"Reference to the installed RPM package.")]
LMI_YumPackage REF Software;
- [ Key, Max(1),
- Description (
+ [ Override("System"), Min(1), Description (
"Reference to the ComputerSystem hosting a particular"
" RPM package.")]
- LMI_ComputerSystem REF System;
+ CIM_ComputerSystem REF System;
[ Description (
"Updates the package to latest version."
@@ -593,14 +595,14 @@ class LMI_YumInstalledPackage : CIM_InstalledSoftwareElement {
};
-[ Association ]
+[ Association, Aggregation ]
class LMI_YumPackageFile : CIM_SoftwareElementChecks {
- [ Key, Aggregate, Min(1), Max(1),
- Description ("The RPM package being checked")]
+ [ Override("Element"), Description("The RPM package being checked") ]
LMI_YumPackage REF Element;
- [ Key, Weak, Description("The Check for the element.") ]
+ [ Override("Check"), Description("The Check for the element.") ]
LMI_YumFileCheck REF Check;
+
};