iRMC Boot Driver
None
Bases: ironic.drivers.modules.pxe.PXEBoot
iRMC PXE boot.
IRMCPXEBoot.
clean_up_instance
(task)¶Cleans up the boot of instance.
This method cleans up the environment that was setup for booting the instance. It unlinks the instance kernel/ramdisk in node’s directory in tftproot and removes the PXE config.
Parameters: | task – a task from TaskManager. |
---|---|
Raises: | IRMCOperationError, if some operation on iRMC failed. |
Returns: | None |
IRMCPXEBoot.
prepare_instance
(task)¶Prepares the boot of instance.
This method prepares the boot of the instance after reading relevant information from the node’s instance_info. In case of netboot, it updates the dhcp entries and switches the PXE config. In case of localboot, it cleans up the PXE config.
Parameters: | task – a task from TaskManager. |
---|---|
Returns: | None |
Raises: | IRMCOperationError, if some operation on iRMC failed. |
IRMCPXEBoot.
prepare_ramdisk
(task, ramdisk_params)¶Prepares the boot of Ironic ramdisk using PXE.
This method prepares the boot of the deploy kernel/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 device operation failed on the node. |
None
Bases: ironic.drivers.base.BootInterface
, ironic.drivers.modules.irmc.boot.IRMCVolumeBootMixIn
iRMC Virtual Media boot-related actions.
IRMCVirtualMediaBoot.
clean_up_instance
(task)¶Cleans up the boot of instance.
This method cleans up the environment that was setup for booting the instance.
Parameters: | task – a task from TaskManager. |
---|---|
Returns: | None |
Raises: | IRMCOperationError if iRMC operation failed. |
IRMCVirtualMediaBoot.
clean_up_ramdisk
(task)¶Cleans up the boot of ironic ramdisk.
This method cleans up the environment that was setup for booting the deploy or rescue ramdisk.
Parameters: | task – a task from TaskManager. |
---|---|
Returns: | None |
Raises: | IRMCOperationError if iRMC operation failed. |
IRMCVirtualMediaBoot.
get_properties
()¶Return the properties of the interface.
Returns: | dictionary of <property name>:<property description> entries. |
---|
IRMCVirtualMediaBoot.
prepare_instance
(task)¶Prepares the boot of instance.
This method prepares the boot of the instance after reading relevant information from the node’s database.
Parameters: | task – a task from TaskManager. |
---|---|
Returns: | None |
IRMCVirtualMediaBoot.
prepare_ramdisk
(task, ramdisk_params)¶Prepares the deploy or rescue ramdisk using virtual media.
Prepares the options for the deploy or rescue ramdisk, sets the node to boot from virtual media cdrom.
Parameters: |
|
---|---|
Raises: | ImageRefValidationFailed if no image service can handle specified href. |
Raises: | ImageCreationFailed, if it failed while creating the floppy image. |
Raises: | InvalidParameterValue if the validation of the PowerInterface or ManagementInterface fails. |
Raises: | IRMCOperationError, if some operation on iRMC fails. |
IRMCVirtualMediaBoot.
validate
(task)¶Validate the deployment information for the task’s node.
Parameters: | task – a TaskManager instance containing the node to act on. |
---|---|
Raises: | InvalidParameterValue, if config option has invalid value. |
Raises: | IRMCSharedFileSystemNotMounted, if shared file system is not mounted. |
Raises: | InvalidParameterValue, if some information is invalid. |
Raises: | MissingParameterValue if ‘kernel_id’ and ‘ramdisk_id’ are missing in the Glance image, or if ‘kernel’ and ‘ramdisk’ are missing in the Non Glance image. |
IRMCVirtualMediaBoot.
validate_rescue
(task)¶Validate that the node has required properties for rescue.
Parameters: | task – a TaskManager instance with the node being checked |
---|---|
Raises: | MissingParameterValue if node is missing one or more required parameters |
Raises: | InvalidParameterValue, if any of the parameters have invalid value. |
None
Bases: object
Mix-in class for volume boot configuration to iRMC
iRMC has a feature to set up remote boot to a server. This feature can be used by VIOM (Virtual I/O Manager) library of SCCI client.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.