Uri: aml/drive/{serialnumber}/datapath, Uri: aml/drive/{serialnumber}/ports – HP StoreEver ESL G3 Tape Libraries User Manual
Page 20
Parameters
N/A
Response Code
200, 400, 401, 403, 404, and 500
XML Response
See
“URI: aml/drive/{serialNumber}” (page 66)
for the XML Response code.
URI: aml/drive/{serialNumber}/dataPath
Method
GET
Description
Get the data path drive or capable data path drive whose serial number is
given by the URI path template “serialNumber”.
Media Type
Request: N/A
Response: application/xml and application/json
Parameters
N/A
Response Code
200, 401, and 500
XML Response
See
“URI: aml/drive/{serialNumber}” (page 66)
for the XML Response code.
URI: aml/drive/{serialNumber}/operations/powerCycle
Method
POST
Description
Power cycle the drive whose physical or logical serial number is given by
the URI path template “serialNumber”.
Media Type
Request: N/A
Response: application/xml and application/json
Parameters
N/A
Response Code
200, 400, 401, 403, 404, and 500
XML Response
See
“URI: aml/drive/{serialNumber}/operations/powerCycle” (page 68)
for the XML Response code.
URI: aml/drive/{serialNumber}/ports
Method
GET
Description
Retrieve the drive port resource whose serial number is given by the URI path
template 'serialNumber'. This will report both actual and requested topology
and speed values for each port.
To retrieve just requested ports for the drive with serial number 123456789,
use the following URI:
aml/drive/123456789/ports?/configuration=requested
Media Type
Request: N/A
Response: application/xml and application/json
Parameters
Query parameter name is configuration.
Valid values for configuration are actual and requested.
Response Code
200, 400, 401, 403, 404, and 500
Method
PUT
Description
Modify the port settings for the drive whose serial number is given by the
URI path template “serialNumber”.
The example below changes the requested topology to loop (3) and request
speed to 2Gb (2) and loop id to 10.
20
Resource