At IAlloc backend guess state from admin state
At IAlloc backend guess state from admin state

At the IAlloc backend of htools we do not get the actual
state of the instance (as everything is state-of-record only).
However, we do get the administrative state. Therefore, by
assuming that for each instance the actual state is the one
corresponding to the administrated one, we can get a much better
description of the cluster than blindly assuming all instances
are running. Do so, whenever the admin_state is provided.

Signed-off-by: Klaus Aehlig <4ce51de36d9068cd7db2eec1151e0f3f95419008@google.com>
Reviewed-by: Lisa Velden <f95ae155456787aef400a49db463a62bbef84ead@google.com>

ganeti/ganeti,leshchevds/ganeti,ganeti/ganeti,andir/ganeti,onponomarev/ganeti,leshchevds/ganeti,ganeti/ganeti,andir/ganeti,mbakke/ganeti,leshchevds/ganeti,mbakke/ganeti,andir/ganeti,mbakke/ganeti,yiannist/ganeti,yiannist/ganeti,yiannist/ganeti,onponomarev/ganeti