Change in ovirt-engine[ovirt-engine-3.5]: core: adding API for Cluster Fencing Policy
tnisan at redhat.com
tnisan at redhat.com
Wed Sep 2 08:49:58 UTC 2015
Tal Nisan 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/1258864
Signed-off-by: Eli Mesika <emesika at redhat.com>
(cherry picked from commit a218ed3698d90f89cb3643ebbd474b2265e24578)
---
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, 99 insertions(+), 4 deletions(-)
Approvals:
Tal Nisan: Passed CI tests
Eli Mesika: Looks good to me, but someone else must approve
Juan Hernandez: Verified; Looks good to me, approved
--
To view, visit https://gerrit.ovirt.org/45600
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I086e70890096b5e25cfeb8d519f235952087aa4f
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
More information about the Engine-commits
mailing list