ironic.drivers.modules.drac.job module¶
DRAC Lifecycle job specific methods
-
ironic.drivers.modules.drac.job.get_job(node, job_id)[source]¶ Get the details of a Lifecycle job of the node.
- Parameters
node – an ironic node object.
job_id – ID of the Lifecycle job.
- Returns
a Job object from dracclient.
- Raises
DracOperationError on an error from python-dracclient.
-
ironic.drivers.modules.drac.job.list_unfinished_jobs(node)[source]¶ List unfinished config jobs of the node.
- Parameters
node – an ironic node object.
- Returns
a list of Job objects from dracclient.
- Raises
DracOperationError on an error from python-dracclient.
-
ironic.drivers.modules.drac.job.validate_job_queue(node, name_prefix=None)[source]¶ Validates the job queue on the node.
It raises an exception if an unfinished configuration job exists.
- Parameters
node – an ironic node object.
name_prefix – A name prefix for jobs to validate.
- Raises
DracOperationError on an error from python-dracclient.