if i.hostname==hostname: return i
raise Exception ("Could not locate hostname %s in pool %s"%(hostname,self.message))
if i.hostname==hostname: return i
raise Exception ("Could not locate hostname %s in pool %s"%(hostname,self.message))
if i.hostname==name: i.status='mine'
# we load this after actual sensing;
def load_starting (self):
try: items=[line.strip() for line in file(Pool.starting).readlines()]
except: items=[]
if i.hostname==name: i.status='mine'
# we load this after actual sensing;
def load_starting (self):
try: items=[line.strip() for line in file(Pool.starting).readlines()]
except: items=[]