Comment 7 for bug 972034

Revision history for this message
Eoghan Glynn (eglynn) wrote :

Would it be more symmetric to use -1 end-to-end to represent unlimited? (instead of -1 for create/update, but None for show)

So -1 would be stored as the hard_limit in the quotas & quota_classes tables to represent an unlimited threshold, and the checks against None in nova/quota.py would morph to == -1.

Then novaclient could also be updated to report say '-1 (unlimited)' instead of None for unlimited thresholds.