-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Brad Frank edited this page Mar 13, 2015
·
14 revisions
from hmdcquotas import HMDCQuotas
quotas = HMDCQuotas()
Example: quotas.convert_to_kb("50G")
Example: quotas.get_vserver("projects_ci3")
Example: quotas.group_lookup("admin", "projects", "nc-hmdc-svm01-mgmt")
Example: quotas.modify("add", "admin", "projects", "nc-hmdc-svm01-mgmt", ["50G", 655362])
Example: quotas.search_vservers("admin", ["projects"])
Example: quotas.search_volumes("admin", "nc-hmdc-svm01-mgmt")