Reference Guide

245 Lifecycle Controller Web Services Interface Guide for Linux
<p:ImportData_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_iDRA
CCardService">
<p:FileType>”file type (1 for SCP)”</p:FileType>
<p:FileSize>”size of the file in bytes”</p:FileSize>
<p:TxfrDescriptor>”1/2/3”</p:TxfrDescriptor>
<p:ChunkSize>” chunk size in bytes”</p:ChunkSize>
<p:InSessionID>” session ID ”</p:InSessionID>
<p:Payload>”Base64 encoded payload” </p:Payload>
<p:CRC>”CRC of the file”</p:CRC>
<p:PayLoadEncoding>”payload encoded format (1 for
Base64)”</p:PayLoadEncoding>
</p:ImportData_INPUT>
28.1.2 ExportData():
The method is used to export the files from iDRAC to a local folder in the management application. For
example, if the management application wants to export the SCP file, it can invoke the “ExportData”
method defined in DCIM_iDRACCardService class, but before invoking the ExportData method,
management applications must invoke the existing export methods with share type equal to local to get
export file into the iDRAC local folder.
Currently, following export methods are supported for local share type:
Methods
Input Parameter (Unit16)
DCIM_LCService.ExportLCLog
ShareType = 4 for local
DCIM_LCService. ExportCompleteLCLog()
ShareType = 4 for local
DCIM_LCService.ExportHWInventory()
ShareType = 4 for local
DCIM_LCService.ExportFactoryConfiguration()
ShareType = 4 for local
DCIM_LCService.ExportSystemConfiguration()
ShareType = 4 for local
DCIM_LCService.SupportAssistCollection()
ShareType = 4 for local
DCIM_LCService.ExportPSADiagnosticsResult()
ShareType = 4 for local
DCIM_LCService.ExportVideoLog()
ShareType = 4 for local
After completion of the export method (mentioned in the table), management application needs to invoke
the “ExportData” method with the following input parameter to get the export file to their local folder.
InChunkSize: The size of each block the management application expects to receive.
SessionID: Empty in the first packet.
FileOffset: Offset of the file. “FileOffset” will be “0” for the first chunk.
TxDataSize: Transmitted data size. “TxDataSize” will be “0” for the first chunk.
FileType: Export file type.
1 SystemConfiguration file
2 LC logs
3 Hardware inventory file
4 Factory configuration file
5 Support s;\ collection file
6 Boot video logs
7 Diagnostics
8 LC full logs
9 Crash video logs.
Method response contains the following output parameters.