Changeset 2158 for trunk/packages


Ignore:
Timestamp:
Feb 17, 2009, 4:29:48 AM (16 years ago)
Author:
broder
Message:

Be explicit about units in invirt-setquota.

Location:
trunk/packages/invirt-database
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-database/debian/changelog

    r2156 r2158  
    11invirt-database (0.1.7) unstable; urgency=low
    22
    3   * Disk quotas are measured in gigabytes.
     3  * Disk quotas are measured in gibibytes.
    44  * Rename invirt-setquotas to invirt-quota.
    5 
    6  -- Evan Broder <broder@mit.edu>  Tue, 17 Feb 2009 04:16:33 -0500
     5  * Be explicit about units in invirt-quota.
     6
     7 -- Evan Broder <broder@mit.edu>  Tue, 17 Feb 2009 04:29:20 -0500
    78
    89invirt-database (0.1.6) unstable; urgency=low
  • trunk/packages/invirt-database/python/database/owner.py

    r2155 r2158  
    2626        if not f:
    2727            f = MAX_VMS_ACTIVE
    28         return """<Owner %s: ram_quota_total=%s MB ram_quota_single=%s MB
    29 disk_quota_total=%s GB disk_quota_single=%s GB
     28        return """<Owner %s: ram_quota_total=%s MiB ram_quota_single=%s MiB
     29disk_quota_total=%s GiB disk_quota_single=%s GiB
    3030vms_quota_total=%s vms_quota_active=%s >""" % (self.owner_id, a,b,c,d,e,f)
    3131    def getMemoryQuotas(owner):
Note: See TracChangeset for help on using the changeset viewer.