Alex Lourie has uploaded a new change for review. Change subject: ovirt-engine: Add quota usage functions ......................................................................
ovirt-engine: Add quota usage functions In the next patch I added quota functions to calculate the usage of the quota in real time. The functions that are being added are: CalculateVdsGroupUsage - Summerise the VCPU and memory usage for all the VMs in the quota which are not down or suspended. CalculateStorageUsage - Summerise the storage usage for all the disks in the quota, for active disks, we summerise the full size, for snapshots and other disks summerise only the actual size. Acked By: Eli Mesika <[email protected]> Change-Id: Ifa6caf21f3170b8e69a7a154a483d605b71e0327 --- M backend/manager/dbscripts/create_functions.sql 1 file changed, 57 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/81/1481/1 -- To view, visit http://gerrit.ovirt.org/1481 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifa6caf21f3170b8e69a7a154a483d605b71e0327 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: engine_3.0 Gerrit-Owner: Alex Lourie <[email protected]> Gerrit-Reviewer: Maor Lipchuk <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
