The ironic.drivers.modules.ilo.vendor
Module¶
Vendor Interface for iLO drivers and its supporting methods.
-
class
ironic.drivers.modules.ilo.vendor.
IloVirtualMediaAgentVendorInterface
[source]¶ Bases:
ironic.drivers.modules.agent.AgentVendorInterface
Interface for vendor passthru related actions.
-
class
ironic.drivers.modules.ilo.vendor.
VendorPassthru
[source]¶ Bases:
ironic.drivers.modules.iscsi_deploy.VendorPassthru
Vendor-specific interfaces for iLO deploy drivers.
-
boot_into_iso
(*args, **kwargs)[source]¶ Attaches an ISO image in glance and reboots bare metal.
This method accepts an ISO image href (a Glance UUID or an HTTP(S) URL) attaches it as virtual media and then reboots the node. This is useful for debugging purposes. This can be invoked only when the node is in manage state.
Parameters: - task – A TaskManager object.
- kwargs –
The arguments sent with vendor passthru. The expected kwargs are:
'boot_iso_href': href of the image to be booted. This can be a Glance UUID or an HTTP(S) URL.
-
continue_deploy
(*args, **kwargs)[source]¶ Method invoked when deployed with the IPA ramdisk.
This method is invoked during a heartbeat from an agent when the node is in wait-call-back state. This updates boot mode and secure boot settings, if required.
-
pass_deploy_info
(*args, **kwargs)[source]¶ Continues the deployment of baremetal node over iSCSI.
This method continues the deployment of the baremetal node over iSCSI from where the deployment ramdisk has left off. This updates boot mode and secure boot settings, if required.
Parameters: - task – a TaskManager instance containing the node to act on.
- **kwargs –
kwargs for performing iscsi deployment.
Raises: InvalidState
-
validate
(task, method, **kwargs)[source]¶ Validate vendor-specific actions.
Checks if a valid vendor passthru method was passed and validates the parameters for the vendor passthru method.
Parameters: - task – a TaskManager instance containing the node to act on.
- method – method to be validated.
- kwargs – kwargs containing the vendor passthru method’s parameters.
Raises: MissingParameterValue, if some required parameters were not passed.
Raises: InvalidParameterValue, if any of the parameters have invalid value.
-