API Guide
mount_point='Z:\',
isFolder=True,
creds=UserCredentials(<USERNAME>, <PASSWORD>))
msg = idrac.config_mgr.boot_to_network_iso(myshare, ' ' )
Returns: Success or Failure.
Return Type: JSON.
idrac.update_mgr.update_from_repo
API string/Method: idrac.update_mgr.update_from_repo.
Protocol Support: WSMAN.
Description: The idrac.update_mgr.update_from_repo() allows you to update the server components rmware.
Table 117. Parameters for idrac.update_mgr.update_from_repo
Parameter Name Type Allowed Values
catalog_path
Enum User dened network catalog path.
Description Allows you to select the path of the catalog.
Table 118. Parameters for idrac.update_mgr.update_from_repo
Parameter Name Type Allowed Values
apply_update
Boolean True
Description Allows you to apply the update to the rmware.
Table 119. Parameters for idrac.update_mgr.update_from_repo
Parameter Name Type Allowed Values
reboot_needed
Boolean True or False
Description Allows you to perform a reboot.
Table 120. Parameters for idrac.update_mgr.update_from_repo
Parameter Name Type Allowed Values
job_wait
Boolean True/False
Description
True - Wait for the performed export Server Conguration Prole jobs to complete.
False - Returns only the JobID.
Example:
#Set liason share
myshare=FileOnShare(remote='<IP or Hostname>:/<NFS Share Path>/<File name its Catalog.xml >',
mount_point='/<Mount Path>',creds=UserCredentials('<Username>', '<Password>'))
liason_share_status = idrac.config_mgr.set_liason_share(myshare)
status = idrac.update_mgr.update_from_repo(
catalog_path=myshare,
OpenManage Python SDK API introduction
51