Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: add use_latest_template_version to vm restapi
......................................................................
restapi: add use_latest_template_version to vm restapi
Add the new optional parameter that is relevant for stateless vm creation.
It can be also passed when updating a vm.
By using it, users can select to always create stateless vm based on its
latest version of the used template.
Feature page
http://www.ovirt.org/Features/Template_Versions#REST_API
Change-Id: I38b569f7ef6df4d485dac15b804427c8248ab540
Signed-off-by: Alissa Bonas <abonas(a)redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
M
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
M
backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmsResourceTest.java
M
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/VmMapper.java
4 files changed, 79 insertions(+), 15 deletions(-)
Approvals:
Juan Hernandez: Looks good to me, approved
Omer Frenkel: Verified; Looks good to me, but someone else must approve
--
To view, visit
http://gerrit.ovirt.org/23560
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I38b569f7ef6df4d485dac15b804427c8248ab540
Gerrit-PatchSet: 10
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alissa Bonas <abonas(a)redhat.com>
Gerrit-Reviewer: Alissa Bonas <abonas(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server