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.

reboot_to_instance(*args, **kwargs)[source]
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.

validate(*args, **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.

Project Source

This Page