Package DataCollector :: Module CollectorClient
[show private | hide private]
[frames | no frames]

Module DataCollector.CollectorClient

CollectorClient

Base class for Telnet and Ssh client collectors

Device Tree Parameters are:

zCommandLoginTries - number of times to try login default: 1
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: CollectorClient.py,v 1.5 2004/04/05 02:05:30 edahl Exp $

Classes
CollectorClient  

Function Summary
  buildOptions(parser, usage)
build options list that both telnet and ssh use
  parseOptions(parser, port)

Variable Summary
str __version__ = '1.5'
int defaultCommandTimeout = 10                                                                    
str defaultExistanceTest = 'test -f %s'
str defaultKeyPath = '~/.ssh/id_dsa'
int defaultLoginTimeout = 10                                                                    
int defaultLoginTries = 1                                                                     
str defaultPassword = ''
list defaultSearchPath = []
Logger log = <logging.Logger instance at 0x37c90f8>

Function Details

buildOptions(parser=None, usage=None)

build options list that both telnet and ssh use

Variable Details

__version__

Type:
str
Value:
'1.5'                                                                  

defaultCommandTimeout

Type:
int
Value:
10                                                                    

defaultExistanceTest

Type:
str
Value:
'test -f %s'                                                           

defaultKeyPath

Type:
str
Value:
'~/.ssh/id_dsa'                                                        

defaultLoginTimeout

Type:
int
Value:
10                                                                    

defaultLoginTries

Type:
int
Value:
1                                                                     

defaultPassword

Type:
str
Value:
''                                                                     

defaultSearchPath

Type:
list
Value:
[]                                                                     

log

Type:
Logger
Value:
<logging.Logger instance at 0x37c90f8>                                 

Generated by Epydoc 2.1 on Thu Aug 16 09:55:09 2007 http://epydoc.sf.net