API Guide
Syslog
idrac.cong_mgr.enable_syslog
API string/Method: idrac.config_mgr.enable_syslog
Protocol Support: WSMAN.
Description: The idrac.config_mgr.enable_syslog() enables System Log conguration.
Allows you to enable the System Log conguration.
Example:
#Set liason share
myshare = FileOnShare(remote="<IP OR HOSTNAME>:/<NFS-SHARE-PATH>",
mount_point='Z:\', isFolder=True,
creds=UserCredentials(<USERNAME>, <PASSWORD>))
liason_share_status = idrac.config_mgr.set_liason_share(myshare)
# Enable Syslog
msg = idrac.config_mgr.enable_syslog()
Returns: Success or Failure.
Return Type: JSON.
idrac.cong_mgr.disable_syslog
API string/Method: idrac.config_mgr.disable_syslog.
Protocol Support: WSMAN.
Description: The idrac.config_mgr.disable_syslog() enables System Log conguration.
Allows you to disable the System Log conguration.
Example:
#Set liason share
myshare = FileOnShare(remote="<IP OR HOSTNAME>:/<NFS-SHARE-PATH>",
mount_point='Z:\', isFolder=True,
creds=UserCredentials(<USERNAME>, <PASSWORD>))
liason_share_status = idrac.config_mgr.set_liason_share(myshare)
# Disable Syslog
msg = idrac.config_mgr.disable_syslog()
Returns: Success or Failure.
Return Type: JSON.
Lockdown
idrac.cong_mgr.enable_system_lockdown
API string/Method: idrac.config_mgr.enable_system_lockdown
Protocol Support: WSMAN, Redfish.
40
OpenManage Python SDK API introduction