API Guide

Example:
# Delete a job
job_status = idrac.job_mgr.delete_job(jobid=”jid_1234”)
idrac.job_mgr.delete_all_jobs
API string/Method: idrac.job_mgr.delete_all_jobs.
Protocol Support: WSMAN.
Description: The delete_all_jobs() is used to delete all jobs.
Return type: String
Example:
# Delete all jobs
job_status = idrac.job_mgr.delete_all_jobs()
iDRAC LC Status Check API list
This section lists the available iDRAC LC Status Check APIs.
idrac.cong_mgr.LCStatus
API string/Method: idrac.config_mgr.LCStatus.
Protocol Support: Redfish.
Description: The GetRemoteServicesAPIStatus() method is used to obtain the overall remote services API status that includes
host system status. The remote services - (Data Manager) status, and Real Time Status. The overall rolled up status shall be reected in
the Status output parameter.
Return type: String
Example:
# Check the LC status
msg = idrac.config_mgr.LCStatus
idrac.cong_mgr.LCReady
API string/Method: idrac.config_mgr.LCReady.
Protocol Support: WSMAN.
Description: This property provides the information regarding whether the LC is Ready.
Example:
msg = idrac.config_mgr.LCReady
OpenManage Python SDK API introduction
55