Michael Pasternak has submitted this change and it was merged.
Change subject: restapi: Apply template on VmPool creation using REST API
......................................................................
restapi: Apply template on VmPool creation using REST API
The BackendVmPoolsResource.mapToVM method ignored the supplied template.
Now it maps the VmTemplate to VmStatic and supplies it to VM that has
client-supplied changes applied to it.
Change-Id: Ibe3939662562aadaee68ae423beb824c3487b01e
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=948775
Signed-off-by: Martin Betak <mbetak(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmPoolsResource.java
1 file changed, 8 insertions(+), 6 deletions(-)
Approvals:
Michael Pasternak: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/13639
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibe3939662562aadaee68ae423beb824c3487b01e
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Betak <mbetak(a)redhat.com>
Gerrit-Reviewer: Martin Betak <mbetak(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server