API Guide

address = "test@abc.com", custom_message = "test"
)
apply_status = idrac.config_mgr.apply_changes(reboot=False)
Returns: Success or Failure.
Return Type: JSON.
Boot Settings Conguration API list
This section lists the available Boot settings conguration APIs.
idrac.cong_mgr.congure_boot_mode
API string/Method: idrac.config_mgr.configure_boot_mode
Protocol Support: Redfish.
Description: The idrac.config_mgr.configure_boot_mode() allows you to congure the boot Mode.
Table 110. Parameters for idrac.cong_mgr.congure_boot_mode
Parameter Name Type Allowed Values
boot_mode
Enum
BootModeTypes.Bios
BootModeTypes.Uefi
Description Congures the boot mode to BIOS or UEFI.
Example:
#Set liason share
myshare = FileOnShare(remote="<IP OR HOSTNAME>:/<NFS-SHARE-PATH>",
mount_point='Z:\', isFolder=False,
creds=UserCredentials(<USERNAME>, <PASSWORD>))
liason_share_status = idrac.config_mgr.set_liason_share(myshare)
# Configure Boot Mode
msg = idrac.config_mgr.configure_boot_mode(BootModeTypes.Uefi)
apply_status = idrac.config_mgr.apply_changes(reboot=True)
Returns: Success or Failure.
Return Type: JSON.
idrac.cong_mgr.congure_onetime_boot_mode
API string/Method: idrac.config_mgr.configure_onetime_boot_mode
Protocol Support: Redfish.
Description: The idrac.config_mgr.configure_onetime_boot_mode() allows you to set the specied device as the rst
device in the boot order for the next boot cycle only. The device must be a device from the bootseq option device list.
OpenManage Python SDK API introduction
47