Piotr Kliczewski 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(a)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:
Juan Hernandez: Looks good to me, approved
Jenkins CI: Passed CI tests
Roy Golan: Verified
--
To view, visit
https://gerrit.ovirt.org/58263
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib2f851f4fec582506f3a3df07407d62385cb9a87
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>