Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1430673

Summary: [REST-API] - Expose 'Driver' type for 'Host Devices'
Product: [oVirt] ovirt-engine Reporter: Michael Burman <mburman>
Component: RestAPIAssignee: Martin Betak <mbetak>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matyáš <pmatyas>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1.1.3CC: bugs, lsvaty, mkalfon, stirabos, tjelinek
Target Milestone: ovirt-4.1.3Flags: tjelinek: ovirt-4.1?
tjelinek: planning_ack?
rule-engine: devel_ack+
lsvaty: testing_ack+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: The 'driver' field of host devices was previously only exposed in the webadmin UI. Now it is also exposed in the RESTful API in the endpoints corresponding to host's devices and their corresponding assignments.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-06 13:57:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Burman 2017-03-09 09:33:45 UTC
Description of problem:
REST-API] - Expose 'Driver' type for 'Host Devices'.

Currently we aren't exposing the 'Driver' type in rest, but we do on ui(VMs>Add Host Device).
Driver type is very important for automation writing and we need to expose it.
If it visible in the ui, then it should be visible in rest as well. 

As 'Name', 'Vendor' and 'Product name' may change from host to host and it's hard to search this way, the driver type is very important for our automation test writing, for BZ 1427202 specially.

Version-Release number of selected component (if applicable):
4.1.1.3-0.1.el7

How reproducible:
100

Additional info:
In order to cover scenario described on https://bugzilla.redhat.com/show_bug.cgi?id=1427202, we need to have the 'Driver' type exposed in rest.
This will help other teams(virt) as well on their automation test writing to cover the host device features.

Comment 1 Petr Matyáš 2017-06-02 08:28:36 UTC
Verified in 4.1.3-2