def __init__(self, conn): BaseMachineDbObject.__init__(self, conn, table='machines') self.parents = MachineParents(self.conn) self.scripts = MachineScripts(self.conn) self.family = MachineFamily(self.conn) self.environment = MachineEnvironment(self.conn) self.config = None # These aren't really actual relations in the # same sense that the above objects are # but they are objects the the machines # table relates to, and should fit nicely in this # class. self.diskconfig = DiskConfigHandler(self.conn) self.kernels = Table_cursor(self.conn, 'kernels') # This is the main family class self.mainfamily = Family(self.conn)
def __init__(self, conn): BaseMachineDbObject.__init__(self, conn, table='machines') self.parents = MachineParents(self.conn) self.scripts = MachineScripts(self.conn) self.family = MachineFamily(self.conn) self.environment = MachineEnvironment(self.conn) self.config = None # These aren't really actual relations in the # same sense that the above objects are # but they are objects the the machines # table relates to, and should fit nicely in this # class. self.diskconfig = DiskConfigHandler(self.conn) self.kernels = Table_cursor(self.conn, 'kernels') # This is the main family class self.mainfamily = Family(self.conn)
def __init__(self, conn): BaseMachineDbObject.__init__(self, conn, table='machine_parent')
def __init__(self, conn): BaseMachineDbObject.__init__(self, conn, table='machine_variables') Environment.__init__(self, conn, 'machine_variables', 'trait') self._parents = MachineParents(self.conn)
def __init__(self, conn): BaseMachineDbObject.__init__(self, conn, table='machine_family')
def __init__(self, conn): BaseMachineDbObject.__init__(self, conn, table='machine_parent')
def __init__(self, conn): BaseMachineDbObject.__init__(self, conn, table='machine_variables') Environment.__init__(self, conn, 'machine_variables', 'trait') self._parents = MachineParents(self.conn)
def __init__(self, conn): BaseMachineDbObject.__init__(self, conn, table='machine_family')