Esempio n. 1
0
 def __init__(self, conn, hostname):
     Environment.__init__(self, conn, 'current_environment', 'hostname')
     self.set_main(hostname)
Esempio n. 2
0
 def __init__(self, conn, suite, trait):
     self.suite = suite
     table = ujoin(suite, 'variables')
     Environment.__init__(self, conn, table, 'trait')
     self.set_main(trait)
Esempio n. 3
0
 def __init__(self, conn, machine_type):
     BaseMachineTypeObject.__init__(self)
     Environment.__init__(self, conn, 'machine_type_variables', 'trait')
     self.current = machine_type
Esempio n. 4
0
 def __init__(self, conn, hostname):
     Environment.__init__(self, conn, 'current_environment', 'hostname')
     self.set_main(hostname)
Esempio n. 5
0
 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)
Esempio n. 6
0
 def __init__(self, conn, suite, trait):
     self.suite = suite
     table = ujoin(suite, 'variables')
     Environment.__init__(self, conn, table, 'trait')
     self.set_main(trait)
Esempio n. 7
0
 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)
Esempio n. 8
0
 def __init__(self, conn, machine_type):
     BaseMachineTypeObject.__init__(self)
     Environment.__init__(self, conn, 'machine_type_variables', 'trait')
     self.current = machine_type
Esempio n. 9
0
 def __init__(self, conn, hostname):
     Environment.__init__(self, conn, "current_environment", "hostname")
     self.set_main(hostname)
Esempio n. 10
0
 def __init__(self, conn):
     BaseMachineDbObject.__init__(self, conn, table='machine_variables')
     Environment.__init__(self, conn, 'machine_variables', 'trait')
     self._parents = MachineParents(self.conn)
Esempio n. 11
0
 def __init__(self, conn, suite):
     self.suite = suite
     table = ujoin(suite, "variables")
     Environment.__init__(self, conn, table, "trait")
Esempio n. 12
0
 def __init__(self, conn):
     BaseMachineDbObject.__init__(self, conn, table='machine_variables')
     Environment.__init__(self, conn, 'machine_variables', 'trait')
     self._parents = MachineParents(self.conn)