mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +00:00 
			
		
		
		
	lf_cisco_power.py: LCS-45 Read AP for Power values,
Needed to look for --More-- before sending the <ctrl> c
This commit is contained in:
		@@ -177,7 +177,7 @@ def main():
 | 
				
			|||||||
    egg.sendline(args.passwd)
 | 
					    egg.sendline(args.passwd)
 | 
				
			||||||
    egg.expect("#")
 | 
					    egg.expect("#")
 | 
				
			||||||
    egg.sendline('show controllers dot11Radio 1 powercfg | g T1')
 | 
					    egg.sendline('show controllers dot11Radio 1 powercfg | g T1')
 | 
				
			||||||
    egg.expect("#", timeout=5)
 | 
					    egg.expect("--More--")
 | 
				
			||||||
    egg.sendcontrol('c')
 | 
					    egg.sendcontrol('c')
 | 
				
			||||||
    egg.expect("#",timeout=5)
 | 
					    egg.expect("#",timeout=5)
 | 
				
			||||||
    egg.sendline("exit")
 | 
					    egg.sendline("exit")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user