None
Bases: ironic.drivers.modules.inspector.Inspector
Interface for in band inspection.
OneViewInspect.
get_properties
()[source]¶Return the properties of the interface.
Returns: | dictionary of <property name>:<property description> entries. |
---|
OneViewInspect.
inspect_hardware
(task)[source]¶Inspect hardware to obtain the hardware properties.
This particular implementation only starts inspection using ironic-inspector. Results will be checked in a periodic task.
Parameters: | task – a task from TaskManager. |
---|---|
Returns: | states.INSPECTWAIT |
OneViewInspect.
validate
(task)[source]¶Checks required info on ‘driver_info’ and validates node for 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 |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.