Change in ovirt-engine[master]: restapi: Support host install/reinstall of HE

rgolan at redhat.com rgolan at redhat.com
Mon May 30 11:07:54 UTC 2016


Roy Golan has submitted this change and it was merged.

Change subject: restapi: Support host install/reinstall of HE
......................................................................


restapi: Support host install/reinstall of HE

Expose 2 matrix parameters when adding/installing a host:
- POST api/hosts;deploy_hosted_engine
  will pass a DEPLOY action to the underlying installation and if there
  is a hosted engine setup that will deploy the host as part of the
  hosted engine HA cluster.
- POST api/hosts;undeploy_hosted_engine
  Essentially removing the hosted engine HA component and removing this
  host from the HA cluster. i.e it will not run the hosted engine
  anymore.

Change-Id: Ib2f851f4fec582506f3a3df07407d62385cb9a87
Bug-Url: https://bugzilla.redhat.com/1167262
Signed-off-by: Roy Golan <rgolan at redhat.com>
Depends-On: https://gerrit.ovirt.org/55920
---
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/main/java/org/ovirt/engine/api/restapi/resource/BackendHostsResource.java
A backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/HostResourceParametersUtil.java
4 files changed, 55 insertions(+), 0 deletions(-)

Approvals:
  Ori Liel: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Roy Golan: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib2f851f4fec582506f3a3df07407d62385cb9a87
Gerrit-PatchSet: 33
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Anatoly Litovsky <tlitovsk at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Jenkins CI RO
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Lev Veyde <lveyde at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list