| 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
zTelnetPromptTimeout - 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:.$'
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: TelnetClient.py,v 1.15 2004/04/05 02:05:30 edahl Exp $
Version: 1.15
|
|||
| TelnetClientProtocol | |||
| TelnetClient | |||
|
|||
|
|||
|
|||
|
|||
|
|||
__doc__ = """TelnetSess
|
|||
log = logging.getLogger("zen.TelnetClient")
|
|||
defaultPromptTimeout = 10
|
|||
defaultCommandTimeout = 20
|
|||
defaultLoginRegex =
|
|||
defaultPasswordRegex =
|
|||
defaultEnable = False
|
|||
defaultTermLength = False
|
|||
responceMap =
|
|||
|
|||
__doc__
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Oct 25 16:27:41 2007 | http://epydoc.sourceforge.net |