API Guide

Parameters:
Table 51. 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 52. 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.
Table 53. Parameters for idrac.log_mgr.lclog_export
Parameter Name Type
work_group
String
Description The applicable workgroup.
Example:
# Export LC Logs - NFS Share
nfs_share = FileOnShare(remote=<IP OR HOSTNAME>:/<NFS-SHARE-PATH>,
mount_point=<MOUNT-DRIVE>:\>, isFolder=<True/False>,
creds=UserCredentials(<USERNAME>, <PASSWORD>))
lclog_file = nfs_share.new_file(<FILE-NAME>)
msg = idrac.log_mgr.lclog_export(lclog_file)
# Export LC Logs - CIFS Share
cifs_share = FileOnShare(remote=\\<IP OR HOSTNAME>\<CIFS-SHARE-PATH>, isFolder=<True/False>,
creds=UserCredentials(<USERNAME>, <PASSWORD>))
lclog_file = cifs_share.new_file(<FILE-NAME>)
msg = idrac.log_mgr.lclog_export(lclog_file)
# Export LC Logs - Local Share
OpenManage Python SDK API introduction
23