summaryrefslogtreecommitdiffstats
path: root/mof
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2013-02-13 15:26:15 +0100
committerJan Synacek <jsynacek@redhat.com>2013-02-14 16:00:03 +0100
commit806c9b45edf41d54c6673fc04a6e0c06e92af101 (patch)
tree0b8ca6808a9d7b2889ab374d8f7dc5abbef61b25 /mof
parent1295eb25a2679aa41acc57b959d7126c707e1129 (diff)
downloadopenlmi-providers-806c9b45edf41d54c6673fc04a6e0c06e92af101.tar.gz
openlmi-providers-806c9b45edf41d54c6673fc04a6e0c06e92af101.tar.xz
openlmi-providers-806c9b45edf41d54c6673fc04a6e0c06e92af101.zip
LogicalFile: add socket file type and root directory association
Add LMI_UnixSocket and LMI_RootDirectory association. LMI_RootDirectory associates the root directory with the computer system on which it resides.
Diffstat (limited to 'mof')
-rw-r--r--mof/LMI_LogicalFile.mof18
1 files changed, 18 insertions, 0 deletions
diff --git a/mof/LMI_LogicalFile.mof b/mof/LMI_LogicalFile.mof
index fa3bebc..6c38091 100644
--- a/mof/LMI_LogicalFile.mof
+++ b/mof/LMI_LogicalFile.mof
@@ -43,6 +43,10 @@ class LMI_SymbolicLink : CIM_SymbolicLink
{
};
+class LMI_UnixSocket : CIM_DataFile
+{
+};
+
class LMI_FileIdentity : CIM_FileIdentity
{
};
@@ -50,3 +54,17 @@ class LMI_FileIdentity : CIM_FileIdentity
class LMI_DirectoryContainsFile : CIM_DirectoryContainsFile
{
};
+
+[ Association,
+ Provider("cmpi:cmpiLMI_LogicalFile") ]
+class LMI_RootDirectory: CIM_Component
+{
+ [ Override("GroupComponent"), Min(1), Max(1),
+ Description("The hosting System.") ]
+ CIM_ComputerSystem REF GroupComponent;
+
+ [ Override("PartComponent"), Min(1), Max(1),
+ Description("The root directory on the System") ]
+ LMI_UnixDirectory REF PartComponent;
+};
+/* vi: set et: */