Maor Lipchuk has uploaded a new change for review.

Change subject: engine: Add quota validation for AddVmCommand
......................................................................

engine: Add quota validation for AddVmCommand

In the next patch, I added support when validating quota at creation of
VM command.
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: Ia2af7b2a1376db99593c42127b172925d8e88a98
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmCommand.java
1 file changed, 46 insertions(+), 0 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia2af7b2a1376db99593c42127b172925d8e88a98
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

Reply via email to