The ironic.drivers.modules.irmc.inspect Module

iRMC Inspect Interface

class ironic.drivers.modules.irmc.inspect.IRMCInspect[source]

Bases: ironic.drivers.base.InspectInterface

Interface for out of band inspection.

get_properties()[source]

Return the properties of the interface.

Returns:dictionary of <property name>:<property description> entries.
inspect_hardware(*args, **kwargs)[source]

Inspect hardware.

Inspect hardware to obtain the essential hardware properties and mac addresses.

Parameters:task – a task from TaskManager.
Raises:HardwareInspectionFailure, if hardware inspection failed.
Returns:states.MANAGEABLE, if hardware inspection succeeded.
validate(*args, **kwargs)[source]

Validate the driver-specific inspection information.

This method validates whether the ‘driver_info’ property of the supplied node contains the required information for this driver.

Parameters:task – a TaskManager instance containing the node to act on.
Raises:InvalidParameterValue if required driver_info attribute is missing or invalid on the node.
Raises:MissingParameterValue if a required parameter is missing.
ironic.drivers.modules.irmc.inspect.METRICS = <ironic_lib.metrics.NoopMetricLogger object>

SC2.mib: sc2UnitNodeClass returns NIC type.

sc2UnitNodeClass OBJECT-TYPE
SYNTAX INTEGER { unknown(1), primary(2), secondary(3), management-blade(4), secondary-remote(5), secondary-remote-backup(6), baseboard-controller(7) } ACCESS read-only STATUS mandatory DESCRIPTION “Management node class: primary: local operating system interface secondary: local management controller LAN interface management-blade: management blade interface (in a blade server chassis) secondary-remote: remote management controller (in an RSB concentrator environment) secondary-remote-backup: backup remote management controller baseboard-controller: local baseboard management controller (BMC)” ::= { sc2ManagementNodes 8 }
ironic.drivers.modules.irmc.inspect.NODE_CLASS_OID = '1.3.6.1.4.1.231.2.10.2.2.10.3.1.1.8.1'

SC2.mib: sc2UnitNodeMacAddress returns NIC MAC address

sc2UnitNodeMacAddress OBJECT-TYPE
SYNTAX PhysAddress ACCESS read-only STATUS mandatory DESCRIPTION “Management node hardware (MAC) address” ::= { sc2ManagementNodes 9 }