Change in ovirt-engine[master]: rest api: edit running vm

ofrenkel at redhat.com ofrenkel at redhat.com
Mon May 26 07:02:25 UTC 2014


Omer Frenkel has submitted this change and it was merged.

Change subject: rest api: edit running vm
......................................................................


rest api: edit running vm

Add field to vm to indicate there is configuration for next run.
Add url parameter for getting the configuration (usage:
api/vms/vmId;next_run)
and the same for updating vm, marking not to hot plug changes if any
(for example not to hot plug cpu if changed while vm is running, usage
is the same)

Feature page: http://www.ovirt.org/Features/Edit_Running_VM
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1072313
Change-Id: I848a9fefb74a982923f655fc1293dc38f419cb1c
Signed-off-by: Omer Frenkel <ofrenkel at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmResource.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmResourceTest.java
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
5 files changed, 39 insertions(+), 1 deletion(-)

Approvals:
  Ori Liel: Looks good to me, approved
  Omer Frenkel: Verified



-- 
To view, visit http://gerrit.ovirt.org/27382
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I848a9fefb74a982923f655fc1293dc38f419cb1c
Gerrit-PatchSet: 10
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list