HP StoreEver ESL G3 Tape Libraries User Manual
Page 39

xmlns:ns2="http://automatedMediaLibrary/">
<segment>
<coordinate>
<frame>1</frame>
<rack>1</rack>
<section>1</section>
<column>1</column>
<row>1</row>
<type>4</type>
</coordinate>
</segment>
</ns2:segmentList>
Method
PUT
Description
Reconfigure the partition whose name is given by the URI
path template “name” with the new segmentList request
data. The segmentList can contain storage, drive, ie and
extended ie segments. The segmentList can contain segments
that currently belong to the partition or available (non
allocated) segments. You cannot assign segments that are
currently owned by another partition.
The example below reconfigures a partition with one drive
and 3 storage segments (18 slots).
Media Type
Request: application/xml and application/json
Response: application/xml and application/json
Parameters
N/A
Response Code
200, 401, 403, 404, and 500
XML Request Data
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
<ns2:segmentList
xmlns:ns2="http://automatedMediaLibrary/">
<segment>
<coordinate>
<frame>1</frame>
<rack>1</rack>
<section>9</section>
<column>1</column>
<row>1</row>
<type>4</type>
</coordinate>
<size>1</size>
<configuredType>0</configuredType>
</segment>
<segment>
<coordinate>
<frame>0</frame>
<rack>1</rack>
<section>1</section>
<column>4</column>
<row>1</row>
<type>2</type>
</coordinate>
<size>6</size>
<configuredType>0</configuredType>
</segment>
<segment>
<coordinate>
<frame>0</frame>
<rack>1</rack>
URI: aml/partition/{name}/segments
39