Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC OpenManage Python Software Development Kit Version 1.1 API Reference Guide

PDF

idrac.log_mgr.complete_lclog_export

API string/Method: idrac.log_mgr.complete_lclog_export

Protocol Support: WSMAN.

Description: The complete_lclog_export() method is used to export the full log from the Lifecycle Controller to a remote share.

Parameters:
Table 1. Parameters for idrac.log_mgr.complete_lclog_export . This table lists the parameters for idrac.log_mgr.complete_lclog_export
Parameter Name Type Allowed Values
job_wait Boolean True/False
Description

True - It will wait for the export the full LC logs job to complete and return the job completion status. False - It will return immediately with a JOB ID after queuing the export LC logs job in LC job

Table 2. Parameters for idrac.log_mgr.complete_lclog_export . This table lists the parameters for idrac.log_mgr.complete_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 file 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 file. UserCredentials - Username and password for accessing the shared file.

CIFS - Common Internet File System

IPAddress - Name of the CIFS share server Sharename - The CIFS share name. Sharepath - The share path where file needs to be exported. UserCredentials - Username and password for accessing the shared file.

Example:
# Export LC Full Logs - NFS Share
                                    nfs_share = FileOnShare(remote=<IP OR HOSTNAME>:/<NFS-SHARE-PATH>,
                                    mount_point=<MOUNT-DRIVE>:\>, isFolder=<True/False>,
                                    creds=UserCredentials(<USERNAME>, <PASSWORD>))
                                    
                                    tsr_file = nfs_share.new_file(<FILE-NAME>)
                                    
                                    idrac.log_mgr.complete_lclog_export(tsr_file)
                                    
                                    # Export LC Full Logs - CIFS Share
                                    cifs_share = FileOnShare(remote=\\<IP OR HOSTNAME>\<CIFS-SHARE-PATH>, isFolder=<True/False>,
                                    creds=UserCredentials(<USERNAME>, <PASSWORD>))
                                    
                                    tsr_file = cifs_share.new_file(<FILE-NAME>)
                                    
                                    idrac.log_mgr.complete_lclog_export(tsr_file)
                                    
                                    # Export LC Full Logs - Local Share
                                    local_share = LocalFile(local=os.path.join(, "path", "to", <FILE_NAME>))
                                    idrac.log_mgr.complete_lclog_export(local_share)
                                 

Returns: Success or Failure.

Return type: JSON


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\