The ironic.drivers.modules.oneview.inspect Module

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.

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