Check for Host Availability 71/66171/2
authorParker Berberian <pberberian@iol.unh.edu>
Thu, 3 Jan 2019 20:46:32 +0000 (15:46 -0500)
committerParker Berberian <pberberian@iol.unh.edu>
Mon, 25 Feb 2019 16:34:10 +0000 (11:34 -0500)
commit3ef36a843a36a4c340b22514fc57decafd9d8a42
tree2fcd147e85150ee59538207076d841504d6d06ed
parent879ebf85275e5f8942eb1a1e30d76cbee2a70715
Check for Host Availability

Currently, if not enough hosts are free to fulfill a booking,
booking creation will fail with an error message to the users.
This commit adds a way to check if a given POD will be available
and communicates to the user if not.

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