Пример #1
0
	def __init__(self, destination, params):
		self.sshpath = params['ssh_path']
		self.user = params['user']
		self.timeout = 10
		if params.has_key('timeout'):
			self.timeout = params['timeout']
		RemoteCommand.__init__(self, destination, params)
Пример #2
0
	def __init__(self, destination, params):
		self.sshpath = params['ssh_path']
		self.user = params['user']
		self.timeout = 10
		if params.has_key('timeout'):
			self.timeout = params['timeout']
		RemoteCommand.__init__(self, destination, params)
Пример #3
0
 def __init__(self, destination, params):
     self.rshpath = params['rsh_path']
     self.user = params['user']
     RemoteCommand.__init__(self, destination, params)
     self.delim = md5.md5(str(random.random())).hexdigest()
Пример #4
0
 def __init__(self, destination, params):
     self.sshpath = params['ssh_path']
     self.user = params['user']
     RemoteCommand.__init__(self, destination, params)
Пример #5
0
	def __init__(self, destination, params):
		self.rshpath = params['rsh_path']
		self.user = params['user']
		RemoteCommand.__init__(self, destination, params)
		self.delim = md5.md5(str(random.random())).hexdigest()
Пример #6
0
	def __init__(self, destination, params):
		self.sshpath = params['ssh_path']
		self.user = params['user']
		RemoteCommand.__init__(self, destination, params)