// Copyright (c) 2013 DMTF. All rights reserved. [Experimental, Version ( "2.42.0" ), UMLPackagePath ( "CIM::Device::Tape" ), Description ( "This service allows the active management of a Partition " "Library System for the creation, modification, and deletion of " "library partitions." )] class CIM_PartitionedLibrarySystemConfigurationService : CIM_Service { [Experimental, Description ( "Create a partition. If the operation completes " "successfully, it will return 0. This method MUST return " "a CIM_Error representing that a single named property of " "a setting reference parameter has an invalid value or " "that an invalid combination of named properties of a " "setting (or other) parameter (either reference or " "embedded object) has been requested. \n" "The parameter ThePartition will contain a Reference to " "the partition CIM_ComputerSystem if this operation " "completed successfully. \n" "The desired settings for the partition are specified by " "the PartitionSetting reference parameter." ), ValueMap { "0", "1", "2", "3", "4", "5", "..", "4098..32767", "32768..65535" }, Values { "No Error", "Not Supported", "Unknown", "Timeout", "Failed", "Invalid Parameter", "DMTF Reserved", "Method Reserved", "Vendor Specific" }] uint32 CreatePartition( [IN, Description ( "The requirements for the partition element to " "maintain. This is a reference to a " "CIM_PartitionedLibrarySetting or a derived class " "instance parameter; this allows the client to " "specify the properties desired for the virtual " "tape library. When the partition is created " "successfully, this settingobject is attached to " "the partition CIM_ComputerSystem object." )] CIM_PartitionedLibrarySetting REF PartitionSetting, [IN ( false ), OUT, Description ( "The newly created partition CIM_CompuyerSystem object." )] CIM_ComputerSystem REF ThePartition); [Experimental, Description ( "Create a number of partitions letting the system " "dividethe resources. If the operation completes " "successfully, it will return 0. This method MUST return " "a CIM_Error representing that a single named property of " "a setting reference parameter has an invalid value or " "that an invalid combination of named properties of a " "setting (or other) parameter (either reference or " "embedded object) has been requested. \n" "The parameter ThePartition will contain a Reference to " "the partition CIM_ComputerSystem if this operation " "completed successfully. \n" "The desired settings for the partition are specified by " "the PartitionSetting reference parameter." ), ValueMap { "0", "1", "2", "3", "4", "5", "..", "4098..32767", "32768..65535" }, Values { "No Error", "Not Supported", "Unknown", "Timeout", "Failed", "Invalid Parameter", "DMTF Reserved", "Method Reserved", "Vendor Specific" }] uint32 CreatePartitionAuto( [IN, Description ( "The number of partitions to create." )] uint16 NumberOfPartitions); [Experimental, Description ( "Modify a previously created partition. If the operation " "completes successfully, it will return 0. This method " "MUST return a CIM_Error representing that a single named " "property of a setting (or other) parameter (either " "reference or embedded object) has an invalid value or " "that an invalid combination of named properties of a " "setting (or other) parameter (either reference or " "embedded object) has been requested. \n" "The parameter PartitionSetting specifies the setting to " "be modified. This element MUST be associated via " "ElementSettingData with a partition CIM_ComputerSystem." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "..", "4098..32767", "32768..65535" }, Values { "No Error", "Not Supported", "Unknown", "Timeout", "Failed", "Invalid Parameter", "VTL In Use, cannot Modify", "Cannot satisfy new Goal.", "DMTF Reserved", "Method Reserved", "Vendor Specific" }] uint32 ModifyPartition( [IN, Description ( "A reference to the PartitionedLibrarySetting " "object that containsthe Modify property parameter " "populated with a list of properties to be " "modified." )] CIM_PartitionedLibrarySetting REF PartitionSetting); [Experimental, Description ( "Delete a partition. If the method completed successfully " "it will return 0." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096..32767", "32768.." }, Values { "Job Completed with No Error", "Not Supported", "Unknown", "Timeout", "Failed, Unspecified Reasons", "Invalid Parameter", "Partition in use, Failed", "DMTF Reserved", "Method Reserved", "Vendor Specific" }] uint32 DeletePartition( [IN, Description ( "An element or association that uniquely identifies " "the partition to be deleted." )] CIM_ComputerSystem REF ThePartition); [Experimental, Description ( "Activate a partition. If the method completed " "successfully it will return 0." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096..32767", "32768.." }, Values { "Job Completed with No Error", "Not Supported", "Unknown", "Timeout", "Failed, Unspecified Reasons", "Invalid Parameter", "Partition in use, Failed", "DMTF Reserved", "Method Reserved", "Vendor Specific" }] uint32 ActivatePartition( [IN, Description ( "An element or association that uniquely identifies " "the partition to be activated." )] CIM_ComputerSystem REF ThePartition); [Experimental, Description ( "Deactivate a partition. If the method completed " "successfully it will return 0." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096..32767", "32768.." }, Values { "Job Completed with No Error", "Not Supported", "Unknown", "Timeout", "Failed, Unspecified Reasons", "Invalid Parameter", "Partition in use, Failed", "DMTF Reserved", "Method Reserved", "Vendor Specific" }] uint32 DeactivatePartition( [IN, Description ( "An element or association that uniquely identifies " "the partition to be deactivated." )] CIM_ComputerSystem REF ThePartition); [Experimental, Description ( "Activate the entire library. In some partitioned " "libraries you must first define all paritions of the " "library and then activate all partitions at-once using " "this method. If successfull this method will return 0." ), ValueMap { "0", "1", "2", "3", "4", "5", "..", "4096..32767", "32768.." }, Values { "Job Completed with No Error", "Not Supported", "Unknown", "Timeout", "Failed, Unspecified Reasons", "Failed, Library Busy", "DMTF Reserved", "Method Reserved", "Vendor Specific" }] uint32 ActivateLibrary( ); [Experimental, Description ( "Deactivate the entire library. In some partitioned " "libraries you must first deactivate the entire library " "and then modify any or all of the partitions using this " "method. If successfull this method will return 0." ), ValueMap { "0", "1", "2", "3", "4", "5", "..", "4096..32767", "32768.." }, Values { "Job Completed with No Error", "Not Supported", "Unknown", "Timeout", "Failed, Unspecified Reasons", "Failed, Library Busy", "DMTF Reserved", "Method Reserved", "Vendor Specific" }] uint32 DeactivateLibrary( ); };