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
boot_sequence="device-1, device-2, device-3"
)
apply_status = idrac.config_mgr.apply_changes(reboot=True)
Returns: Success or Failure.
Return Type: JSON.
idrac.config_mgr.configure_nvme_mode
API string/Method: idrac.config_mgr.configure_nvme_mode.
Protocol Support: Redfish.
Description: The idrac.config_mgr.configure_nvme_mode() allows you to configure the NVME Mode.
Table 119. Parameters for idrac.config_mgr.configure_nvme_mode
Parameter Name Type Allowed Values
nvme_mode
Enum
NvmeModeTypes.NonRaid
NvmeModeTypes.Raid
Description Configure the NVME mode. This feature is available in the BIOS settings page.
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_nvme_mode
(
NvmeModeTypes.NonRaid
)
apply_status = idrac.config_mgr.apply_changes(reboot=True)
Returns: Success or Failure.
Return Type: JSON.
idrac.config_mgr.configure_secure_boot_mode
API string/Method: idrac.config_mgr.configure_secure_boot_mode.
Protocol Support: Redfish.
Description: The idrac.config_mgr.configure_secure_boot_mode() allows you to configure the Secure boot
Mode.
Table 120. Parameters for idrac.config_mgr.configure_secure_boot_mode
Parameter Name Type Allowed Values
secure_boot_mode
Enum
SecureBootModeTypes.AuditMode
SecureBootModeTypes.DeployedMode
SecureBootModeTypes.SetupMode
SecureBootModeTypes.UserMode
Description Configures how the BIOS uses the Secure boot Policy.
Example:
#Set liason share
myshare = FileOnShare(remote="<IP OR HOSTNAME>:/<NFS-SHARE-PATH>/<FILE-NAME>",
40
OpenManage Python SDK API introduction