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
Syslog
idrac.config_mgr.enable_syslog
API string/Method: idrac.config_mgr.enable_syslog.
Protocol Support: WSMAN.
Description: The idrac.config_mgr.enable_syslog() enables System Log configuration.
Allows you to enable the System Log configuration.
Return type: JSON
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)
# Enable Syslog
msg = idrac.config_mgr.enable_syslog()
idrac.config_mgr.disable_syslog
API string/Method: idrac.config_mgr.disable_syslog.
Protocol Support: WSMAN.
Description: The idrac.config_mgr.disable_syslog() enables System Log configuration.
Allows you to disable the System Log configuration.
Return type: JSON
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)
# Disable Syslog
msg = idrac.config_mgr.disable_syslog()
Lockdown
idrac.config_mgr.enable_system_lockdown
API string/Method: idrac.config_mgr.enable_system_lockdown.
Protocol Support: WSMAN, Redfish.
Description: The idrac.config_mgr.enable_system_lockdown() method allows you to enable the Lockdown
operation.
NOTE: Lockdown is supported only on 14th Generation of PowerEdge Servers
Return type: JSON
Example:
# Enable System Lockdown
msg = idrac.config_mgr.enable_system_lockdown()
OpenManage Python SDK API introduction
33