Bug 916832 - [RFE] Allow to set VncKeyboardLayout via REST API per VM
Summary: [RFE] Allow to set VncKeyboardLayout via REST API per VM
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.3.0
Assignee: Martin Betak
QA Contact: Tareq Alayan
URL:
Whiteboard: virt
Depends On:
Blocks: 916866 976226 1019470 1034053
TreeView+ depends on / blocked
 
Reported: 2013-03-01 04:37 UTC by Itamar Heim
Modified: 2015-09-22 13:09 UTC (History)
9 users (show)

Fixed In Version: is1
Doc Type: Enhancement
Doc Text:
Previously in the REST API, the keyboard layout used by virtual machines could only be set via a single, global configuration option. With this update, administrators can now set the keyboard layout for individual virtual machines via the keyboard_layout option in the display subtype of a vm object.
Clone Of:
: 916866 (view as bug list)
Environment:
Last Closed: 2014-01-21 17:14:32 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:0038 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Virtualization Manager 3.3.0 update 2014-01-21 22:03:06 UTC

Description Itamar Heim 2013-03-01 04:37:00 UTC
Allow to set VncKeyboardLayout via REST API per VM, rather than a single global based config value.

VDSM already accepted this as part of the API.
GUI not covered by this.

new VM API property:
<xs:element name="keyboard_layout" type="xs:string" minOccurs="0" maxOccurs="1"/>



commit b8f2c926daf2d3bcd4a9a5122987f6755566b805
Author: Martin Betak <mbetak>
Date:   Wed Jan 23 14:01:25 2013 +0100

    restapi: Add per-VM VncKeyboardLayout
    
    Added keyboard_layout to display
    
    Change-Id: Ibdf2b9f74d483a1be9caaa6d6a47ba8de7c37420
    Signed-off-by: Martin Betak <mbetak>

commit 28cbf48ee9fd7117d141eebd155c8b22f8e4c888
Author: Martin Betak <mbetak>
Date:   Tue Jan 22 17:07:34 2013 +0100

    engine: Add per-VM VncKeyboardLayout
    
    Added support for per-VM VncKeyboardLayout setting.
    Backend support for setting local values of keyboard layout per individual VM
    
    Change-Id: Ib73338ce279aa4f14f1332dbdebb1dd0f1cec974
    Signed-off-by: Martin Betak <mbetak>

Comment 1 Tareq Alayan 2013-07-29 14:14:40 UTC
verified

PUT
===
<vm>
<display>
<keyboard_layout>ar</keyboard_layout>
</display>
</vm>



GET
=====
<display>
<type>vnc</type>
<monitors>1</monitors>
<allow_override>false</allow_override>
<smartcard_enabled>false</smartcard_enabled>
<keyboard_layout>ar</keyboard_layout>
</display>

Comment 2 Charlie 2013-11-28 00:19:58 UTC
This bug is currently attached to errata RHEA-2013:15231. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.

Comment 4 errata-xmlrpc 2014-01-21 17:14:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2014-0038.html


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