svn path=/trunk/packages/invirt-database/; revision=2158
invirt-database (0.1.7) unstable; urgency=low
- * Disk quotas are measured in gigabytes.
+ * Disk quotas are measured in gibibytes.
* Rename invirt-setquotas to invirt-quota.
+ * Be explicit about units in invirt-quota.
- -- Evan Broder <broder@mit.edu> Tue, 17 Feb 2009 04:16:33 -0500
+ -- Evan Broder <broder@mit.edu> Tue, 17 Feb 2009 04:29:20 -0500
invirt-database (0.1.6) unstable; urgency=low
e = MAX_VMS_TOTAL
if not f:
f = MAX_VMS_ACTIVE
- return """<Owner %s: ram_quota_total=%s MB ram_quota_single=%s MB
-disk_quota_total=%s GB disk_quota_single=%s GB
+ return """<Owner %s: ram_quota_total=%s MiB ram_quota_single=%s MiB
+disk_quota_total=%s GiB disk_quota_single=%s GiB
vms_quota_total=%s vms_quota_active=%s >""" % (self.owner_id, a,b,c,d,e,f)
def getMemoryQuotas(owner):
owner_info = Owner.query().filter_by(owner_id=owner).first()