API Guide
myshare= FileOnShare(remote = '<public_IP>:/Share/file.xml', mount_point = '/mnt/Share',
isFolder = True,
creds==UserCredentials('username', 'password'))
idrac.config_mgr.set_liason_share(myshare)
status=idrac.config_mgr.scp_import(end_host_power_state=EndHostPowerStateEnum.On,
job_wait=True,
share_path=localpath,
target = SCPTargetEnum.ALL)
Returns: Success or Failure.
Return Type: JSON.
idrac.cong_mgr.scp_import
Prerequisites:
API string/Method: idrac.config_mgr.scp_import
Protocol Support: WSMAN, Redfish.
Description: This method is used to import the system conguration.
Parameters:
Table 43. Parameters for idrac.cong_mgr.scp_import
Parameter Name Type Allowed Values
end_host_power_state Enum
EndHostPowerStateEnum.Off
EndHostPowerStateEnum.On
Description The desired host power state after the import operation is complete.
0 - Off
1 - On
Default value is 0
Table 44. Parameters for idrac.cong_mgr.scp_import
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 45. Parameters for idrac.cong_mgr.scp_import
Parameter Name Type
share_path
FileOnShare (for CIFS & NFS Share)
LocalFile (For Local Share)
Description SCP can be import from local le system or network shares.
NFS - Network File System
22 OpenManage Python SDK API introduction