Juan Hernandez has submitted this change and it was merged.
Change subject: core: adding API for Cluster Fencing Policy
......................................................................
core: adding API for Cluster Fencing Policy
This patch adds support for get/set/add cluster fencing policy from the
REST API
clusters retrieved from REST will have now the following section
(example):
<fencing_policy>
<enabled>true</enabled>
<skip_if_sd_active>
<enabled>false</enabled>
</skip_if_sd_active>
<skip_if_connectivity_broken>
<enabled>false</enabled>
<threshold>50</threshold>
</skip_if_connectivity_broken>
</fencing_policy>
Change-Id: I086e70890096b5e25cfeb8d519f235952087aa4f
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1127592
Signed-off-by: Eli Mesika <emesika(a)redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
M
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
M
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMapper.java
A
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/FencingPolicyMapper.java
A
backend/manager/modules/restapi/types/src/test/java/org/ovirt/engine/api/restapi/types/FencingPolicyMapperTest.java
5 files changed, 100 insertions(+), 5 deletions(-)
Approvals:
Eli Mesika: Verified
Juan Hernandez: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/33713
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I086e70890096b5e25cfeb8d519f235952087aa4f
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server