API Guide

share_path=localpath,
target = SCPTargetEnum.ALL)
status=idrac.config_mgr.reset_idrac(force=ResetForceEnum.Force)
Returns: Success or Failure.
Return Type: JSON.
idrac.log_mgr.lclog_export
API string/Method: idrac.log_mgr.lclog_export
Protocol Support: WSMAN.
Description: The ExportLCLog() method is used to export the log from the Lifecycle Controller to a remote share.
Parameters:
Table 47. Parameters for idrac.log_mgr.lclog_export
Parameter Name Type Allowed Values
job_wait
Boolean True/False
Description
This API raises a ag to wait for the job to complete. A false value will return the Job ID.
Table 48. Parameters for idrac.log_mgr.lclog_export
Parameter Name Type
share_path
FileOnShare (for CIFS & NFS Share)
LocalFile (For Local Share)
Description LC log exports can be directed to local le systems and network shares
NFS - Network File System
IPAddress - Name of the NFS share server.
Sharename - The NFS share name.
Mountpoint - To mount the shared le.
UserCredentials - Username and password for accessing the shared led.
CIFS - Common Internet File System
IPAddress - Name of the CIFS share server.
Sharename - The CIFS share name.
Sharepath - The share path where le needs to be exported.
UserCredentials - Username and password for accessing the shared le.
Example:
NOTE
: Use the Export LC Logs as required along with the FileOnShare API.
NOTE: The export format is lename.gz.
#localpath = LocalFile(local='/newfolder/completelclogs.gz')
status=idrac.log_mgr.complete_lclog_export(job_wait=True,share_path=localpath)
# Export LC Logs - NFS Share
24
OpenManage Python SDK API introduction