Maor Lipchuk has uploaded a new change for review.

Change subject: engine: Add quota validation for Add Vm Tempalte
......................................................................

engine: Add quota validation for Add Vm Tempalte

In the next patch, I added support for validating quota when adding new
tempalte.
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 then update
the delta map with the size requested to consume.
After the operation finished, we remove the delta that was saved before
from the delta map.

Change-Id: I078095622bd296ec32ef36cbc5eabc67cbcade0f
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java
1 file changed, 62 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/02/2102/1
--
To view, visit http://gerrit.ovirt.org/2102
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I078095622bd296ec32ef36cbc5eabc67cbcade0f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipc...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to