The ironic.drivers.modules.oneview.management Module

class ironic.drivers.modules.oneview.management.OneViewManagement[source]

Bases: ironic.drivers.base.ManagementInterface

get_boot_device(*args, **kwargs)[source]
get_properties()[source]
get_sensors_data(task)[source]

Get sensors data.

Not implemented by this driver. :param task: a TaskManager instance.

get_supported_boot_devices(task)[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(*args, **kwargs)[source]
validate(task)[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, 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

Project Source

This Page