API Guide
Parameter Name Type
IPAddress - Name of the NFS share server.
Sharename - Name of the shared le.
Mountpoint - To mount the shared le.
UserCredentials - Username and password for accessing the shared le.
CIFS - Common Internet File System
IPAddress - Name of the CIFS share server.
Sharename - Name of the shared le.
Sharepath - The share path where le needs to be exported.
UserCredentials - Username and password for accessing the shared le.
Table 41. Parameters for idrac.cong_mgr.scp_export
Parameter Name Type Allowed Values
target Enum
SCPTargetEnum.ALL
SCPTargetEnum.IDRAC
SCPTargetEnum.BIOS
SCPTargetEnum.NIC
SCPTargetEnum.RAID
Description
To identify the component for export. It identies one or more FQDDs. Selective list of FQDDs should be given
in comma-separated format.
SCPTargetEnum.IDRAC - The module exports only the iDRAC component in SCP le.
SCPTargetEnum.BIOS - The module exports BIOS conguration in SCP le.
SCPTargetEnum.NIC - The module exports NIC conguration in SCP le.
SCPTargetEnum.RAID - The module exports RAID conguration in SCP le.
This module will import the conguration component from the exported SCP
Default - SCPTargetEnum.ALL - This module exports the complete system conguration from the Lifecycle
Controller to a le on local or remote share location.
Table 42. Parameters for idrac.cong_mgr.scp_export
Parameter Name Type
Workgroup
String
Description The applicable workgroup.
Example:
NOTE
: Use the Export LC Logs as required along with the FileOnShare API.
NOTE: Localpath is supported on 14G and later generations.
# scp_export - Local Share
localpath = LocalFile(local='/folder/filename.xml')
status=idrac.config_mgr.scp_import(end_host_power_state=EndHostPowerStateEnum.On,
job_wait=True,
share_path=localpath,
target = SCPTargetEnum.ALL)
# scp_export - NW Share
OpenManage Python SDK API introduction
21