admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ascii"?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| 3 | "DTD/xhtml1-transitional.dtd"> |
| 4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 5 | <head> |
| 6 | <title>TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver</title> |
| 7 | <link rel="stylesheet" href="epydoc.css" type="text/css" /> |
| 8 | <script type="text/javascript" src="epydoc.js"></script> |
| 9 | </head> |
| 10 | |
| 11 | <body bgcolor="white" text="black" link="blue" vlink="#204080" |
| 12 | alink="#204080"> |
| 13 | <!-- ==================== NAVIGATION BAR ==================== --> |
| 14 | <table class="navbar" border="0" width="100%" cellpadding="0" |
| 15 | bgcolor="#a0c0ff" cellspacing="0"> |
| 16 | <tr valign="middle"> |
| 17 | <!-- Home link --> |
| 18 | <th> <a |
| 19 | href="TestON-module.html">Home</a> </th> |
| 20 | |
| 21 | <!-- Tree link --> |
| 22 | <th> <a |
| 23 | href="module-tree.html">Trees</a> </th> |
| 24 | |
| 25 | <!-- Index link --> |
| 26 | <th> <a |
| 27 | href="identifier-index.html">Indices</a> </th> |
| 28 | |
| 29 | <!-- Help link --> |
| 30 | <th> <a |
| 31 | href="help.html">Help</a> </th> |
| 32 | |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 33 | <!-- Project homepage --> |
| 34 | <th class="navbar" align="right" width="100%"> |
| 35 | <table border="0" cellpadding="0" cellspacing="0"> |
| 36 | <tr><th class="navbar" align="center" |
| 37 | >TestON</th> |
| 38 | </tr></table></th> |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 39 | </tr> |
| 40 | </table> |
| 41 | <table width="100%" cellpadding="0" cellspacing="0"> |
| 42 | <tr valign="top"> |
| 43 | <td width="100%"> |
| 44 | <span class="breadcrumbs"> |
| 45 | <a href="TestON-module.html">Package TestON</a> :: |
| 46 | <a href="TestON.drivers-module.html">Package drivers</a> :: |
| 47 | <a href="TestON.drivers.common-module.html">Package common</a> :: |
| 48 | <a href="TestON.drivers.common.cli-module.html">Package cli</a> :: |
| 49 | <a href="TestON.drivers.common.cli.remotesysdriver-module.html">Module remotesysdriver</a> :: |
| 50 | Class RemoteSysDriver |
| 51 | </span> |
| 52 | </td> |
| 53 | <td> |
| 54 | <table cellpadding="0" cellspacing="0"> |
| 55 | <!-- hide/show private --> |
| 56 | <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" |
| 57 | onclick="toggle_private();">hide private</a>]</span></td></tr> |
| 58 | <tr><td align="right"><span class="options" |
| 59 | >[<a href="frames.html" target="_top">frames</a |
| 60 | >] | <a href="TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver-class.html" |
| 61 | target="_top">no frames</a>]</span></td></tr> |
| 62 | </table> |
| 63 | </td> |
| 64 | </tr> |
| 65 | </table> |
| 66 | <!-- ==================== CLASS DESCRIPTION ==================== --> |
| 67 | <h1 class="epydoc">Class RemoteSysDriver</h1><p class="nomargin-top"><span class="codelink"><a href="TestON.drivers.common.cli.remotesysdriver-pysrc.html#RemoteSysDriver">source code</a></span></p> |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 68 | <center> |
| 69 | <center> <map id="class_hierarchy_for_remotesysd" name="class_hierarchy_for_remotesysd"> |
| 70 | <area shape="rect" id="node1" href="TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver-class.html" title="RemoteSysDriver" alt="" coords="5,6,131,31"/> |
| 71 | <area shape="rect" id="node2" href="TestON.drivers.common.clidriver.CLI-class.html" title="clidriver.CLI" alt="" coords="155,6,247,31"/> |
| 72 | <area shape="rect" id="node3" href="javascript:void(0);" title="component.Component" alt="" coords="272,6,429,31"/> |
| 73 | </map> |
| 74 | <img src="class_hierarchy_for_remotesysd.gif" alt='' usemap="#class_hierarchy_for_remotesysd" ismap="ismap" class="graph-without-title" /> |
| 75 | </center> |
| 76 | </center> |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 77 | <hr /> |
| 78 | <!-- ==================== INSTANCE METHODS ==================== --> |
| 79 | <a name="section-InstanceMethods"></a> |
| 80 | <table class="summary" border="1" cellpadding="3" |
| 81 | cellspacing="0" width="100%" bgcolor="white"> |
| 82 | <tr bgcolor="#70b0f0" class="table-header"> |
| 83 | <td colspan="2" class="table-header"> |
| 84 | <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
| 85 | <tr valign="top"> |
| 86 | <td align="left"><span class="table-header">Instance Methods</span></td> |
| 87 | <td align="right" valign="top" |
| 88 | ><span class="options">[<a href="#section-InstanceMethods" |
| 89 | class="privatelink" onclick="toggle_private();" |
| 90 | >hide private</a>]</span></td> |
| 91 | </tr> |
| 92 | </table> |
| 93 | </td> |
| 94 | </tr> |
| 95 | <tr> |
| 96 | <td width="15%" align="right" valign="top" class="summary"> |
| 97 | <span class="summary-type"> </span> |
| 98 | </td><td class="summary"> |
| 99 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 100 | <tr> |
| 101 | <td><span class="summary-sig"><a href="TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>)</span><br /> |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 102 | x.__init__(...) initializes x; see help(type(x)) for signature</td> |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 103 | <td align="right" valign="top"> |
| 104 | <span class="codelink"><a href="TestON.drivers.common.cli.remotesysdriver-pysrc.html#RemoteSysDriver.__init__">source code</a></span> |
| 105 | |
| 106 | </td> |
| 107 | </tr> |
| 108 | </table> |
| 109 | |
| 110 | </td> |
| 111 | </tr> |
| 112 | <tr> |
| 113 | <td width="15%" align="right" valign="top" class="summary"> |
| 114 | <span class="summary-type"> </span> |
| 115 | </td><td class="summary"> |
| 116 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 117 | <tr> |
| 118 | <td><span class="summary-sig"><a href="TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver-class.html#connect" class="summary-sig-name">connect</a>(<span class="summary-sig-arg">self</span>, |
| 119 | <span class="summary-sig-arg">**connectargs</span>)</span><br /> |
| 120 | Connection will establish to the remote host using ssh.</td> |
| 121 | <td align="right" valign="top"> |
| 122 | <span class="codelink"><a href="TestON.drivers.common.cli.remotesysdriver-pysrc.html#RemoteSysDriver.connect">source code</a></span> |
| 123 | |
| 124 | </td> |
| 125 | </tr> |
| 126 | </table> |
| 127 | |
| 128 | </td> |
| 129 | </tr> |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 130 | <tr> |
| 131 | <td width="15%" align="right" valign="top" class="summary"> |
| 132 | <span class="summary-type"> </span> |
| 133 | </td><td class="summary"> |
| 134 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 135 | <tr> |
| 136 | <td><span class="summary-sig"><a href="TestON.drivers.common.clidriver.CLI-class.html#disconnect" class="summary-sig-name">disconnect</a>(<span class="summary-sig-arg">self</span>)</span> |
| 137 | <em>(Inherited from <a href="TestON.drivers.common.clidriver.CLI-class.html">TestON.drivers.common.clidriver.CLI</a>)</em></td> |
| 138 | <td align="right" valign="top"> |
| 139 | <span class="codelink"><a href="TestON.drivers.common.clidriver-pysrc.html#CLI.disconnect">source code</a></span> |
| 140 | |
| 141 | </td> |
| 142 | </tr> |
| 143 | </table> |
| 144 | |
| 145 | </td> |
| 146 | </tr> |
| 147 | <tr> |
| 148 | <td width="15%" align="right" valign="top" class="summary"> |
| 149 | <span class="summary-type"> </span> |
| 150 | </td><td class="summary"> |
| 151 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 152 | <tr> |
| 153 | <td><span class="summary-sig"><a href="TestON.drivers.common.clidriver.CLI-class.html#execute" class="summary-sig-name">execute</a>(<span class="summary-sig-arg">self</span>, |
| 154 | <span class="summary-sig-arg">**execparams</span>)</span><br /> |
| 155 | It facilitates the command line execution of a given command. |
| 156 | <em>(Inherited from <a href="TestON.drivers.common.clidriver.CLI-class.html">TestON.drivers.common.clidriver.CLI</a>)</em></td> |
| 157 | <td align="right" valign="top"> |
| 158 | <span class="codelink"><a href="TestON.drivers.common.clidriver-pysrc.html#CLI.execute">source code</a></span> |
| 159 | |
| 160 | </td> |
| 161 | </tr> |
| 162 | </table> |
| 163 | |
| 164 | </td> |
| 165 | </tr> |
| 166 | <tr> |
| 167 | <td width="15%" align="right" valign="top" class="summary"> |
| 168 | <span class="summary-type"> </span> |
| 169 | </td><td class="summary"> |
| 170 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 171 | <tr> |
| 172 | <td><span class="summary-sig"><a name="onfail"></a><span class="summary-sig-name">onfail</span>(<span class="summary-sig-arg">self</span>)</span> |
| 173 | <em>(Inherited from <a href="TestON.drivers.common.clidriver.CLI-class.html">TestON.drivers.common.clidriver.CLI</a>)</em></td> |
| 174 | <td align="right" valign="top"> |
| 175 | <span class="codelink"><a href="TestON.drivers.common.clidriver-pysrc.html#CLI.onfail">source code</a></span> |
| 176 | |
| 177 | </td> |
| 178 | </tr> |
| 179 | </table> |
| 180 | |
| 181 | </td> |
| 182 | </tr> |
| 183 | <tr> |
| 184 | <td width="15%" align="right" valign="top" class="summary"> |
| 185 | <span class="summary-type"> </span> |
| 186 | </td><td class="summary"> |
| 187 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 188 | <tr> |
| 189 | <td><span class="summary-sig"><a name="remove_contol_chars"></a><span class="summary-sig-name">remove_contol_chars</span>(<span class="summary-sig-arg">self</span>, |
| 190 | <span class="summary-sig-arg">response</span>)</span> |
| 191 | <em>(Inherited from <a href="TestON.drivers.common.clidriver.CLI-class.html">TestON.drivers.common.clidriver.CLI</a>)</em></td> |
| 192 | <td align="right" valign="top"> |
| 193 | <span class="codelink"><a href="TestON.drivers.common.clidriver-pysrc.html#CLI.remove_contol_chars">source code</a></span> |
| 194 | |
| 195 | </td> |
| 196 | </tr> |
| 197 | </table> |
| 198 | |
| 199 | </td> |
| 200 | </tr> |
| 201 | <tr> |
| 202 | <td width="15%" align="right" valign="top" class="summary"> |
| 203 | <span class="summary-type"> </span> |
| 204 | </td><td class="summary"> |
| 205 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 206 | <tr> |
| 207 | <td><span class="summary-sig"><a name="runAsSudoUser"></a><span class="summary-sig-name">runAsSudoUser</span>(<span class="summary-sig-arg">self</span>, |
| 208 | <span class="summary-sig-arg">handle</span>, |
| 209 | <span class="summary-sig-arg">pwd</span>, |
| 210 | <span class="summary-sig-arg">default</span>)</span> |
| 211 | <em>(Inherited from <a href="TestON.drivers.common.clidriver.CLI-class.html">TestON.drivers.common.clidriver.CLI</a>)</em></td> |
| 212 | <td align="right" valign="top"> |
| 213 | <span class="codelink"><a href="TestON.drivers.common.clidriver-pysrc.html#CLI.runAsSudoUser">source code</a></span> |
| 214 | |
| 215 | </td> |
| 216 | </tr> |
| 217 | </table> |
| 218 | |
| 219 | </td> |
| 220 | </tr> |
| 221 | <tr> |
| 222 | <td width="15%" align="right" valign="top" class="summary"> |
| 223 | <span class="summary-type"> </span> |
| 224 | </td><td class="summary"> |
| 225 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 226 | <tr> |
| 227 | <td><span class="summary-sig"><a href="TestON.drivers.common.clidriver.CLI-class.html#secureCopy" class="summary-sig-name">secureCopy</a>(<span class="summary-sig-arg">self</span>, |
| 228 | <span class="summary-sig-arg">user_name</span>, |
| 229 | <span class="summary-sig-arg">ip_address</span>, |
| 230 | <span class="summary-sig-arg">filepath</span>, |
| 231 | <span class="summary-sig-arg">pwd</span>, |
| 232 | <span class="summary-sig-arg">dst_path</span>)</span><br /> |
| 233 | Connection will establish to the remote host using ssh. |
| 234 | <em>(Inherited from <a href="TestON.drivers.common.clidriver.CLI-class.html">TestON.drivers.common.clidriver.CLI</a>)</em></td> |
| 235 | <td align="right" valign="top"> |
| 236 | <span class="codelink"><a href="TestON.drivers.common.clidriver-pysrc.html#CLI.secureCopy">source code</a></span> |
| 237 | |
| 238 | </td> |
| 239 | </tr> |
| 240 | </table> |
| 241 | |
| 242 | </td> |
| 243 | </tr> |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 244 | <tr> |
| 245 | <td colspan="2" class="summary"> |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 246 | <p class="indent-wrapped-lines"><b>Inherited from <code>component.Component</code></b>: |
| 247 | <code>__getattr__</code>, |
| 248 | <code>cleanup</code>, |
| 249 | <code>close_log_handles</code>, |
| 250 | <code>config</code>, |
| 251 | <code>experimentRun</code>, |
| 252 | <code>get_version</code>, |
| 253 | <code>log</code> |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 254 | </p> |
| 255 | <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
| 256 | <code>__delattr__</code>, |
| 257 | <code>__format__</code>, |
| 258 | <code>__getattribute__</code>, |
| 259 | <code>__hash__</code>, |
| 260 | <code>__new__</code>, |
| 261 | <code>__reduce__</code>, |
| 262 | <code>__reduce_ex__</code>, |
| 263 | <code>__repr__</code>, |
| 264 | <code>__setattr__</code>, |
| 265 | <code>__sizeof__</code>, |
| 266 | <code>__str__</code>, |
| 267 | <code>__subclasshook__</code> |
| 268 | </p> |
| 269 | </td> |
| 270 | </tr> |
| 271 | </table> |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 272 | <!-- ==================== INSTANCE VARIABLES ==================== --> |
| 273 | <a name="section-InstanceVariables"></a> |
| 274 | <table class="summary" border="1" cellpadding="3" |
| 275 | cellspacing="0" width="100%" bgcolor="white"> |
| 276 | <tr bgcolor="#70b0f0" class="table-header"> |
| 277 | <td colspan="2" class="table-header"> |
| 278 | <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
| 279 | <tr valign="top"> |
| 280 | <td align="left"><span class="table-header">Instance Variables</span></td> |
| 281 | <td align="right" valign="top" |
| 282 | ><span class="options">[<a href="#section-InstanceVariables" |
| 283 | class="privatelink" onclick="toggle_private();" |
| 284 | >hide private</a>]</span></td> |
| 285 | </tr> |
| 286 | </table> |
| 287 | </td> |
| 288 | </tr> |
| 289 | <tr> |
| 290 | <td width="15%" align="right" valign="top" class="summary"> |
| 291 | <span class="summary-type"> </span> |
| 292 | </td><td class="summary"> |
| 293 | <a href="TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver-class.html#handle" class="summary-name">handle</a><br /> |
| 294 | if self.handle: |
| 295 | self.execute( cmd= " |
| 296 | ",prompt= "\$|>|#",timeout= 10 ) |
| 297 | self.execute( cmd= "ssh -l paxterra 10.128.4.1",prompt= "paxterra@10.128.4.1's password:",timeout= 10 ) |
| 298 | self.execute( cmd= " |
| 299 | ",prompt= "paxterra@10.128.4.1's password:",timeout= 10 ) |
| 300 | self.execute( cmd="0nLab_gu3st",prompt="\$",timeout=10 ) |
| 301 | self.execute( cmd="cd TestON/bin/",prompt="\$",timeout=10 ) |
| 302 | self.execute( cmd="./cli.py run Assert example 1",prompt="\$",timeout=10 ) |
| 303 | self.execute( cmd= " |
| 304 | ",prompt= "$",timeout= 10 ) |
| 305 | #self.execute( cmd="help",prompt=">",timeout=10 ) |
| 306 | </td> |
| 307 | </tr> |
| 308 | </table> |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 309 | <!-- ==================== PROPERTIES ==================== --> |
| 310 | <a name="section-Properties"></a> |
| 311 | <table class="summary" border="1" cellpadding="3" |
| 312 | cellspacing="0" width="100%" bgcolor="white"> |
| 313 | <tr bgcolor="#70b0f0" class="table-header"> |
| 314 | <td colspan="2" class="table-header"> |
| 315 | <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
| 316 | <tr valign="top"> |
| 317 | <td align="left"><span class="table-header">Properties</span></td> |
| 318 | <td align="right" valign="top" |
| 319 | ><span class="options">[<a href="#section-Properties" |
| 320 | class="privatelink" onclick="toggle_private();" |
| 321 | >hide private</a>]</span></td> |
| 322 | </tr> |
| 323 | </table> |
| 324 | </td> |
| 325 | </tr> |
| 326 | <tr> |
| 327 | <td colspan="2" class="summary"> |
| 328 | <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
| 329 | <code>__class__</code> |
| 330 | </p> |
| 331 | </td> |
| 332 | </tr> |
| 333 | </table> |
| 334 | <!-- ==================== METHOD DETAILS ==================== --> |
| 335 | <a name="section-MethodDetails"></a> |
| 336 | <table class="details" border="1" cellpadding="3" |
| 337 | cellspacing="0" width="100%" bgcolor="white"> |
| 338 | <tr bgcolor="#70b0f0" class="table-header"> |
| 339 | <td colspan="2" class="table-header"> |
| 340 | <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
| 341 | <tr valign="top"> |
| 342 | <td align="left"><span class="table-header">Method Details</span></td> |
| 343 | <td align="right" valign="top" |
| 344 | ><span class="options">[<a href="#section-MethodDetails" |
| 345 | class="privatelink" onclick="toggle_private();" |
| 346 | >hide private</a>]</span></td> |
| 347 | </tr> |
| 348 | </table> |
| 349 | </td> |
| 350 | </tr> |
| 351 | </table> |
| 352 | <a name="__init__"></a> |
| 353 | <div> |
| 354 | <table class="details" border="1" cellpadding="3" |
| 355 | cellspacing="0" width="100%" bgcolor="white"> |
| 356 | <tr><td> |
| 357 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 358 | <tr valign="top"><td> |
| 359 | <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>)</span> |
| 360 | <br /><em class="fname">(Constructor)</em> |
| 361 | </h3> |
| 362 | </td><td align="right" valign="top" |
| 363 | ><span class="codelink"><a href="TestON.drivers.common.cli.remotesysdriver-pysrc.html#RemoteSysDriver.__init__">source code</a></span> |
| 364 | </td> |
| 365 | </tr></table> |
| 366 | |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 367 | <p>x.__init__(...) initializes x; see help(type(x)) for signature</p> |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 368 | <dl class="fields"> |
| 369 | <dt>Overrides: |
| 370 | object.__init__ |
| 371 | <dd><em class="note">(inherited documentation)</em></dd> |
| 372 | </dt> |
| 373 | </dl> |
| 374 | </td></tr></table> |
| 375 | </div> |
| 376 | <a name="connect"></a> |
| 377 | <div> |
| 378 | <table class="details" border="1" cellpadding="3" |
| 379 | cellspacing="0" width="100%" bgcolor="white"> |
| 380 | <tr><td> |
| 381 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 382 | <tr valign="top"><td> |
| 383 | <h3 class="epydoc"><span class="sig"><span class="sig-name">connect</span>(<span class="sig-arg">self</span>, |
| 384 | <span class="sig-arg">**connectargs</span>)</span> |
| 385 | </h3> |
| 386 | </td><td align="right" valign="top" |
| 387 | ><span class="codelink"><a href="TestON.drivers.common.cli.remotesysdriver-pysrc.html#RemoteSysDriver.connect">source code</a></span> |
| 388 | </td> |
| 389 | </tr></table> |
| 390 | |
| 391 | <p>Connection will establish to the remote host using ssh. It will take |
| 392 | user_name ,ip_address and password as arguments<br> and will return |
| 393 | the handle.</p> |
| 394 | <dl class="fields"> |
| 395 | <dt>Overrides: |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 396 | component.Component.connect |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 397 | </dt> |
| 398 | </dl> |
| 399 | </td></tr></table> |
| 400 | </div> |
| 401 | <br /> |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 402 | <!-- ==================== INSTANCE VARIABLE DETAILS ==================== --> |
| 403 | <a name="section-InstanceVariableDetails"></a> |
| 404 | <table class="details" border="1" cellpadding="3" |
| 405 | cellspacing="0" width="100%" bgcolor="white"> |
| 406 | <tr bgcolor="#70b0f0" class="table-header"> |
| 407 | <td colspan="2" class="table-header"> |
| 408 | <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
| 409 | <tr valign="top"> |
| 410 | <td align="left"><span class="table-header">Instance Variable Details</span></td> |
| 411 | <td align="right" valign="top" |
| 412 | ><span class="options">[<a href="#section-InstanceVariableDetails" |
| 413 | class="privatelink" onclick="toggle_private();" |
| 414 | >hide private</a>]</span></td> |
| 415 | </tr> |
| 416 | </table> |
| 417 | </td> |
| 418 | </tr> |
| 419 | </table> |
| 420 | <a name="handle"></a> |
| 421 | <div> |
| 422 | <table class="details" border="1" cellpadding="3" |
| 423 | cellspacing="0" width="100%" bgcolor="white"> |
| 424 | <tr><td> |
| 425 | <h3 class="epydoc">handle</h3> |
| 426 | <pre class="literalblock"> |
| 427 | |
| 428 | if self.handle: |
| 429 | self.execute( cmd= " |
| 430 | ",prompt= "\$|>|#",timeout= 10 ) |
| 431 | self.execute( cmd= "ssh -l paxterra 10.128.4.1",prompt= "paxterra@10.128.4.1's password:",timeout= 10 ) |
| 432 | self.execute( cmd= " |
| 433 | ",prompt= "paxterra@10.128.4.1's password:",timeout= 10 ) |
| 434 | self.execute( cmd="0nLab_gu3st",prompt="\$",timeout=10 ) |
| 435 | self.execute( cmd="cd TestON/bin/",prompt="\$",timeout=10 ) |
| 436 | self.execute( cmd="./cli.py run Assert example 1",prompt="\$",timeout=10 ) |
| 437 | self.execute( cmd= " |
| 438 | ",prompt= "$",timeout= 10 ) |
| 439 | #self.execute( cmd="help",prompt=">",timeout=10 ) |
| 440 | |
| 441 | #self.execute( cmd="~.",prompt= ".*",timeout= 10 ) |
| 442 | return main.TRUE |
| 443 | |
| 444 | |
| 445 | </pre> |
| 446 | <dl class="fields"> |
| 447 | </dl> |
| 448 | </td></tr></table> |
| 449 | </div> |
| 450 | <br /> |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 451 | <!-- ==================== NAVIGATION BAR ==================== --> |
| 452 | <table class="navbar" border="0" width="100%" cellpadding="0" |
| 453 | bgcolor="#a0c0ff" cellspacing="0"> |
| 454 | <tr valign="middle"> |
| 455 | <!-- Home link --> |
| 456 | <th> <a |
| 457 | href="TestON-module.html">Home</a> </th> |
| 458 | |
| 459 | <!-- Tree link --> |
| 460 | <th> <a |
| 461 | href="module-tree.html">Trees</a> </th> |
| 462 | |
| 463 | <!-- Index link --> |
| 464 | <th> <a |
| 465 | href="identifier-index.html">Indices</a> </th> |
| 466 | |
| 467 | <!-- Help link --> |
| 468 | <th> <a |
| 469 | href="help.html">Help</a> </th> |
| 470 | |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 471 | <!-- Project homepage --> |
| 472 | <th class="navbar" align="right" width="100%"> |
| 473 | <table border="0" cellpadding="0" cellspacing="0"> |
| 474 | <tr><th class="navbar" align="center" |
| 475 | >TestON</th> |
| 476 | </tr></table></th> |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 477 | </tr> |
| 478 | </table> |
| 479 | <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
| 480 | <tr> |
| 481 | <td align="left" class="footer"> |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 482 | Generated by Epydoc 3.0.1 on Mon Aug 10 11:12:35 2015 |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 483 | </td> |
| 484 | <td align="right" class="footer"> |
| 485 | <a target="mainFrame" href="http://epydoc.sourceforge.net" |
| 486 | >http://epydoc.sourceforge.net</a> |
| 487 | </td> |
| 488 | </tr> |
| 489 | </table> |
| 490 | |
| 491 | <script type="text/javascript"> |
| 492 | <!-- |
| 493 | // Private objects are initially displayed (because if |
| 494 | // javascript is turned off then we want them to be |
| 495 | // visible); but by default, we want to hide them. So hide |
| 496 | // them unless we have a cookie that says to show them. |
| 497 | checkCookie(); |
| 498 | // --> |
| 499 | </script> |
| 500 | </body> |
| 501 | </html> |