After discussion with zaneb on IRC, we've agreed to keep the existing interface, but rename the check_active to check_create_complete, then we'll add check_suspend_complete etc.
This will fix the problem of aligning the check_foo functions with the state we are checking for, and mean that resource implementations must explicitly implement support for the state transition we are attempting.
After discussion with zaneb on IRC, we've agreed to keep the existing interface, but rename the check_active to check_create_ complete, then we'll add check_suspend_ complete etc.
This will fix the problem of aligning the check_foo functions with the state we are checking for, and mean that resource implementations must explicitly implement support for the state transition we are attempting.