Package ganeti :: Module config :: Class TemporaryReservationManager
[hide private]
[frames] | no frames]

Class TemporaryReservationManager

source code

A temporary resource reservation manager.

This is used to reserve resources in a job, before using them, making sure other jobs cannot get them in the meantime.

Instance Methods [hide private]
 
__init__(self) source code
 
Reserved(self, resource) source code
 
Reserve(self, ec_id, resource) source code
 
DropECReservations(self, ec_id) source code
 
GetReserved(self) source code
 
Generate(self, existing, generate_one_fn, ec_id)
Generate a new resource of this type
source code