Bug 1430673 - [REST-API] - Expose 'Driver' type for 'Host Devices'
Summary: [REST-API] - Expose 'Driver' type for 'Host Devices'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.1.1.3
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ovirt-4.1.3
: ---
Assignee: Martin Betak
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-09 09:33 UTC by Michael Burman
Modified: 2017-07-06 13:57 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2017-07-06 13:57:43 UTC
oVirt Team: Virt
Embargoed:
tjelinek: ovirt-4.1?
tjelinek: planning_ack?
rule-engine: devel_ack+
lsvaty: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 74412 0 master MERGED Add `driver` field to HostDevice type 2017-03-23 08:14:16 UTC
oVirt gerrit 74451 0 master MERGED restapi: Expose `driver` field of host devices 2017-04-10 12:01:57 UTC
oVirt gerrit 74546 0 model_4.1 MERGED Add `driver` field to HostDevice type 2017-03-23 08:14:41 UTC
oVirt gerrit 75408 0 ovirt-engine-4.1 MERGED restapi: Expose `driver` field of host devices 2017-04-20 11:27:43 UTC

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


Note You need to log in before you can comment on or make changes to this bug.