API Guide

Table Of Contents
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