ironic.drivers.modules.ibmc.vendor module

ironic.drivers.modules.ibmc.vendor module

iBMC Vendor Interface

class ironic.drivers.modules.ibmc.vendor.IBMCVendor(*args, **kwargs)[source]

Bases: 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.

get_raid_controller_list(task, **kwargs)[source]

List RAID controllers summary info of the node.

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

  • kwargs – Not used.

Raises

IBMCConnectionError when it fails to connect to iBMC

Raises

IBMCError when iBMC responses an error information

Returns

A list of dictionaries, every dictionary represents a RAID controller summary of node.

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

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.