dell/OpenManage-Enterprise

Enhance job tracker to print current job status along with iteration

Opened this issue · 0 comments

Currently the job tracker prints like this:

Created job 14002 to flash firmware... polling status now. Maximum time set at 2 hours
Iteration 1: Status of 14002 is Running
Iteration 2: Status of 14002 is Running
Iteration 3: Status of 14002 is Running
Iteration 4: Status of 14002 is Running

It would be nice if in addition to printing the above it printed the current job status like it does in the UI:

Messages:
Running
Starting communication with the device.
Checking LC-Service state
Checking Remote Services availability
Remote Service is ready.
Initiated Update Job for DCIM:INSTALLED#741__BIOS.Setup.1-1 with JobId (JID_076056380857)
Job status for JID_076056380857 is Downloaded
Message: Package successfully downloaded.
Message ID: RED002
Created Reboot Job (RID_076056718418)
Scheduled all downloaded Update Jobs.
Job status for RID_076056718418 is Pending Reboot
Job status for RID_076056718418 is Reboot Completed