1 marek 1.1 // Copyright (c) 2009 DMTF. All rights reserved.
2 [Association, Version ( "2.22.0" ),
3 UMLPackagePath ( "CIM::Device::SCSI" ),
4 Description (
5 "In some configurations, a logical device may be shared among "
6 "multiple systems while only belonging to one. When modeling "
7 "this sharing relationship, one instance of LogicalDevice "
8 "exists to model the resource. This instance is associated with "
9 "the owning system via the SystemDevice association. An "
10 "additional instance of LogicalDevice will exist for each "
11 "system the device is shared with to represent the device in "
12 "the context of each System it is shared with. Each of these "
13 "instances is associated with a single instance of System via "
14 "an instance of the SystemDevice association. This is very "
15 "similar to the way that virtual devices are modeled. However, "
16 "there are additional semantics associated with shared devices "
17 "that need to be modeled, including the current access of a "
18 "sharing system to the shared device. The SharingDependency "
19 "association will be used to add support for modeling this "
20 "additional semantic. It is used to associate a LogicalDevice "
21 "instance in the sharing system to the LogicalDevice "
22 marek 1.1 "representing the underlying shared resource." )]
23 class CIM_SharingDependency : CIM_HostedDependency {
24
25 [Override ( "Antecedent" ),
26 Max ( 1 ),
27 Description ( "The shared LogicalDevice." )]
28 CIM_LogicalDevice REF Antecedent;
29
30 [Override ( "Dependent" ),
31 Description (
32 "The LogicalDevice owned by the sharing System." )]
33 CIM_LogicalDevice REF Dependent;
34
35 [Description (
36 "CurrentAccess describes the current ability of the "
37 "System owning the Dependent LogicalDevice to access the "
38 "shared device. This property does not model whether or "
39 "not the referenced System is authorized to utilize the "
40 "shared resource. It is intended to model the current "
41 "sharing relationship the system has to the device. "
42 "Authorization for a user or service running within the "
43 marek 1.1 "system would be modeled identical to if the resource was "
44 "owned exclusively by the system. However, the ability of "
45 "an authorized user to utilize a shared resource is "
46 "contingent on the System having access to the shared "
47 "resource. \n"
48 "Unknown (0) indicates that the current access of the "
49 "System to the shared resource is unknown \n"
50 "No Access (1) indicates that the System currently does "
51 "not have access to the shared resource \n"
52 "Exclusive Access (2) indicates that the System has "
53 "exclusive access to the shared resource. The resource is "
54 "effectively locked. Granting another System access to "
55 "the shared resource will cause this system to lose "
56 "access. \n"
57 "Shared Read (3) indicates that the System is accessing "
58 "the resource in a read only mode. Other Systems can have "
59 "concurrent access to the device of type \"Shared Read\" "
60 "or \"Shared Full\" \n"
61 "Shared Full (4) indicates that the System is accessing "
62 "the resource in read/write mode. Other Systems can have "
63 "concurrent access to the device of type \"Shared Read\" "
64 marek 1.1 "or \"Shared Full\"." ),
65 ValueMap { "0", "1", "2", "3", "4", "5", "..", "32768..65535" },
66 Values { "Unknown", "Other", "No Access", "Exclusive Access",
67 "Shared Read", "Shared Full", "DMTF Reserved",
68 "Vendor Reserved" },
69 ModelCorrespondence {
70 "CIM_SharingDependency.OtherCurrentAccess",
71 "CIM_DeviceSharingCapabilities.SupportedAccessModes" }]
72 uint16 CurrentAccess;
73
74 [Description (
75 "A string value describing CurrentAccess when it has a "
76 "value of \"1 (Other)\"." ),
77 ModelCorrespondence { "CIM_SharingDependency.CurrentAccess" }]
78 string OtherCurrentAccess;
79
80
81 };
|