Maor Lipchuk has uploaded a new change for review. Change subject: engine:Add quota validation for AddVmFromTempoalte ......................................................................
engine:Add quota validation for AddVmFromTempoalte In the current patch, I added support for validating quota when adding VM from template The validation assembled from several phasas, and count on a delta memory map mechanism, described in the quota manager. The validation start with the method validateQuota, which update the delta map with the storage resources demended for the operation about to be executed. After the operation finishes, and the VM is running, The delta size added before is being removed. In this patch I added reduce of quota since after each image creation the delta can be reduced with the image size. Change-Id: Ia63af145aa319eae139f6d475b8547bd2af8045d --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmFromTemplateCommand.java 1 file changed, 29 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/04/2104/1 -- To view, visit http://gerrit.ovirt.org/2104 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia63af145aa319eae139f6d475b8547bd2af8045d Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Maor Lipchuk <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
