API Guide
Table Of Contents
- Dell EMC OpenManage Python Software Development Kit Version 1.0 API Reference Guide
- Introduction to OpenManage python software development toolkit
- Installation and Uninstallation of OMPSDK
- OpenManage Python SDK API introduction
- OpenManage Python SDK API list
- Monitoring API list
- Administration tasks API list
- Export and Import Tasks API list
- Server iDRAC Settings Configuration API list
- Boot Settings Configuration API list
- RAID Configuration API list
- iDRAC LC Jobs API list
- iDRAC LC Status Check API list
- OpenManage Python SDK API list
- Getting Started
Table 116. Parameters for idrac.config_mgr.configure_onetime_boot_mode (continued)
Parameter Name Type Allowed Values
OneTimeBootModeTypes.OneTimeCustomHddSe
qStr
OneTimeBootModeTypes.OneTimeCustomUefiB
ootSeqStr
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>))
liason_share_status = idrac.config_mgr.set_liason_share(myshare)
idrac.config_mgr.configure_onetime_boot_mode
(
OneTimeBootModeTypes.Disabled
)
apply_status = idrac.config_mgr.apply_changes(reboot=True)
Returns: Success or Failure.
Return Type: JSON.
idrac.config_mgr.configure_boot_sequence
API string/Method: idrac.config_mgr.configure_boot_sequence.
Protocol Support: Redfish.
Description: The idrac.config_mgr.configure_boot_sequence() allows you to configure the boot sequence.
Table 117. Parameters for idrac.config_mgr.configure_boot_sequence
Parameter Name Type Allowed Values
boot_mode
Enum
BootModeEnum.Bios
BootModeEnum.Uefi
Description Allows you to configure the boot mode to UEFI.
Table 118. Parameters for idrac.config_mgr.configure_boot_sequence
Parameter Name Type Allowed Values
boot_sequence
String Boot devices FQDDs (Comma separated) in the
sequential order for BIOS or UEFI Boot Sequence.
Description User defined boot sequence.
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)
idrac.config_mgr.configure_boot_sequence
(
boot_mode = BootModeEnum.Uefi,
OpenManage Python SDK API introduction
39