ironic.drivers.modules.pxe_base module

ironic.drivers.modules.pxe_base module

Base PXE Interface Methods

class ironic.drivers.modules.pxe_base.PXEBaseMixin[source]

Bases: object

clean_up_ramdisk(**kwargs)[source]

Cleans up the boot of ironic ramdisk.

This method cleans up the PXE environment that was setup for booting the deploy or rescue ramdisk. It unlinks the deploy/rescue kernel/ramdisk in the node’s directory in tftproot and removes it’s PXE config.

Parameters:
  • task – a task from TaskManager.
  • mode – Label indicating a deploy or rescue operation was carried out on the node. Supported values are ‘deploy’ and ‘rescue’. Defaults to ‘deploy’, indicating deploy operation was carried out.
Returns:

None

get_properties()[source]

Return the properties of the interface.

Returns:dictionary of <property name>:<property description> entries.
validate_rescue(**kwargs)[source]

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
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.