API Guide

Table 115. Parameters for idrac.cong_mgr.congure_boot_mode
Parameter Name Type Allowed Values
boot_mode
Enum
Bios - BootModeTypes.BIOS
Uefi - 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>/<FILE-NAME>",
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.
Table 116.
Parameters for idrac.cong_mgr.congure_onetime_boot_mode
Parameter Name Type Allowed Values
onetime_boot_mode
Enum
OneTimeBootModeTypes.Disabled
OneTimeBootModeTypes.OneTimeBootSeq
OneTimeBootModeTypes.OneTimeCustomBootSeq
Str
OneTimeBootModeTypes.OneTimeCustomHddSeqS
tr
OneTimeBootModeTypes.OneTimeCustomUefiBoo
tSeqStr
OneTimeBootModeTypes.OneTimeHddSeq
OneTimeBootModeTypes.OneTimeUefiBootSeq
Description Allows you to enable or disable the one time boot mode.
Example:
#Set liason share
myshare = FileOnShare(remote="<IP OR HOSTNAME>:/<NFS-SHARE-PATH>/<FILE-NAME>",
mount_point='Z:\', isFolder=False,
creds=UserCredentials(<USERNAME>, <PASSWORD>))
OpenManage Python SDK API introduction
45