xentaur
changeset 51:b9536e00100a
exec timeout 0
author | igor |
---|---|
date | Thu Oct 25 21:27:01 2007 +0300 (2007-10-25) |
parents | ca80f73e403b |
children | 3b8886ecd46c |
files | xentaur.py |
line diff
1.1 --- a/xentaur.py Thu Oct 25 18:02:18 2007 +0300 1.2 +++ b/xentaur.py Thu Oct 25 21:27:01 2007 +0300 1.3 @@ -523,6 +523,14 @@ 1.4 write_to(dom,"\n\nena\nconf t\nline console 0\nlogging synchronous\nend\n") 1.5 return 0 1.6 1.7 +def configure_exec_timeout_0(doms=domains): 1.8 + for dom in domains: 1.9 + if domain_types[domains.index(dom)] == 'quagga': 1.10 + 0 1.11 + else: 1.12 + write_to(dom,"\n\nena\nconf t\nline console 0\nexec timeout 0\nend\n") 1.13 + return 0 1.14 + 1.15 def configure_save(doms=domains): 1.16 write_to(doms,"\nwr\n") 1.17