LunaNode / lobster

Hourly billing panel for virtual machines
http://lobster.lunanode.com
Other
84 stars 22 forks source link

Bandwidth after resize #33

Closed uakfdotb closed 9 years ago

uakfdotb commented 9 years ago

We do not consider resizes in bandwidth accounting. That means a user could resize at the end of the month or something to get more bandwidth, but only pay for the new VM plan for a small period of time. Solution is to maybe reset the VM time created to the time of the resize and then adjust user's additional bandwidth column appropriately (same column that's incremented when user deletes VM).