Exemplo n.º 1
0
 def __init__(self, targetInfo, ramsesInstallDir, resultDir,
              imagesDesiredDirs, imageDiffScaleFactor, basePath,
              sshConnectionNrAttempts, sshConnectionTimeoutPerAttempt,
              sshConnectionSleepPerAttempt, powerNrAttempts, logLevel):
     Target.__init__(self, targetInfo, ramsesInstallDir, resultDir,
                     imagesDesiredDirs, imageDiffScaleFactor, logLevel)
     self.basePath = basePath
     self.privateKey = targetInfo.privateKey
     self.sshConnectionNrAttempts = sshConnectionNrAttempts
     self.sshConnectionTimeoutPerAttempt = sshConnectionTimeoutPerAttempt
     self.sshConnectionSleepPerAttempt = sshConnectionSleepPerAttempt
     self.powerNrAttempts = powerNrAttempts
     self.executableExistsOnTarget = {}
Exemplo n.º 2
0
 def __init__(self, targetInfo, ramsesInstallDir, resultDir, imagesDesiredDirs, imageDiffScaleFactor,
              basePath, ramsesVersion, gitCommitCount, gitCommitHash,
              sshConnectionNrAttempts, sshConnectionTimeoutPerAttempt,
              sshConnectionSleepPerAttempt, powerNrAttempts, logLevel):
     Target.__init__(self, targetInfo, ramsesInstallDir, resultDir, imagesDesiredDirs, imageDiffScaleFactor, logLevel)
     self.basePath = basePath
     self.ramsesVersion = ramsesVersion
     self.gitCommitCount = gitCommitCount
     self.gitCommitHash = gitCommitHash
     self.privateKey = targetInfo.privateKey
     self.sshConnectionNrAttempts = sshConnectionNrAttempts
     self.sshConnectionTimeoutPerAttempt = sshConnectionTimeoutPerAttempt
     self.sshConnectionSleepPerAttempt = sshConnectionSleepPerAttempt
     self.powerNrAttempts = powerNrAttempts
Exemplo n.º 3
0
 def __init__(self, targetInfo, ramsesInstallDir, resultDir,
              imagesDesiredDirs, imageDiffScaleFactor, logLevel):
     Target.__init__(self, targetInfo, ramsesInstallDir, resultDir,
                     imagesDesiredDirs, imageDiffScaleFactor, logLevel)
     self.tmpDir = tempfile.gettempdir()
     self.hostname = "127.0.0.1"