// Copyright (c) 2013 DMTF. All rights reserved. [Experimental, Version ( "2.42.0" ), UMLPackagePath ( "CIM::Device::Tape" ), Description ( "PartitionedLibrarySetting is the partition parameters." )] class CIM_PartitionedLibrarySetting : CIM_SettingData { [Description ( "The name assigned to this library partition." )] string LibraryName; [Description ( "The type of the physical library this partition is " "emulating. This is given as input when creating this " "partition. This string is vendor specific. A vendor may " "support emulating multiple physical library types as " "listed in the capabilities." ), ModelCorrespondence { "CIM_PartitionedLibrarySystemCapabilities.LibraryTypesSupported" }] string LibraryType; [Description ( "Supported Types of media within a single Partition." )] string SupportedMediaTypes[]; [Description ( "The method to use to create a partition. An array of " "allowed methods supported by the Partitioned Library can " "be obtained in the capabilities." ), ValueMap { "2", "3", "4", "5", "6..32767", "32768..65535" }, Values { "Auto", "Simple", "Slot", "VolSer", "DMTF Reserved", "Vendor Reserved" }, ModelCorrespondence { "CIM_PartitionedLibrarySystemCapabilities.PartitionMethodsSupported" }] uint16 PartitionMethod; [Description ( "The capacity of this library partition in number of " "slots. The number specified here should not exceed the " "maximum number of slots specified in capabilities. This " "value can be null or zero if setting this property is " "not applicable to the chosen PartitionMethod. This is a " "partition slot count and may not be the physical slot " "count. This property is applicable to Simple and VolSer " "partitioning method." )] uint32 SlotCount; [Description ( "Number of tape drives assigned to this partiion. This " "value can be null or zero if setting this property is " "not applicable to the chosen PartitionMethod. This " "property is applicable to Simple partitioning method." )] uint32 DriveCount; [Description ( "In Slot-based or VolSer-based partitioning, a range of " "addresses are given as input for creating a partition. " "For Slot-based partitioning a range of storage media " "location addresses are given. For VolSer-based " "partitioning, a range of cartridge volume serial numbers " "are given to assign to a partition. Also for " "VolSer-based partitioning, a rane of storage media " "locations that contain the drive are given for assigning " "drives to a partition. This property array gives the " "starting addresses of the ranges. These values coupled " "with the RangeEndAddress values at the same index " "provide the ranges necessary to create a partition. For " "other types of PartitionMethod, this property can be " "null." ), ArrayType ( "Indexed" ), ModelCorrespondence { "CIM_PartitionedLibrarySetting.RangeEndAddresses" }] string RangeStartAddresses[]; [Description ( "In Slot-based or VolSer-based partitioning, a range of " "addresses are given as input for creating a partition. " "For Slot-based partitioning a range of storage media " "location element addresses are given. For VolSer-based " "partitioning, a range of cartridge volume serial numbers " "are given. This property array gives the ending " "addresses of the ranges. These values coupled with the " "RangeStartAddresses a the same index provide the ranges " "necessary to create a partition. For other types of " "PartitionMethod, this property can be null." ), ArrayType ( "Indexed" ), ModelCorrespondence { "CIM_PartitionedLibrarySetting.RangeStartAddresses" }] string RangeEndAddresses[]; [Description ( "Enumeration indicating the range type for each of the " "given ranges. For Slot-based partitioning, only storage " "media location addresses are give. For VolSer based " "partitioning a combination of storage media location " "address ranges and VolSer ranges can be given." ), ValueMap { "2", "3", "4..32767", "32768..65535" }, Values { "Slot", "VolSer", "DMTF Reserved", "Vendor Reserved" }, ArrayType ( "Indexed" )] uint16 RangeType[]; };