xentaur
diff xentaur.py @ 55:ec48cf129028
configure_no_cdp_log_mismatch_duplex
author | igor |
---|---|
date | Thu Oct 25 22:24:38 2007 +0300 (2007-10-25) |
parents | 3b8886ecd46c |
children | 308b524d9a70 |
line diff
1.1 --- a/xentaur.py Thu Oct 25 21:28:59 2007 +0300 1.2 +++ b/xentaur.py Thu Oct 25 22:24:38 2007 +0300 1.3 @@ -531,6 +531,10 @@ 1.4 write_to(dom,"\n\nena\nconf t\nline console 0\nexec-timeout 0\nend\n") 1.5 return 0 1.6 1.7 +def configure_no_cdp_log_mismatch_duplex(doms=domains): 1.8 + for dom in filter_by_type(domains,'xenomips'): 1.9 + write_to(dom,"\n\nena\nconf t\nno cdp log mismatch duplex\nend\n") 1.10 + 1.11 def configure_save(doms=domains): 1.12 write_to(doms,"\nwr\n") 1.13