Пример #1
0
 def __init__(self, conn, hostname):
     Environment.__init__(self, conn, 'current_environment', 'hostname')
     self.set_main(hostname)
Пример #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)
Пример #3
0
 def __init__(self, conn, machine_type):
     BaseMachineTypeObject.__init__(self)
     Environment.__init__(self, conn, 'machine_type_variables', 'trait')
     self.current = machine_type
Пример #4
0
 def __init__(self, conn, hostname):
     Environment.__init__(self, conn, 'current_environment', 'hostname')
     self.set_main(hostname)
Пример #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)
Пример #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)
Пример #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)
Пример #8
0
 def __init__(self, conn, machine_type):
     BaseMachineTypeObject.__init__(self)
     Environment.__init__(self, conn, 'machine_type_variables', 'trait')
     self.current = machine_type
Пример #9
0
 def __init__(self, conn, hostname):
     Environment.__init__(self, conn, "current_environment", "hostname")
     self.set_main(hostname)
Пример #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)
Пример #11
0
 def __init__(self, conn, suite):
     self.suite = suite
     table = ujoin(suite, "variables")
     Environment.__init__(self, conn, table, "trait")
Пример #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)