API Guide
Parameter Name Type
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:
# 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
idrac.cong_mgr.export_tsr
API string/Method: idrac.config_mgr.export_tsr
Protocol Support: WSMAN.
Description: The idrac.config_mgr.export_tsr is used to collects the TSR i.e hardware, OS and App data, then compressed
the .zip le saves into the respective remote share path—cifs/nfs.
Parameters:
Table 51.
Parameters for idrac.cong_mgr.export_tsr
Parameter Name Type Allowed Values
data_selector_arra
y_in
DataSelectorArrayInEnum DataSelectorArrayInEnum.HW_Data
DataSelectorArrayInEnum.OSApp_Data
DataSelectorArrayInEnum.TTY_Logs
DataSelectorArrayInEnum.Debug_Logs
Description
The DataSelectorArrayIn allows you to select the one of the data
DataSelectorArrayInEnum.HW_Data - Technical support report for Hardware Data.
DataSelectorArrayInEnum.OSApp_Data - Technical support report for OSApp Data Without PII.
26 OpenManage Python SDK API introduction