ironic.drivers.modules.ibmc.vendor module

iBMC Vendor Interface

class ironic.drivers.modules.ibmc.vendor.IBMCVendor[source]

Bases: ironic.drivers.base.VendorInterface

boot_up_seq(task, **kwargs)[source]

List boot type order of the node.

Parameters
  • task – A TaskManager instance containing the node to act on.

  • kwargs – Not used.

Raises

InvalidParameterValue if kwargs does not contain ‘method’.

Raises

MissingParameterValue

Raises

IBMCConnectionError when it fails to connect to iBMC

Raises

IBMCError when iBMC responses an error information

Returns

A dictionary, containing node boot up sequence, in ascending order.

get_properties()[source]

Return the properties of the interface.

Returns

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

supported = False
validate(task, method=None, **kwargs)[source]

Validate vendor-specific actions.

If invalid, raises an exception; otherwise returns None.

Parameters
  • task – A task from TaskManager.

  • method – Method to be validated

  • kwargs – Info for action.

Raises

UnsupportedDriverExtension if ‘method’ can not be mapped to the supported interfaces.

Raises

InvalidParameterValue if kwargs does not contain ‘method’.

Raises

MissingParameterValue