White Papers
24 Implementation of the DMTF Redfish API on Dell EMC PowerEdge Servers
Firmware update by using a networked repository while importing an SCP
Auto Config, RACADM, WS-Man, and Redfish SCP operations by using HTTP/HTTPS in addition to
CIFS and NFS (HTTP/S support iDRAC9 only)
SCP operations by using local file streaming
SCP JSON format for export/import in addition to an XML format
For more information about RESTful server configuration, see the Dell EMC technical white paper Zero-Touch
Bare Metal Server Provisioning using Dell EMC iDRAC with Lifecycle Controller Auto Config, available on the
Dell Techcenter.
Details and examples covering the Redfish 2016 storage and networking APIs can be found in the Dell EMC
technical white papers Standards-based storage management for Dell EMC PowerEdge servers using the
iDRAC RESTful API and DMTF Redfish and Standards-based NIC/HBA management for Dell EMC
PowerEdge servers using the iDRAC RESTful API and DMTF Redfish, available on the Dell Techcenter.
3.3.12 View and Configure BIOS Attributes
iDRAC7 iDRAC8 firmware versions 2.50.50.50 or later, and iDRAC9 firmware versions 3.00.00.00 or later
implement the Redfish 2016 API for BIOS configuration. Here is a script to view all BIOS attributes and a
script to change a single BIOS attribute.
#
# redfish_get_bios_attribute_settings.py
# Get BIOS attributes and current settings
# Print to STDOUT and save to file "bios_attributes.txt"
# Synopsis:
# redfish_get_bios_attribute_settings.py <iDRAC IP addr> <user> <password>
#
import requests, json, sys, re, time, os
try:
idrac_ip = sys.argv[1]
idrac_username = sys.argv[2]
idrac_password = sys.argv[3]
except:
print "- FAIL: You must pass in script name along with iDRAC IP / iDRAC
username / iDRAC password"
sys.exit()
try:
os.remove("bios_attributes.txt")
except:
pass
#
# Function to get BIOS attributes /current settings
#
def get_bios_attributes():