Home | Trees | Indices | Help |
|
---|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
handle if self.handle: self.execute( cmd= " ",prompt= "\$|>|#",timeout= 10 ) self.execute( cmd= "ssh -l paxterra 10.128.4.1",prompt= "paxterra@10.128.4.1's password:",timeout= 10 ) self.execute( cmd= " ",prompt= "paxterra@10.128.4.1's password:",timeout= 10 ) self.execute( cmd="0nLab_gu3st",prompt="\$",timeout=10 ) self.execute( cmd="cd TestON/bin/",prompt="\$",timeout=10 ) self.execute( cmd="./cli.py run Assert example 1",prompt="\$",timeout=10 ) self.execute( cmd= " ",prompt= "$",timeout= 10 ) #self.execute( cmd="help",prompt=">",timeout=10 ) |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Connection will establish to the remote host using ssh. It will take user_name ,ip_address and password as arguments<br> and will return the handle.
|
|
handleif self.handle: self.execute( cmd= " ",prompt= "\$|>|#",timeout= 10 ) self.execute( cmd= "ssh -l paxterra 10.128.4.1",prompt= "paxterra@10.128.4.1's password:",timeout= 10 ) self.execute( cmd= " ",prompt= "paxterra@10.128.4.1's password:",timeout= 10 ) self.execute( cmd="0nLab_gu3st",prompt="\$",timeout=10 ) self.execute( cmd="cd TestON/bin/",prompt="\$",timeout=10 ) self.execute( cmd="./cli.py run Assert example 1",prompt="\$",timeout=10 ) self.execute( cmd= " ",prompt= "$",timeout= 10 ) #self.execute( cmd="help",prompt=">",timeout=10 ) #self.execute( cmd="~.",prompt= ".*",timeout= 10 ) return main.TRUE |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Aug 10 11:12:35 2015 | http://epydoc.sourceforge.net |