def validate(self, task):
    "Checks required info on 'driver_info' and validates node with OneView\n\n        Validates whether the 'driver_info' property of the supplied\n        task's node contains the required info such as server_hardware_uri,\n        server_hardware_type, server_profile_template_uri and\n        enclosure_group_uri. Also, checks if the server profile of the node is\n        applied, if NICs are valid for the server profile of the node, and if\n        the server hardware attributes (ram, memory, vcpus count) are\n        consistent with OneView.\n\n        :param task: a task from TaskManager.\n        :raises: InvalidParameterValue if parameters set are inconsistent with\n                 resources in OneView\n        "
    common.verify_node_info(task.node)
    try:
        common.validate_oneview_resources_compatibility(task)
    except exception.OneViewError as oneview_exc:
        raise exception.InvalidParameterValue(oneview_exc)
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.

:param task: a task from TaskManager.
:raises: InvalidParameterValue if parameters set are inconsistent with
         resources in OneView
def validate(self, task):
    "Checks required info on 'driver_info' and validates node with OneView\n\n        Validates whether the 'driver_info' property of the supplied\n        task's node contains the required info such as server_hardware_uri,\n        server_hardware_type, server_profile_template_uri and\n        enclosure_group_uri. Also, checks if the server profile of the node is\n        applied, if NICs are valid for the server profile of the node, and if\n        the server hardware attributes (ram, memory, vcpus count) are\n        consistent with OneView.\n\n        :param task: a task from TaskManager.\n        :raises: InvalidParameterValue if parameters set are inconsistent with\n                 resources in OneView\n        "
    common.verify_node_info(task.node)
    try:
        common.validate_oneview_resources_compatibility(task)
    except exception.OneViewError as oneview_exc:
        raise exception.InvalidParameterValue(oneview_exc)