ironic.drivers.modules.ilo.vendor module

Vendor Interface for iLO drivers and its supporting methods.

class ironic.drivers.modules.ilo.vendor.VendorPassthru[source]

Bases: ironic.drivers.base.VendorInterface

Vendor-specific interfaces for iLO deploy drivers.

boot_into_iso(task, **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.
    

get_properties()[source]

Return the properties of the interface.

Returns

dictionary of <property name>:<property description> entries.

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.