Updating firmware by using REST
Update Firmware with GET verb
Table 34. Get Update firmware
Drive Update
Query Syntax
Single drive with a firmware file
[base_url]/adapters/<(index | wwid)>/enclosures/<(index |
wwid)>/drives/<(index | wwid)>?action=update&File=<Path to
firmware file>
Force an update to a single drive with a
firmware file
[base_url]/adapters/<(index | wwid)>/enclosures/<(index |
wwid)>/drives/<(index | wwid)>?action=update&File=<Path to
firmware file>&force=on
Update all drives within a specified enclosure
with a firmware file
[base_url]/adapters/<(index | wwid)>/enclosures/<(index |
wwid)>/drives?action=update&File=<Path to firmware file>
Force an update to all drives within a specified
enclosure with a firmware file
[base_url]/adapters/<(index | wwid)>/enclosures/<(index |
wwid)>/drives?action=update&File=<Path to firmware
file>&force=on
Update all drives within a specified enclosure
with a firmware file (multi-threaded)
[base_url]/adapters/<(index | wwid)>/enclosures/<(index |
wwid)>/drives?action=update&File=<Path to firmware
file>&multi=on
Single enclosure management module (EMM)
with a firmware file
[base_url]/adapters/<(index | wwid)>/enc/<(index | wwid)>/emm/
<(index|/wwid)>?action=update&File=<Path to firmware file>
Update Firmware with POST verb
Updating firmware by using an HTTP POST transfers a firmware file from the client server to SHM REST server. The POST request must
be encoded as “multipart/form-data”.
[base_url]/api/SEM/1.0/drives/5000c50055bee096/firmware4
[base_url]/api/SEM/1.0/adapter/0/enclosures/0/emms/5000c50012bce496/firmware
Validate firmware file
The following command provides the user with information about a specified firmware file:
api/SEM/1.0/system/firmware/?file==<path to firmware file>
52
The Dell Storage enclosure REST API