Changeset 5bf359d for fedd/federation/proxy_segment.py
- Timestamp:
- May 28, 2010 3:16:46 AM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 2f6820c
- Parents:
- 06cc65b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/proxy_segment.py
r06cc65b r5bf359d 13 13 14 14 class proxy_segment: 15 """ 16 Base class for segment starter classes that access their underlying testebd 17 remotely using ssh. It is promarily a code repository for commonly used 18 ssh commands for moving code and logging in. 19 """ 15 20 class ssh_cmd_timeout(RuntimeError): pass 16 21 17 22 def __init__(self, log=None, keyfile=None, debug=False): 18 self.log = log or logging.getLogger(\ 19 'fedd.access.proxy_segment') 23 """ 24 log is the logging.log to print messages to, keyfile is the private key 25 for ssh interactions and if debug is true, commands are not executed 26 using ssh. 27 """ 28 self.log = log or logging.getLogger('fedd.access.proxy_segment') 20 29 self.ssh_privkey_file = keyfile 21 30 self.debug = debug
Note: See TracChangeset
for help on using the changeset viewer.