Exemplo n.º 1
0
 def __init__(self, conn):
     BaseMachineHandler.__init__(self, conn)
     self.relation = MachineRelations(self.conn)
     self.family = Family(self.conn)
     self.parent = None
     self.diskconfig = None
     self.kernel = None
Exemplo n.º 2
0
 def set_machine(self, machine):
     BaseMachineHandler.set_machine(self, machine)
     self.relation.set_machine(machine)
     self.parent = self.relation.parents.get_parent()