Uri: aml/drives/firmware/operations/update – HP StoreEver ESL G3 Tape Libraries User Manual

Page 23

Advertising
background image

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, and 500

Method

POST

Description

Upload a drive firmware image using form data with key = 'file' and value
= filename of firmware.

To upload a firmware file named HP_FH_FC_J3MW.frm you would have the
following:

name= HP_FH_FC_J3MW.frm

file=the location of the file (/tmp/ HP_FH_FC_J3MW.frm)

Media Type

Request: multipart/form-data

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, and 500

XML Response

See

“URI: aml/drives/firmware/images” (page 71)

for the XML Response

code.

URI: aml/drives/firmware/operations/update

Method

GET

Description

Retrieve the progress of the current drive(s) update operations.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, and 500

Method

POST

Description

Upgrade the selected drives with the specified firmware image files.

Media Type

Request: application/xml and application/json

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, and 500

XML Request Data

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:firmwareUpdateList
xmlns:ns2="http://automatedMediaLibrary/">
<firmwareUpdate>
<serialNumber>HU19487U51</serialNumber>
<firmwareFile>
<name>NewHP_LTO5FH_FC_015_415_I5AW.FRM</name>
<version>I5AW</version>
<vendor>HP</vendor>
<type>LTO5</type>
</firmwareFile>
</firmwareUpdate>
.....
</ns2:firmwareUpdateList>

XML Response

See

“URI: aml/drives/firmware/operations/update” (page 72)

for the

XML Response code.

URI: aml/drives/firmware/operations/update

23

Advertising