Francesco Romani has uploaded a new change for review. Change subject: restapi: expose the host live snapshot support ......................................................................
restapi: expose the host live snapshot support this patch reports the QEMU live snapshot support through the REST API. The live snapshot support is provided by the QEMU binary, so it is not expected to change often, and it is not configurable. Change-Id: I7c1f162195d639955a3e324ac0f52dae97ecaa13 Bug-Url: https://bugzilla.redhat.com/1009100 Signed-off-by: Francesco Romani <[email protected]> --- M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/HostMapper.java 2 files changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/71/28171/1 diff --git a/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd b/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd index 771c12f..dfb8ca2 100644 --- a/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd +++ b/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd @@ -1562,6 +1562,7 @@ <xs:element name="hosted_engine" type="HostedEngine" minOccurs="0" maxOccurs="1"/> <xs:element name="kdump_status" type="xs:string" minOccurs="0" maxOccurs="1"/> <xs:element name="selinux" type="SELinux" minOccurs="0" maxOccurs="1" /> + <xs:element name="live_snapshot_support" type="xs:boolean" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> diff --git a/backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/HostMapper.java b/backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/HostMapper.java index 58c5f7f..d634c43 100644 --- a/backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/HostMapper.java +++ b/backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/HostMapper.java @@ -396,6 +396,7 @@ model.setKdumpStatus(map(entity.getKdumpStatus(), null)); model.setSelinux(map(entity, (SELinux) null)); + model.setLiveSnapshotSupport(map(entity.getLiveSnapshotSupport(), null)); return model; } -- To view, visit http://gerrit.ovirt.org/28171 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7c1f162195d639955a3e324ac0f52dae97ecaa13 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Francesco Romani <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
