Package ganeti :: Package rapi :: Module rlib2 :: Class R_2_jobs_id
[hide private]
[frames] | no frames]

Class R_2_jobs_id

source code

/2/jobs/[job_id] resource.

Instance Methods [hide private]
Returns a job status.
source code
Cancel not-yet-started job.
source code

Inherited from baserlib.ResourceBase: GetClient, SubmitJob, __init__, dryRun, getBodyParameter, useBulk, useForce, useLocking

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from baserlib.ResourceBase: DELETE_ACCESS, GET_ACCESS, POST_ACCESS, PUT_ACCESS, request_body

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]


source code 

Returns a job status.

a dictionary with job parameters. The result includes:
  • id: job ID as a number
  • status: current job status as a string
  • ops: involved OpCodes as a list of dictionaries for each opcodes in the job
  • opstatus: OpCodes status as a list
  • opresult: OpCodes results as a list of lists