Commit 6e058cea authored by Tomas Hlavacek's avatar Tomas Hlavacek
Browse files

Add timeout adjustment to Cisco pexpect handler.

parent b45d1f91
......@@ -803,7 +803,8 @@ class CiscoRouter(ulgmodel.RemoteRouter):
def runRawCommand(self,command,outfile):
# connect
p=pexpect.spawn(defaults.bin_ssh+' -p'+str(self.getPort())+' '+str(self.getUser())+'@'+self.getHost())
c=defaults.bin_ssh+' -p'+str(self.getPort())+' '+str(self.getUser())+'@'+self.getHost()
# handle ssh
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment