Change in ovirt-engine[master]: restapi: Support host upgrade

masayag at redhat.com masayag at redhat.com
Wed May 13 11:43:15 UTC 2015


Moti Asayag has submitted this change and it was merged.

Change subject: restapi: Support host upgrade
......................................................................


restapi: Support host upgrade

The patch adds support for upgrading a host or ovirt-node.

POST
   /api/hosts/{host:id}/upgrade

for ovirt-node the action should contains the image name:
  <action>
    <image>ovirt-node-xxxx.iso</image>
  </action>

Feature page: http://www.ovirt.org/Home/Features/UpgradeManager
Change-Id: I78319727dd30fb38ced196afcb839ac9c1da0410
Bug-Url: https://bugzilla.redhat.com/1157368
Signed-off-by: Moti Asayag <masayag at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/HostResource.java
M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendHostResource.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendHostResourceTest.java
4 files changed, 39 insertions(+), 1 deletion(-)

Approvals:
  Moti Asayag: Verified; Looks good to me, approved
  Oved Ourfali: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/40463
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I78319727dd30fb38ced196afcb839ac9c1da0410
Gerrit-PatchSet: 12
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list