Uri: aml/drive/{serialnumber}/ports, Uri: aml/drive/{serialnumber}/mode – HP StoreEver ESL G3 Tape Libraries User Manual

Page 69

Advertising
background image

Resource code

See

“URI: aml/drive/{serialNumber}/operations/powerCycle”

(page 20)

for the Resource code description.

URI: aml/drive/{serialNumber}/ports

Method

GET

XML Response Data

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:drivePorts
xmlns:ns2="http://automatedMediaLibrary/">
<serialNumber>GB19300393</serialNumber>
<ports>
<port>
<id>1</id>
<type>2</type>
<address>500308c00139601a</address>
<topology>
<actual>3</actual>
<requested>3</requested>
</topology>
<loopId>126</loopId>
<speed>
<actual>0</actual>
<requested>0</requested>
</speed>
<status>0</status>
</port>
<port>
<id>2</id>
<type>2</type>
<address>500308c00139601b</address>
<topology>
<actual>3</actual>
<requested>3</requested>
</topology>
<loopId>126</loopId>
<speed>
<actual>0</actual>
<requested>0</requested>
</speed>
<status>0</status>
</port>
</ports>
</ns2:drivePorts>

Resource code

See

“URI: aml/drive/{serialNumber}/ports” (page 20)

for the Resource

code description.

URI: aml/drive/{serialNumber}/mode

Method

GET

XML Response Data

1

Method

PUT

XML Response Data

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:WSResultCode
xmlns:ns2="http://automatedMediaLibrary/">
<code>200</code>
<description>OK</description>
<summary>Operation Completed Successfully</summary>
<action>Change drive, HU1041D06V, mode: 2</action>
<customCode>0</customCode>
</ns2:WSResultCode>

URI: aml/drive/{serialNumber}/ports

69

Advertising