def __init__(self, conn, hostname): Environment.__init__(self, conn, 'current_environment', 'hostname') self.set_main(hostname)
def __init__(self, conn, suite, trait): self.suite = suite table = ujoin(suite, 'variables') Environment.__init__(self, conn, table, 'trait') self.set_main(trait)
def __init__(self, conn, machine_type): BaseMachineTypeObject.__init__(self) Environment.__init__(self, conn, 'machine_type_variables', 'trait') self.current = machine_type
def __init__(self, conn, profile): self.suite = get_suite(conn, profile) self.profile = profile Environment.__init__(self, conn, 'profile_variables', 'trait') self.traitparent = TraitParent(self.conn, self.suite)
def __init__(self, conn, hostname): Environment.__init__(self, conn, "current_environment", "hostname") self.set_main(hostname)
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, suite): self.suite = suite table = ujoin(suite, "variables") Environment.__init__(self, conn, table, "trait")