[REVIEW v3] Storage mounting API

Jan Safranek jsafrane at redhat.com
Tue Mar 19 09:51:51 UTC 2013


On 03/19/2013 10:38 AM, Jan Synacek wrote:
>>> [ Association ]
>>> >> class MountPoint: CIM_Dependency
>>> >> {
>>> >>     [ Override("Antecedent"), Description (
>>> >>         "MountedFileSystem reference." ) ]
>>> >>     CIM_ManagedElement REF MountedSystem;
>>> >>
>>> >>     [ Override("Dependent"), Description (
>>> >>         "CIM_Directory reference." ) ]
>>> >>     CIM_Directory REF Directory;
>> > 
>> > Is this class really a dependency? Does Directory depend on
>> > MountedFileSystem?
> In a sense, yes, mounted filesystem 'depends' on a directory where it's mounted.
> I just wanted to plug the association classes into the CIM model and
> CIM_Dependency seemed just about right. Quoting the specification:

But you have it a vice versa, directory depends on mount.

Antecedent: MountedSystem
Dependent: Directory

Jan



More information about the openlmi-devel mailing list