The ironic.drivers.modules.oneview.inspect Module

class ironic.drivers.modules.oneview.inspect.OneViewInspect[source]

Bases: ironic.drivers.modules.inspector.Inspector

Interface for in band inspection.

get_properties()[source]
inspect_hardware(*args, **kwargs)[source]
validate(*args, **kwargs)[source]

Checks required info on ‘driver_info’ and validates node with OneView

Validates whether the ‘driver_info’ property of the supplied task’s node contains the required info such as server_hardware_uri, server_hardware_type, server_profile_template_uri and enclosure_group_uri. Also, checks if the server profile of the node is applied, if NICs are valid for the server profile of the node.

Parameters:task – a task from TaskManager.
Raises:InvalidParameterValue if parameters set are inconsistent with resources in OneView