White Papers

31 Implementation of the DMTF Redfish API on Dell EMC PowerEdge Servers
Message = Task successfully scheduled.
PercentComplete = 0
- PASS, Command passed to power OFF server, code return is 204
- PASS, Command passed to power ON server, code return is 204
- PASS, Command passed to check job status, code 200 returned
- WARNING, JobStatus not completed, current status is: "Task successfully
scheduled.", current job polling time is: 0:00:00
- PASS, Command passed to check job status, code 200 returned
(Edited for bevity…)
- WARNING, JobStatus not completed, current status is: "Job in progress.",
current job polling time is: 0:02:35
- PASS, Command passed to check job status, code 200 returned
JobID = JID_956505296759
Name = ConfigBIOS:BIOS.Setup.1-1
Message = Job completed successfully.
PercentComplete = 100
- PASS, BIOS attribute "MemTest" new current value is: Enabled
3.3.13 Viewing server firmware inventory
iDRAC7 or iDRAC8 versions 2.60.60.60 or later and iDRAC9 versions 3.00.00.00 or later implement the
Redfish API for a detailed inventory of the installed server firmware. The following script produces a report of
the currently installed server firmware.
#
# redfish_get_FW_inventory.py
# Get and print the current inventory of a server's firmware
# Synopsis:
# redfish_get_FW_inventory.py <iDRAC IP addr> <user> <password>
#
import requests, json, sys, re, time, os, ConfigParser, logging
from datetime import datetime
try:
idrac_ip = sys.argv[1]
idrac_username = sys.argv[2]