summaryrefslogtreecommitdiffstats
path: root/Schemas/CIM228/DMTF/Device/CIM_SharingDependency.mof
diff options
context:
space:
mode:
Diffstat (limited to 'Schemas/CIM228/DMTF/Device/CIM_SharingDependency.mof')
-rw-r--r--Schemas/CIM228/DMTF/Device/CIM_SharingDependency.mof81
1 files changed, 81 insertions, 0 deletions
diff --git a/Schemas/CIM228/DMTF/Device/CIM_SharingDependency.mof b/Schemas/CIM228/DMTF/Device/CIM_SharingDependency.mof
new file mode 100644
index 0000000..5a58963
--- /dev/null
+++ b/Schemas/CIM228/DMTF/Device/CIM_SharingDependency.mof
@@ -0,0 +1,81 @@
+// Copyright (c) 2009 DMTF. All rights reserved.
+ [Association, Version ( "2.22.0" ),
+ UMLPackagePath ( "CIM::Device::SCSI" ),
+ Description (
+ "In some configurations, a logical device may be shared among "
+ "multiple systems while only belonging to one. When modeling "
+ "this sharing relationship, one instance of LogicalDevice "
+ "exists to model the resource. This instance is associated with "
+ "the owning system via the SystemDevice association. An "
+ "additional instance of LogicalDevice will exist for each "
+ "system the device is shared with to represent the device in "
+ "the context of each System it is shared with. Each of these "
+ "instances is associated with a single instance of System via "
+ "an instance of the SystemDevice association. This is very "
+ "similar to the way that virtual devices are modeled. However, "
+ "there are additional semantics associated with shared devices "
+ "that need to be modeled, including the current access of a "
+ "sharing system to the shared device. The SharingDependency "
+ "association will be used to add support for modeling this "
+ "additional semantic. It is used to associate a LogicalDevice "
+ "instance in the sharing system to the LogicalDevice "
+ "representing the underlying shared resource." )]
+class CIM_SharingDependency : CIM_HostedDependency {
+
+ [Override ( "Antecedent" ),
+ Max ( 1 ),
+ Description ( "The shared LogicalDevice." )]
+ CIM_LogicalDevice REF Antecedent;
+
+ [Override ( "Dependent" ),
+ Description (
+ "The LogicalDevice owned by the sharing System." )]
+ CIM_LogicalDevice REF Dependent;
+
+ [Description (
+ "CurrentAccess describes the current ability of the "
+ "System owning the Dependent LogicalDevice to access the "
+ "shared device. This property does not model whether or "
+ "not the referenced System is authorized to utilize the "
+ "shared resource. It is intended to model the current "
+ "sharing relationship the system has to the device. "
+ "Authorization for a user or service running within the "
+ "system would be modeled identical to if the resource was "
+ "owned exclusively by the system. However, the ability of "
+ "an authorized user to utilize a shared resource is "
+ "contingent on the System having access to the shared "
+ "resource. \n"
+ "Unknown (0) indicates that the current access of the "
+ "System to the shared resource is unknown \n"
+ "No Access (1) indicates that the System currently does "
+ "not have access to the shared resource \n"
+ "Exclusive Access (2) indicates that the System has "
+ "exclusive access to the shared resource. The resource is "
+ "effectively locked. Granting another System access to "
+ "the shared resource will cause this system to lose "
+ "access. \n"
+ "Shared Read (3) indicates that the System is accessing "
+ "the resource in a read only mode. Other Systems can have "
+ "concurrent access to the device of type \"Shared Read\" "
+ "or \"Shared Full\" \n"
+ "Shared Full (4) indicates that the System is accessing "
+ "the resource in read/write mode. Other Systems can have "
+ "concurrent access to the device of type \"Shared Read\" "
+ "or \"Shared Full\"." ),
+ ValueMap { "0", "1", "2", "3", "4", "5", "..", "32768..65535" },
+ Values { "Unknown", "Other", "No Access", "Exclusive Access",
+ "Shared Read", "Shared Full", "DMTF Reserved",
+ "Vendor Reserved" },
+ ModelCorrespondence {
+ "CIM_SharingDependency.OtherCurrentAccess",
+ "CIM_DeviceSharingCapabilities.SupportedAccessModes" }]
+ uint16 CurrentAccess;
+
+ [Description (
+ "A string value describing CurrentAccess when it has a "
+ "value of \"1 (Other)\"." ),
+ ModelCorrespondence { "CIM_SharingDependency.CurrentAccess" }]
+ string OtherCurrentAccess;
+
+
+};