

Print( "- FAIL, unable to locate \"Members \" in JSON output, manually run GET on URI \"/redfish/v1/UpdateService/FirmwareInventory \" to debug issue") Print( "- FAIL, no URI members detected for firmware inventory, manually run GET on URI \"/redfish/v1/UpdateService/FirmwareInventory \" to debug issue") get( ' % ( idrac_ip), auth =( idrac_username, idrac_password), verify = False) Print( " \n- INFO, get current firmware version(s) for all devices in the system iDRAC supports \n")Ĭurrent_date_time = "- Data collection timestamp: %s-%s-%s %s:%s:%s \n" % ( d. Print( " \n- WARNING, iDRAC version installed does not support this feature using Redfish API") Incorrect iDRAC username/password or invalid privilege detected." % response.
How to get dell idrac license code#
Print( " \n- WARNING, status code %s returned. add_argument( '-p', help = 'iDRAC password', required = True)įilename = "iDRAC_%s_FW_inventory.txt" % idrac_ip add_argument( '-u', help = 'iDRAC username', required = True) add_argument( '-ip', help = 'iDRAC IP address', required = True) This script is executing one GET command using OData feature $expand ") ArgumentParser( description = "Python script using Redfish API DMTF method to get current firmware version for all devices iDRAC supports for updates. I have been told that getting the card from Dell is nigh impossible if not ordered with the server, and that the licenses accompany the card as they are sort of married - one doesnt work without the other, and as such it seems difficult to get a standalone license if I should happen across a standalone card. Import requests, json, sys, re, time, os, warnings, argparse Import requests, json, sys, re, time, warnings, os, argparse # implied, including the implied warranties of MERCHANTABILITY or FITNESS There is NO WARRANTY for this software, express or
How to get dell idrac license software#
# This software is licensed to you under the GNU General Public License, It clearly says on the port cover that 'LICENSE REQUIRED. # NOTE: Recommended to run this script first to get current FW versions of devices before executing DeviceFirmwareUpdateREDFISH script. It has a built-in iDRAC7 port in the rear of the chassis. Python script using Redfish API DMTF method to get current firmware version for all devices iDRAC supports for updates.
