+ return utils.HostInfo().name
+
+
+class FakeProc:
+ """Fake processor object"""
+
+ def LogWarning(self, msg, *args, **kwargs):
+ pass
+
+ def LogInfo(self, msg, *args, **kwargs):
+ pass
+
+ def LogStep(self, current, total, message):
+ pass
+
+
+class FakeContext:
+ """Fake context object"""
+
+ def __init__(self):
+ self.cfg = FakeConfig()
+ # TODO: decide what features a mock Ganeti Lock Manager must have
+ self.GLM = None