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()