GSoC/GCI Archive
Google Code-in 2010 Oregon State University Open Source Lab

Display units for quota

completed by: CryptWizard

mentors: Peter Krenesky

Please make sure to submit your patch for this task and to take required notes for it in the OSUOSL issue tracker at Required notes would include letting the community know you are working on the issue with a note in the tracker, any notes on progress or difficulties implementing, etc.

For help with this task, contact kreneskyp or ramereth in #ganeti-webmgr on Freenode.

Task description:

The units for RAM and Disk are not displayed so its confusing what you put in there. I believe they are MB by default. This needs to be changed on the cluster edit/create page and the users view in the cluster. Ideally it would be nice to change the units viewed to GB, etc if its large enough (say three significant digits).