Maor Lipchuk has submitted this change and it was merged.

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  <emes...@redhat.com>
Change-Id: Ifa6caf21f3170b8e69a7a154a483d605b71e0327
---
M backend/manager/dbscripts/create_functions.sql
1 file changed, 57 insertions(+), 0 deletions(-)

Approvals:
  Maor Lipchuk: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/1000
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifa6caf21f3170b8e69a7a154a483d605b71e0327
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to