Improve cleanup of hosts after booking
authorParker Berberian <pberberian@iol.unh.edu>
Wed, 2 Jan 2019 18:59:39 +0000 (13:59 -0500)
committerParker Berberian <pberberian@iol.unh.edu>
Wed, 2 Jan 2019 18:59:39 +0000 (13:59 -0500)
commit70e7cda608467942049a5902f94af0569adc165f
treeeeef0c2113fdf38ed28621dd2e6fde7a168a8cbe
parente4dd3bb46d8ca6b54820f8f087268042cd91e359
Improve cleanup of hosts after booking

Previously, the database query was not reliably detecting
hosts which were to be released and made available
for new bookings. This should now take all bookings that
are over and have been cleaned by the lab, and make the
hosts available for reuse.

Change-Id: I040c2e02ac48d7bfde3fc1cf6bac4e59a48c8933
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
src/dashboard/tasks.py