Web Services Interface Guide

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
134
13.8 Modify Partition
This method is used for modifying the changeable attributes of a partition.
Use the following algorithm to successfully modify an existing partition.
Enumerate the DCIM_PersistentStorageService class
Invoke ModifyPartition() method on the instance above with the following parameters:
PartitionIndex: The PartitionIndex property of the DCIM_OpaqueManagementData instance
that represents the partition to be modified
1 to 16
AccessType: The type of access level
Read-Only=1, Read-Write=3
The OUT parameter Job will refer to the instance of CIM_ConcreteJob using which the user can
query the status of the modification of the partition.
EXAMPLE:
wsman invoke -a ModifyPartition http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_PersistentStorageService
?SystemCreationClassName=DCIM_ComputerSystem,
CreationClassName=DCIM_PersistentStorageService,
SystemName=DCIM:ComputerSystem,Name=DCIM:PersistentStorageService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -J ModifyPartition.xml -j utf-8 y basic
The input file ModifyPartition.xml is shown below:
<p:ModifyPartition_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_PersistentStorageService">
<p:PartitionIndex>6</p:PartitionIndex>
<p:AccessType>3</p:AccessType>
</p:ModifyPartition_INPUT>
OUTPUT:
<n1:ModifyPartition_OUTPUT>
<n1:ReturnValue>2</n1:ReturnValue>
</n1:ModifyPartition_OUTPUT>
13.9 Attach Partition
This method is for defining the set of partitions to be exposed as Floppy/CD/HDD endpoints to the
managed system and BIOS.
Invoke AttachPartition() with the following parameters and syntax: