PXE Boot Interface
ironic.drivers.modules.pxe.
PXEBoot
[source]¶Bases: ironic.drivers.modules.pxe_base.PXEBaseMixin
, ironic.drivers.base.BootInterface
capabilities
= ['ramdisk_boot', 'pxe_boot']¶ironic.drivers.modules.pxe.
PXERamdiskDeploy
[source]¶Bases: ironic.drivers.modules.agent.AgentDeploy
deploy
(task)[source]¶Perform a deployment to a node.
Perform the necessary work to deploy an image onto the specified node. This method will be called after prepare(), which may have already performed any preparatory steps, such as pre-caching some data for the node.
task – a TaskManager instance.
status of the deploy. One of ironic.common.states.
prepare
(task)[source]¶Prepare the deployment environment for this node.
task – a TaskManager instance.
NetworkError: if the previous cleaning ports cannot be removed or if new cleaning ports cannot be created.
InvalidParameterValue when the wrong power state is specified or the wrong driver info is specified for power management.
StorageError If the storage driver is unable to attach the configured volumes.
other exceptions by the node’s power driver if something wrong occurred during the power action.
exception.ImageRefValidationFailed if image_source is not Glance href and is not HTTP(S) URL.
exception.InvalidParameterValue if network validation fails.
any boot interface’s prepare_ramdisk exceptions.
validate
(task)[source]¶Validate the driver-specific Node deployment info.
This method validates whether the properties of the supplied node contain the required information for this driver to deploy images to the node.
task – a TaskManager instance
MissingParameterValue, if any of the required parameters are missing.
InvalidParameterValue, if any of the parameters have invalid value.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.