Uri: aml/access/group/{name}/device/{serialnumber, Uri: aml/access/group/{name}/devices – HP StoreEver ESL G3 Tape Libraries User Manual

Page 62

Advertising
background image

<WWPN>AAAABBBB:AAAABBBB</WWPN>
</host>
</hostList>
<accessDeviceList>
<accessDevice>
<serialNumber>F001396025</serialNumber>
<type>1</type>
<port>
<id>1</id>
<access>false</access>
</port>
</accessDevice>
</accessDeviceList>
</ns2:accessGroup>

Resource code

See

“URI: aml/access/group/{name}/device” (page 15)

for the

Resource code description.

URI: aml/access/group/{name}/device/{serialNumber}

Method

DELETE

XML Response Data

<?xml version="1.0" encoding="UTF-8" standalone="yes"?
<ns2:accessGroup
xmlns:ns2="http://automatedMediaLibrary/">
<name>AG1</name>
<hostList>
<host>
<name>dummy</name>
<type>2</type>
<mode>0</mode>
<WWPN>AAAABBBB:AAAABBBB</WWPN>
</host>
</hostList>
<accessDeviceList/>
</ns2:accessGroup>

Resource code

See

“URI: aml/access/group/{name}/device/{serialNumber}”

(page 16)

for the Resource code description.

URI: aml/access/group/{name}/devices

Method

GET

XML Response Data

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:accessDeviceList
xmlns:ns2="http://automatedMediaLibrary/">
<accessDevice>
<serialNumber>F001396025</serialNumber>
<type>1</type>
<port>
<id>1</id>
<access>true</access>
</port>
<port>
<id>2</id>
<access>false</access>
</port>
....
</ns2:ping>

Method

POST

XML Response Data

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:accessGroup
xmlns:ns2="http://automatedMediaLibrary/">
<name>AG1</name>

62

XML responses for URIs

Advertising