Uri: aml/partitions – HP StoreEver ESL G3 Tape Libraries User Manual
Page 40
0
XML Response
See
“URI: aml/partition/{name}/segments” (page 82)
for
the XML Response code.
URI: aml/partitions
Method
GET
Description
Retrieve all partition resource instances configure on the library.
Media Type
Request: text/plain
Response: application/xml and application/json
Parameters
N/A
Response Code
200, 401, 403, and 500
Method
POST
Description
Create a new partition resource. When using the partition XML object
to create a partition, the following valid values apply:
type: 1 (standard), 3 (AMP), 5 (Library Managed “CVTL”)
driveDomainType: 0 (mixed), 3 (LTO2), 4 (LTO3), 5 (LTO4), 6 (LTO5),
7 (LTO6), 554 (Mixed)
barcodeReporting: 1 (Prefix), 2 (Suffix), 3 (Disable), 4 (Pass Through),
default 4
vendorId: 2 (HP)
productId: 3 (ESL G3 – default), 4 (AMP)
for HP
productId: : 0 (ESL G3), 1 (AMP), 2 (CVTL Managed)
The example below creates a partition named Test with 2 LTO5 drives
and 300 slots. The vendor id will be HP, the product id will be ESL G3
and the barcodeReporting policy will be Pass Through.
The required fields for creating a partition are name. If no slot, drive,
ie or xie counts are specified, the default is 0. The default type will be
1 standard.
Media Type
Request: application/xml and application/json
Response: application/xml and application/json
40
Resource