The ironic.drivers.hardware_type Module

Abstract base class for all hardware types.

class ironic.drivers.hardware_type.AbstractHardwareType[source]

Bases: object

Abstract base class for all hardware types.

Hardware type is a family of hardware supporting the same set of interfaces from the ironic standpoint. This can be as wide as all hardware supporting the IPMI protocol or as narrow as several hardware models supporting some specific interfaces.

A hardware type defines an ordered list of supported implementations for each driver interface (power, deploy, etc).

get_properties()[source]

Get the properties of the hardware type.

Note that this returns properties for the default interface of each type, for this hardware type. Since this is not node-aware, interface overrides can’t be detected.

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