Interface to a state file recording restart attempts.
|
__init__(self,
statefile)
Open, lock, read and parse the file. |
|
|
|
Save(self)
Save state to file, then unlock and close it. |
|
|
|
Close(self)
Unlock configuration file and close it. |
|
|
|
GetNodeBootID(self,
name)
Returns the last boot ID of a node or None. |
|
|
|
SetNodeBootID(self,
name,
bootid)
Sets the boot ID of a node. |
|
|
|
|
|
|
|
|
|
RemoveInstance(self,
instance)
Update state to reflect that a machine is running. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|