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.emulator.mininetclidriver.MininetCliDriver</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 | |
| 33 | <th class="navbar" width="100%"></th> |
| 34 | </tr> |
| 35 | </table> |
| 36 | <table width="100%" cellpadding="0" cellspacing="0"> |
| 37 | <tr valign="top"> |
| 38 | <td width="100%"> |
| 39 | <span class="breadcrumbs"> |
| 40 | <a href="TestON-module.html">Package TestON</a> :: |
| 41 | <a href="TestON.drivers-module.html">Package drivers</a> :: |
| 42 | <a href="TestON.drivers.common-module.html">Package common</a> :: |
| 43 | <a href="TestON.drivers.common.cli-module.html">Package cli</a> :: |
| 44 | <a href="TestON.drivers.common.cli.emulator-module.html">Package emulator</a> :: |
| 45 | <a href="TestON.drivers.common.cli.emulator.mininetclidriver-module.html">Module mininetclidriver</a> :: |
| 46 | Class MininetCliDriver |
| 47 | </span> |
| 48 | </td> |
| 49 | <td> |
| 50 | <table cellpadding="0" cellspacing="0"> |
| 51 | <!-- hide/show private --> |
| 52 | <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" |
| 53 | onclick="toggle_private();">hide private</a>]</span></td></tr> |
| 54 | <tr><td align="right"><span class="options" |
| 55 | >[<a href="frames.html" target="_top">frames</a |
| 56 | >] | <a href="TestON.drivers.common.cli.emulator.mininetclidriver.MininetCliDriver-class.html" |
| 57 | target="_top">no frames</a>]</span></td></tr> |
| 58 | </table> |
| 59 | </td> |
| 60 | </tr> |
| 61 | </table> |
| 62 | <!-- ==================== CLASS DESCRIPTION ==================== --> |
| 63 | <h1 class="epydoc">Class MininetCliDriver</h1><p class="nomargin-top"><span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver">source code</a></span></p> |
| 64 | <pre class="base-tree"> |
| 65 | object --+ |
| 66 | | |
| 67 | <a href="TestON.drivers.component.Component-class.html">component.Component</a> --+ |
| 68 | | |
| 69 | <a href="TestON.drivers.common.clidriver.CLI-class.html">clidriver.CLI</a> --+ |
| 70 | | |
| 71 | <a href="TestON.drivers.common.cli.emulatordriver.Emulator-class.html">emulatordriver.Emulator</a> --+ |
| 72 | | |
| 73 | <strong class="uidshort">MininetCliDriver</strong> |
| 74 | </pre> |
| 75 | |
| 76 | <hr /> |
| 77 | <p>MininetCliDriver is the basic driver which will handle the Mininet |
| 78 | functions</p> |
| 79 | |
| 80 | <!-- ==================== INSTANCE METHODS ==================== --> |
| 81 | <a name="section-InstanceMethods"></a> |
| 82 | <table class="summary" border="1" cellpadding="3" |
| 83 | cellspacing="0" width="100%" bgcolor="white"> |
| 84 | <tr bgcolor="#70b0f0" class="table-header"> |
| 85 | <td colspan="2" class="table-header"> |
| 86 | <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
| 87 | <tr valign="top"> |
| 88 | <td align="left"><span class="table-header">Instance Methods</span></td> |
| 89 | <td align="right" valign="top" |
| 90 | ><span class="options">[<a href="#section-InstanceMethods" |
| 91 | class="privatelink" onclick="toggle_private();" |
| 92 | >hide private</a>]</span></td> |
| 93 | </tr> |
| 94 | </table> |
| 95 | </td> |
| 96 | </tr> |
| 97 | <tr> |
| 98 | <td width="15%" align="right" valign="top" class="summary"> |
| 99 | <span class="summary-type"> </span> |
| 100 | </td><td class="summary"> |
| 101 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 102 | <tr> |
| 103 | <td><span class="summary-sig"><a href="TestON.drivers.common.cli.emulator.mininetclidriver.MininetCliDriver-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>)</span><br /> |
| 104 | x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td> |
| 105 | <td align="right" valign="top"> |
| 106 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.__init__">source code</a></span> |
| 107 | |
| 108 | </td> |
| 109 | </tr> |
| 110 | </table> |
| 111 | |
| 112 | </td> |
| 113 | </tr> |
| 114 | <tr> |
| 115 | <td width="15%" align="right" valign="top" class="summary"> |
| 116 | <span class="summary-type"> </span> |
| 117 | </td><td class="summary"> |
| 118 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 119 | <tr> |
| 120 | <td><span class="summary-sig"><a href="TestON.drivers.common.cli.emulator.mininetclidriver.MininetCliDriver-class.html#connect" class="summary-sig-name">connect</a>(<span class="summary-sig-arg">self</span>, |
| 121 | <span class="summary-sig-arg">**connectargs</span>)</span><br /> |
| 122 | Connection will establish to the remote host using ssh.</td> |
| 123 | <td align="right" valign="top"> |
| 124 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.connect">source code</a></span> |
| 125 | |
| 126 | </td> |
| 127 | </tr> |
| 128 | </table> |
| 129 | |
| 130 | </td> |
| 131 | </tr> |
| 132 | <tr> |
| 133 | <td width="15%" align="right" valign="top" class="summary"> |
| 134 | <span class="summary-type"> </span> |
| 135 | </td><td class="summary"> |
| 136 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 137 | <tr> |
| 138 | <td><span class="summary-sig"><a name="pingall"></a><span class="summary-sig-name">pingall</span>(<span class="summary-sig-arg">self</span>)</span><br /> |
| 139 | Verifies the reachability of the hosts using pingall command.</td> |
| 140 | <td align="right" valign="top"> |
| 141 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.pingall">source code</a></span> |
| 142 | |
| 143 | </td> |
| 144 | </tr> |
| 145 | </table> |
| 146 | |
| 147 | </td> |
| 148 | </tr> |
| 149 | <tr> |
| 150 | <td width="15%" align="right" valign="top" class="summary"> |
| 151 | <span class="summary-type"> </span> |
| 152 | </td><td class="summary"> |
| 153 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 154 | <tr> |
| 155 | <td><span class="summary-sig"><a name="pingHost"></a><span class="summary-sig-name">pingHost</span>(<span class="summary-sig-arg">self</span>, |
| 156 | <span class="summary-sig-arg">**pingParams</span>)</span></td> |
| 157 | <td align="right" valign="top"> |
| 158 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.pingHost">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="checkIP"></a><span class="summary-sig-name">checkIP</span>(<span class="summary-sig-arg">self</span>, |
| 173 | <span class="summary-sig-arg">host</span>)</span><br /> |
| 174 | Verifies the host's ip configured or not.</td> |
| 175 | <td align="right" valign="top"> |
| 176 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.checkIP">source code</a></span> |
| 177 | |
| 178 | </td> |
| 179 | </tr> |
| 180 | </table> |
| 181 | |
| 182 | </td> |
| 183 | </tr> |
| 184 | <tr> |
| 185 | <td width="15%" align="right" valign="top" class="summary"> |
| 186 | <span class="summary-type"> </span> |
| 187 | </td><td class="summary"> |
| 188 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 189 | <tr> |
| 190 | <td><span class="summary-sig"><a name="dump"></a><span class="summary-sig-name">dump</span>(<span class="summary-sig-arg">self</span>)</span></td> |
| 191 | <td align="right" valign="top"> |
| 192 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.dump">source code</a></span> |
| 193 | |
| 194 | </td> |
| 195 | </tr> |
| 196 | </table> |
| 197 | |
| 198 | </td> |
| 199 | </tr> |
| 200 | <tr> |
| 201 | <td width="15%" align="right" valign="top" class="summary"> |
| 202 | <span class="summary-type"> </span> |
| 203 | </td><td class="summary"> |
| 204 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 205 | <tr> |
| 206 | <td><span class="summary-sig"><a name="intfs"></a><span class="summary-sig-name">intfs</span>(<span class="summary-sig-arg">self</span>)</span></td> |
| 207 | <td align="right" valign="top"> |
| 208 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.intfs">source code</a></span> |
| 209 | |
| 210 | </td> |
| 211 | </tr> |
| 212 | </table> |
| 213 | |
| 214 | </td> |
| 215 | </tr> |
| 216 | <tr> |
| 217 | <td width="15%" align="right" valign="top" class="summary"> |
| 218 | <span class="summary-type"> </span> |
| 219 | </td><td class="summary"> |
| 220 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 221 | <tr> |
| 222 | <td><span class="summary-sig"><a name="net"></a><span class="summary-sig-name">net</span>(<span class="summary-sig-arg">self</span>)</span></td> |
| 223 | <td align="right" valign="top"> |
| 224 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.net">source code</a></span> |
| 225 | |
| 226 | </td> |
| 227 | </tr> |
| 228 | </table> |
| 229 | |
| 230 | </td> |
| 231 | </tr> |
| 232 | <tr> |
| 233 | <td width="15%" align="right" valign="top" class="summary"> |
| 234 | <span class="summary-type"> </span> |
| 235 | </td><td class="summary"> |
| 236 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 237 | <tr> |
| 238 | <td><span class="summary-sig"><a name="iperf"></a><span class="summary-sig-name">iperf</span>(<span class="summary-sig-arg">self</span>)</span></td> |
| 239 | <td align="right" valign="top"> |
| 240 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.iperf">source code</a></span> |
| 241 | |
| 242 | </td> |
| 243 | </tr> |
| 244 | </table> |
| 245 | |
| 246 | </td> |
| 247 | </tr> |
| 248 | <tr> |
| 249 | <td width="15%" align="right" valign="top" class="summary"> |
| 250 | <span class="summary-type"> </span> |
| 251 | </td><td class="summary"> |
| 252 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 253 | <tr> |
| 254 | <td><span class="summary-sig"><a name="iperfudp"></a><span class="summary-sig-name">iperfudp</span>(<span class="summary-sig-arg">self</span>)</span></td> |
| 255 | <td align="right" valign="top"> |
| 256 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.iperfudp">source code</a></span> |
| 257 | |
| 258 | </td> |
| 259 | </tr> |
| 260 | </table> |
| 261 | |
| 262 | </td> |
| 263 | </tr> |
| 264 | <tr> |
| 265 | <td width="15%" align="right" valign="top" class="summary"> |
| 266 | <span class="summary-type"> </span> |
| 267 | </td><td class="summary"> |
| 268 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 269 | <tr> |
| 270 | <td><span class="summary-sig"><a name="nodes"></a><span class="summary-sig-name">nodes</span>(<span class="summary-sig-arg">self</span>)</span></td> |
| 271 | <td align="right" valign="top"> |
| 272 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.nodes">source code</a></span> |
| 273 | |
| 274 | </td> |
| 275 | </tr> |
| 276 | </table> |
| 277 | |
| 278 | </td> |
| 279 | </tr> |
| 280 | <tr> |
| 281 | <td width="15%" align="right" valign="top" class="summary"> |
| 282 | <span class="summary-type"> </span> |
| 283 | </td><td class="summary"> |
| 284 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 285 | <tr> |
| 286 | <td><span class="summary-sig"><a name="pingpair"></a><span class="summary-sig-name">pingpair</span>(<span class="summary-sig-arg">self</span>)</span></td> |
| 287 | <td align="right" valign="top"> |
| 288 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.pingpair">source code</a></span> |
| 289 | |
| 290 | </td> |
| 291 | </tr> |
| 292 | </table> |
| 293 | |
| 294 | </td> |
| 295 | </tr> |
| 296 | <tr> |
| 297 | <td width="15%" align="right" valign="top" class="summary"> |
| 298 | <span class="summary-type"> </span> |
| 299 | </td><td class="summary"> |
| 300 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 301 | <tr> |
| 302 | <td><span class="summary-sig"><a name="link"></a><span class="summary-sig-name">link</span>(<span class="summary-sig-arg">self</span>, |
| 303 | <span class="summary-sig-arg">**linkargs</span>)</span><br /> |
| 304 | Bring link(s) between two nodes up or down</td> |
| 305 | <td align="right" valign="top"> |
| 306 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.link">source code</a></span> |
| 307 | |
| 308 | </td> |
| 309 | </tr> |
| 310 | </table> |
| 311 | |
| 312 | </td> |
| 313 | </tr> |
| 314 | <tr> |
| 315 | <td width="15%" align="right" valign="top" class="summary"> |
| 316 | <span class="summary-type"> </span> |
| 317 | </td><td class="summary"> |
| 318 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 319 | <tr> |
| 320 | <td><span class="summary-sig"><a name="dpctl"></a><span class="summary-sig-name">dpctl</span>(<span class="summary-sig-arg">self</span>, |
| 321 | <span class="summary-sig-arg">**dpctlargs</span>)</span><br /> |
| 322 | Run dpctl command on all switches.</td> |
| 323 | <td align="right" valign="top"> |
| 324 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.dpctl">source code</a></span> |
| 325 | |
| 326 | </td> |
| 327 | </tr> |
| 328 | </table> |
| 329 | |
| 330 | </td> |
| 331 | </tr> |
| 332 | <tr> |
| 333 | <td width="15%" align="right" valign="top" class="summary"> |
| 334 | <span class="summary-type"> </span> |
| 335 | </td><td class="summary"> |
| 336 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 337 | <tr> |
| 338 | <td><span class="summary-sig"><a href="TestON.drivers.common.cli.emulator.mininetclidriver.MininetCliDriver-class.html#get_version" class="summary-sig-name">get_version</a>(<span class="summary-sig-arg">self</span>)</span></td> |
| 339 | <td align="right" valign="top"> |
| 340 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.get_version">source code</a></span> |
| 341 | |
| 342 | </td> |
| 343 | </tr> |
| 344 | </table> |
| 345 | |
| 346 | </td> |
| 347 | </tr> |
| 348 | <tr> |
| 349 | <td width="15%" align="right" valign="top" class="summary"> |
| 350 | <span class="summary-type"> </span> |
| 351 | </td><td class="summary"> |
| 352 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 353 | <tr> |
| 354 | <td><span class="summary-sig"><a href="TestON.drivers.common.cli.emulator.mininetclidriver.MininetCliDriver-class.html#disconnect" class="summary-sig-name">disconnect</a>(<span class="summary-sig-arg">self</span>, |
| 355 | <span class="summary-sig-arg">handle</span>)</span></td> |
| 356 | <td align="right" valign="top"> |
| 357 | <span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.disconnect">source code</a></span> |
| 358 | |
| 359 | </td> |
| 360 | </tr> |
| 361 | </table> |
| 362 | |
| 363 | </td> |
| 364 | </tr> |
| 365 | <tr> |
| 366 | <td colspan="2" class="summary"> |
| 367 | <p class="indent-wrapped-lines"><b>Inherited from <code><a href="TestON.drivers.common.clidriver.CLI-class.html">clidriver.CLI</a></code></b>: |
| 368 | <code><a href="TestON.drivers.common.clidriver.CLI-class.html#execute">execute</a></code>, |
| 369 | <code><a href="TestON.drivers.common.clidriver.CLI-class.html#onfail">onfail</a></code>, |
| 370 | <code><a href="TestON.drivers.common.clidriver.CLI-class.html#runAsSudoUser">runAsSudoUser</a></code>, |
| 371 | <code><a href="TestON.drivers.common.clidriver.CLI-class.html#secureCopy">secureCopy</a></code> |
| 372 | </p> |
| 373 | <p class="indent-wrapped-lines"><b>Inherited from <code><a href="TestON.drivers.component.Component-class.html">component.Component</a></code></b>: |
| 374 | <code><a href="TestON.drivers.component.Component-class.html#__getattr__">__getattr__</a></code>, |
| 375 | <code><a href="TestON.drivers.component.Component-class.html#cleanup">cleanup</a></code>, |
| 376 | <code><a href="TestON.drivers.component.Component-class.html#close_log_handles">close_log_handles</a></code>, |
| 377 | <code><a href="TestON.drivers.component.Component-class.html#config">config</a></code>, |
| 378 | <code><a href="TestON.drivers.component.Component-class.html#experimentRun">experimentRun</a></code>, |
| 379 | <code><a href="TestON.drivers.component.Component-class.html#log">log</a></code> |
| 380 | </p> |
| 381 | <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
| 382 | <code>__delattr__</code>, |
| 383 | <code>__format__</code>, |
| 384 | <code>__getattribute__</code>, |
| 385 | <code>__hash__</code>, |
| 386 | <code>__new__</code>, |
| 387 | <code>__reduce__</code>, |
| 388 | <code>__reduce_ex__</code>, |
| 389 | <code>__repr__</code>, |
| 390 | <code>__setattr__</code>, |
| 391 | <code>__sizeof__</code>, |
| 392 | <code>__str__</code>, |
| 393 | <code>__subclasshook__</code> |
| 394 | </p> |
| 395 | </td> |
| 396 | </tr> |
| 397 | </table> |
| 398 | <!-- ==================== PROPERTIES ==================== --> |
| 399 | <a name="section-Properties"></a> |
| 400 | <table class="summary" border="1" cellpadding="3" |
| 401 | cellspacing="0" width="100%" bgcolor="white"> |
| 402 | <tr bgcolor="#70b0f0" class="table-header"> |
| 403 | <td colspan="2" class="table-header"> |
| 404 | <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
| 405 | <tr valign="top"> |
| 406 | <td align="left"><span class="table-header">Properties</span></td> |
| 407 | <td align="right" valign="top" |
| 408 | ><span class="options">[<a href="#section-Properties" |
| 409 | class="privatelink" onclick="toggle_private();" |
| 410 | >hide private</a>]</span></td> |
| 411 | </tr> |
| 412 | </table> |
| 413 | </td> |
| 414 | </tr> |
| 415 | <tr> |
| 416 | <td colspan="2" class="summary"> |
| 417 | <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
| 418 | <code>__class__</code> |
| 419 | </p> |
| 420 | </td> |
| 421 | </tr> |
| 422 | </table> |
| 423 | <!-- ==================== METHOD DETAILS ==================== --> |
| 424 | <a name="section-MethodDetails"></a> |
| 425 | <table class="details" border="1" cellpadding="3" |
| 426 | cellspacing="0" width="100%" bgcolor="white"> |
| 427 | <tr bgcolor="#70b0f0" class="table-header"> |
| 428 | <td colspan="2" class="table-header"> |
| 429 | <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
| 430 | <tr valign="top"> |
| 431 | <td align="left"><span class="table-header">Method Details</span></td> |
| 432 | <td align="right" valign="top" |
| 433 | ><span class="options">[<a href="#section-MethodDetails" |
| 434 | class="privatelink" onclick="toggle_private();" |
| 435 | >hide private</a>]</span></td> |
| 436 | </tr> |
| 437 | </table> |
| 438 | </td> |
| 439 | </tr> |
| 440 | </table> |
| 441 | <a name="__init__"></a> |
| 442 | <div> |
| 443 | <table class="details" border="1" cellpadding="3" |
| 444 | cellspacing="0" width="100%" bgcolor="white"> |
| 445 | <tr><td> |
| 446 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 447 | <tr valign="top"><td> |
| 448 | <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>)</span> |
| 449 | <br /><em class="fname">(Constructor)</em> |
| 450 | </h3> |
| 451 | </td><td align="right" valign="top" |
| 452 | ><span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.__init__">source code</a></span> |
| 453 | </td> |
| 454 | </tr></table> |
| 455 | |
| 456 | <p>x.__init__(...) initializes x; see x.__class__.__doc__ for |
| 457 | signature</p> |
| 458 | <dl class="fields"> |
| 459 | <dt>Overrides: |
| 460 | object.__init__ |
| 461 | <dd><em class="note">(inherited documentation)</em></dd> |
| 462 | </dt> |
| 463 | </dl> |
| 464 | </td></tr></table> |
| 465 | </div> |
| 466 | <a name="connect"></a> |
| 467 | <div> |
| 468 | <table class="details" border="1" cellpadding="3" |
| 469 | cellspacing="0" width="100%" bgcolor="white"> |
| 470 | <tr><td> |
| 471 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 472 | <tr valign="top"><td> |
| 473 | <h3 class="epydoc"><span class="sig"><span class="sig-name">connect</span>(<span class="sig-arg">self</span>, |
| 474 | <span class="sig-arg">**connectargs</span>)</span> |
| 475 | </h3> |
| 476 | </td><td align="right" valign="top" |
| 477 | ><span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.connect">source code</a></span> |
| 478 | </td> |
| 479 | </tr></table> |
| 480 | |
| 481 | <p>Connection will establish to the remote host using ssh. It will take |
| 482 | user_name ,ip_address and password as arguments<br> and will return |
| 483 | the handle.</p> |
| 484 | <dl class="fields"> |
| 485 | <dt>Overrides: |
| 486 | <a href="TestON.drivers.component.Component-class.html#connect">component.Component.connect</a> |
| 487 | </dt> |
| 488 | </dl> |
| 489 | </td></tr></table> |
| 490 | </div> |
| 491 | <a name="get_version"></a> |
| 492 | <div> |
| 493 | <table class="details" border="1" cellpadding="3" |
| 494 | cellspacing="0" width="100%" bgcolor="white"> |
| 495 | <tr><td> |
| 496 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 497 | <tr valign="top"><td> |
| 498 | <h3 class="epydoc"><span class="sig"><span class="sig-name">get_version</span>(<span class="sig-arg">self</span>)</span> |
| 499 | </h3> |
| 500 | </td><td align="right" valign="top" |
| 501 | ><span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.get_version">source code</a></span> |
| 502 | </td> |
| 503 | </tr></table> |
| 504 | |
| 505 | |
| 506 | <dl class="fields"> |
| 507 | <dt>Overrides: |
| 508 | <a href="TestON.drivers.component.Component-class.html#get_version">component.Component.get_version</a> |
| 509 | </dt> |
| 510 | </dl> |
| 511 | </td></tr></table> |
| 512 | </div> |
| 513 | <a name="disconnect"></a> |
| 514 | <div> |
| 515 | <table class="details" border="1" cellpadding="3" |
| 516 | cellspacing="0" width="100%" bgcolor="white"> |
| 517 | <tr><td> |
| 518 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 519 | <tr valign="top"><td> |
| 520 | <h3 class="epydoc"><span class="sig"><span class="sig-name">disconnect</span>(<span class="sig-arg">self</span>, |
| 521 | <span class="sig-arg">handle</span>)</span> |
| 522 | </h3> |
| 523 | </td><td align="right" valign="top" |
| 524 | ><span class="codelink"><a href="TestON.drivers.common.cli.emulator.mininetclidriver-pysrc.html#MininetCliDriver.disconnect">source code</a></span> |
| 525 | </td> |
| 526 | </tr></table> |
| 527 | |
| 528 | |
| 529 | <dl class="fields"> |
| 530 | <dt>Overrides: |
| 531 | <a href="TestON.drivers.component.Component-class.html#disconnect">component.Component.disconnect</a> |
| 532 | </dt> |
| 533 | </dl> |
| 534 | </td></tr></table> |
| 535 | </div> |
| 536 | <br /> |
| 537 | <!-- ==================== NAVIGATION BAR ==================== --> |
| 538 | <table class="navbar" border="0" width="100%" cellpadding="0" |
| 539 | bgcolor="#a0c0ff" cellspacing="0"> |
| 540 | <tr valign="middle"> |
| 541 | <!-- Home link --> |
| 542 | <th> <a |
| 543 | href="TestON-module.html">Home</a> </th> |
| 544 | |
| 545 | <!-- Tree link --> |
| 546 | <th> <a |
| 547 | href="module-tree.html">Trees</a> </th> |
| 548 | |
| 549 | <!-- Index link --> |
| 550 | <th> <a |
| 551 | href="identifier-index.html">Indices</a> </th> |
| 552 | |
| 553 | <!-- Help link --> |
| 554 | <th> <a |
| 555 | href="help.html">Help</a> </th> |
| 556 | |
| 557 | <th class="navbar" width="100%"></th> |
| 558 | </tr> |
| 559 | </table> |
| 560 | <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
| 561 | <tr> |
| 562 | <td align="left" class="footer"> |
| 563 | Generated by Epydoc 3.0.1 on Mon Mar 11 12:56:26 2013 |
| 564 | </td> |
| 565 | <td align="right" class="footer"> |
| 566 | <a target="mainFrame" href="http://epydoc.sourceforge.net" |
| 567 | >http://epydoc.sourceforge.net</a> |
| 568 | </td> |
| 569 | </tr> |
| 570 | </table> |
| 571 | |
| 572 | <script type="text/javascript"> |
| 573 | <!-- |
| 574 | // Private objects are initially displayed (because if |
| 575 | // javascript is turned off then we want them to be |
| 576 | // visible); but by default, we want to hide them. So hide |
| 577 | // them unless we have a cookie that says to show them. |
| 578 | checkCookie(); |
| 579 | // --> |
| 580 | </script> |
| 581 | </body> |
| 582 | </html> |