Boot Interface for iLO drivers and its supporting methods.
Bases: ironic.drivers.base.BootInterface
Cleans up the boot of instance.
This method cleans up the environment that was setup for booting the instance. It ejects virtual media
Parameters: | task – a task from TaskManager. |
---|---|
Returns: | None |
Raises: | IloOperationError, if some operation on iLO failed. |
Cleans up the boot of ironic ramdisk.
This method cleans up virtual media devices setup for the deploy ramdisk.
Parameters: | task – a task from TaskManager. |
---|---|
Returns: | None |
Raises: | IloOperationError, if some operation on iLO failed. |
Prepares the boot of instance.
This method prepares the boot of the instance after reading relevant information from the node’s instance_info. It does the following depending on boot_option for deploy:
Parameters: | task – a task from TaskManager. |
---|---|
Returns: | None |
Raises: | IloOperationError, if some operation on iLO failed. |
Prepares the boot of deploy ramdisk using virtual media.
This method prepares the boot of the deploy ramdisk after reading relevant information from the node’s driver_info and instance_info.
Parameters: |
|
---|---|
Returns: | None |
Raises: | MissingParameterValue, if some information is missing in node’s driver_info or instance_info. |
Raises: | InvalidParameterValue, if some information provided is invalid. |
Raises: | IronicException, if some power or set boot boot device operation failed on the node. |
Raises: | IloOperationError, if some operation on iLO failed. |
Validate the deployment information for the task’s node.
Parameters: | task – a TaskManager instance containing the node to act on. |
---|---|
Raises: | InvalidParameterValue, if some information is invalid. |
Raises: | MissingParameterValue if ‘kernel_id’ and ‘ramdisk_id’ are missing in the Glance image or ‘kernel’ and ‘ramdisk’ not provided in instance_info for non-Glance image. |