ironic.drivers.modules.irmc.inspect
Module¶iRMC Inspect Interface
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.
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
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.