Bug 1325638 - [REST API] Vm/Template entities in API do not include video type attribute
Summary: [REST API] Vm/Template entities in API do not include video type attribute
Keywords:
Status: CLOSED DUPLICATE of bug 1406394
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 3.6.5.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ovirt-4.1.0-beta
: ---
Assignee: Sharon Gratch
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-10 08:23 UTC by sefi litmanovich
Modified: 2017-01-25 09:03 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-25 09:03:53 UTC
oVirt Team: Virt
Embargoed:
michal.skrivanek: ovirt-4.1?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description sefi litmanovich 2016-04-10 08:23:16 UTC
Description of problem:

Under console options of a VM/Template there's a video type parameter (QXL/CIRRUS). This parameter doesn't exit in the API entity of Vms/Templates.
This is somewhat related to this bug -> https://bugzilla.redhat.com/show_bug.cgi?id=1323475 but in any case the question is why is this parameter changeable in the web admin but not API?
There's a comment by tjelinek in bz#1241279 explaining that video type values are not exposed directly in API and are determined by display type. This raises the question why this parameter is exposed under web admin.

I think we should either remove it from web admin or add it to API.

Version-Release number of selected component (if applicable):
rhevm 3.6.5.1-0.1.el6.

How reproducible:
always

Comment 1 sefi litmanovich 2016-04-13 15:05:37 UTC
I should add that the same problem exists with at least one more attribute:
'placement_policy' which also exist for VM entity, exist on web admin's edit template/Instance type but does not exist in template/instance type entities in the API.

Comment 2 sefi litmanovich 2016-04-14 14:28:50 UTC
Also 'virtio_scsi' attributes do not exist on template in API.

Comment 3 Tomas Jelinek 2016-12-14 14:53:50 UTC
this is related to the work being done on https://bugzilla.redhat.com/1381184

Comment 4 Shahar Havivi 2017-01-25 09:03:53 UTC
Sefi will open a new bug for 'placement policy' (RFE) and one for virtio-scsi.
as for the video type attribute will be fix in bz #1406394

*** This bug has been marked as a duplicate of bug 1406394 ***


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