| Trees | Indices | Help |
|
|---|
|
|
TelnetSession
TelnetSession is used by TelnetSession to issue commands to a machine
and return their output over the telnet protocol.
Device Tree Parameters are:
zTelnetLoginTries - number of times to try login default: 1
zTelnetLoginTimeout - timeout for expect statements during login default: 2
zTelnetPromptPause - pause used during prompt discovery default: 0.2
zTelnetCommandTimeout - default timeout when executing a command default: 5
zTelnetLoginRegex - regex to match the login prompt default: 'ogin:.$'
zTelnetPasswordRegex - regext to match the password prompt default: 'assword:.$'
zTelnetSuccessRegexList - list of regex that match good login prompts
default: [ '\$.$', '\#.$' ]
Other Parameters that are used by both TelnetSession and SshTransport:
zCommandPathList - list of path to check for a command
zCommandExistanceCheck - shell command issued to look for executible
must echo succ if executible is found
default: test -f executible
$Id: TelnetSession.py,v 1.5 2004/02/14 19:11:00 edahl Exp $
Version: 1.5
|
|||
| TelnetSession | |||
|
|||
|
|||
|
|||
__doc__ = """TelnetSess
|
|||
|
|||
__doc__
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Oct 25 16:27:41 2007 | http://epydoc.sourceforge.net |