| Trees | Indices | Help |
|
|---|
|
|
|
|||
|
TelnetClientProtocol State-machine-based class for telnet |
|||
|
TelnetClient Reactor code to start communications and invoke our telnet transport mechanism. |
|||
|
FakePlugin Fake class to provide plugin instances for command-line processing. |
|||
|
|||
| integer |
|
||
|
|||
| list of FakePlugins |
|
||
|
|||
|
|||
__doc__ = """TelnetCli
|
|||
log = logging.getLogger("zen.TelnetClient")
|
|||
defaultPromptTimeout = 10
|
|||
defaultLoginRegex = 'ogin:.$'
|
|||
defaultPasswordRegex = 'assword:'
|
|||
defaultEnable = False
|
|||
defaultTermLength = False
|
|||
responseMap = "WILL", "WONT", "DO", "DONT"
|
|||
|
|||
To Do: support alternate ports |
|
Test harness main() Usage: python TelnetClient.py hostname[:port] comand [command] Each command must be enclosed in quotes (") to be interpreted properly as a complete unit. |
|
|||
__doc__
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu May 7 11:46:07 2009 | http://epydoc.sourceforge.net |