ironic.drivers.modules.oneview.management.
OneViewManagement
[source]¶Bases: ironic.drivers.base.ManagementInterface
get_boot_device
(**kwargs)¶get_properties
()[source]¶Return the properties of the interface.
Returns: | dictionary of <property name>:<property description> entries. |
---|
get_sensors_data
(**kwargs)[source]¶Get sensors data.
Not implemented by this driver. :param task: a TaskManager instance.
get_supported_boot_devices
(**kwargs)[source]¶Gets a list of the supported boot devices.
Parameters: | task – a task from TaskManager. |
---|---|
Returns: | A list with the supported boot devices defined
in ironic.common.boot_devices . |
set_boot_device
(**kwargs)¶supported
= False¶validate
(**kwargs)[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, and if the server hardware attributes (ram, memory, vcpus count) are consistent with OneView.
Parameters: | task – a task from TaskManager. |
---|---|
Raises: | InvalidParameterValue if parameters set are inconsistent with resources in OneView |
ironic.drivers.modules.oneview.management.
set_boot_device
(task)[source]¶Sets the boot device for a node.
Sets the boot device to use on next reboot of the node.
Parameters: | task – a task from TaskManager. |
---|---|
Raises: | InvalidParameterValue if an invalid boot device is specified. |
Raises: | OneViewError if the communication with OneView fails |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.