White Papers

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
131
-u $USERNAME -p $PASSWORD
-J CreatePartitionUsingImage.xml -j utf-8 -y basic
The input file CreatePartitionUsingImage.xml is shown below:
<p:CreatePartitionUsingImage_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_PersistentStorageService">
<p:PartitionIndex>1</p:PartitionIndex>
<p:PartitionType>2</p:PartitionType>
<p:OSVolumeLabel>label</p:OSVolumeLabel>
<p:URI>ftp://123.456.7.89/dir/filename.exe</p:URI>
<p:IPAddress>123.456.7.8</p:IPAddress>
<p:ShareType>3</p:ShareType>
<p:SharePath></p:SharePath>
<p:ImageName>imagename.iso</p:ImageName>
<p:Workgroup>workgroup</p:Workgroup>
<p:Username>Administrator</p:Username>
<p:Password>password</p:Password>
<p:Port></p:Port>
<p:HashType>1</p:HashType>
<p:HashValue>123</p:HashValue>
</p:CreatePartitionUsingImage_INPUT>
OUTPUT:
When this method is executed, a jobid or an error message is returned.
<n1:CreatePartitionUsingImage_OUTPUT>
<n1:Job>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
<wsa:ReferenceParameters>
<wsman:ResourceURI>http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_LifecycleJob</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name="InstanceID">JID_001300793471</wsman:Selector>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Selector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:Job>
<n1:ReturnValue>4096</n1:ReturnValue>
</n1:CreatePartitionUsingImage_OUTPUT>
13.6 Delete Partition
This method is for deleting a partition on a storage device. When this method is successfully executed,
the instance of DCIM_OpaqueManagementData representing the desired partition along with the