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</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 | Module remotesysdriver |
| 50 | </span> |
| 51 | </td> |
| 52 | <td> |
| 53 | <table cellpadding="0" cellspacing="0"> |
| 54 | <!-- hide/show private --> |
| 55 | <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" |
| 56 | onclick="toggle_private();">hide private</a>]</span></td></tr> |
| 57 | <tr><td align="right"><span class="options" |
| 58 | >[<a href="frames.html" target="_top">frames</a |
| 59 | >] | <a href="TestON.drivers.common.cli.remotesysdriver-pysrc.html" |
| 60 | target="_top">no frames</a>]</span></td></tr> |
| 61 | </table> |
| 62 | </td> |
| 63 | </tr> |
| 64 | </table> |
| 65 | <h1 class="epydoc">Source Code for <a href="TestON.drivers.common.cli.remotesysdriver-module.html">Module TestON.drivers.common.cli.remotesysdriver</a></h1> |
| 66 | <pre class="py-src"> |
| 67 | <a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment">#!/usr/bin/env python</tt> </tt> |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 68 | <a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt> |
| 69 | <a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-docstring">Created on 26-Oct-2012</tt> </tt> |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 70 | <a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 71 | <a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-docstring">author:: Anil Kumar ( anilkumar.s@paxterrasolutions.com )</tt> </tt> |
| 72 | <a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> |
| 73 | <a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-docstring"> TestON is free software: you can redistribute it and/or modify</tt> </tt> |
| 74 | <a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-docstring"> it under the terms of the GNU General Public License as published by</tt> </tt> |
| 75 | <a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-docstring"> the Free Software Foundation, either version 2 of the License, or</tt> </tt> |
| 76 | <a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"><tt class="py-docstring"> ( at your option ) any later version.</tt> </tt> |
| 77 | <a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> |
| 78 | <a name="L12"></a><tt class="py-lineno">12</tt> <tt class="py-line"><tt class="py-docstring"> TestON is distributed in the hope that it will be useful,</tt> </tt> |
| 79 | <a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"><tt class="py-docstring"> but WITHOUT ANY WARRANTY; without even the implied warranty of</tt> </tt> |
| 80 | <a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"><tt class="py-docstring"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</tt> </tt> |
| 81 | <a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"><tt class="py-docstring"> GNU General Public License for more details.</tt> </tt> |
| 82 | <a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> |
| 83 | <a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"><tt class="py-docstring"> You should have received a copy of the GNU General Public License</tt> </tt> |
| 84 | <a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"><tt class="py-docstring"> along with TestON. If not, see <http://www.gnu.org/licenses/>.</tt> </tt> |
| 85 | <a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> |
| 86 | <a name="L20"></a><tt class="py-lineno">20</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt> |
| 87 | <a name="L21"></a><tt class="py-lineno">21</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt> |
| 88 | <a name="L22"></a><tt class="py-lineno">22</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package TestON.drivers=TestON.drivers-module.html"><a title="TestON.drivers" class="py-name" href="#" onclick="return doclink('link-0', 'drivers', 'link-0');">drivers</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Package TestON.drivers.common=TestON.drivers.common-module.html"><a title="TestON.drivers.common" class="py-name" href="#" onclick="return doclink('link-1', 'common', 'link-1');">common</a></tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module TestON.drivers.common.clidriver=TestON.drivers.common.clidriver-module.html"><a title="TestON.drivers.common.clidriver" class="py-name" href="#" onclick="return doclink('link-2', 'clidriver', 'link-2');">clidriver</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Class TestON.bin.cli.CLI=TestON.bin.cli.CLI-class.html,Class TestON.drivers.common.clidriver.CLI=TestON.drivers.common.clidriver.CLI-class.html"><a title="TestON.bin.cli.CLI |
| 89 | TestON.drivers.common.clidriver.CLI" class="py-name" href="#" onclick="return doclink('link-3', 'CLI', 'link-3');">CLI</a></tt> </tt> |
| 90 | <a name="L23"></a><tt class="py-lineno">23</tt> <tt class="py-line"> </tt> |
| 91 | <a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"> </tt> |
| 92 | <a name="RemoteSysDriver"></a><div id="RemoteSysDriver-def"><a name="L25"></a><tt class="py-lineno">25</tt> <a class="py-toggle" href="#" id="RemoteSysDriver-toggle" onclick="return toggle('RemoteSysDriver');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver-class.html">RemoteSysDriver</a><tt class="py-op">(</tt> <tt class="py-base-class">CLI</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
| 93 | </div><div id="RemoteSysDriver-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="RemoteSysDriver-expanded"><a name="L26"></a><tt class="py-lineno">26</tt> <tt class="py-line"> <tt class="py-comment"># The common functions for emulator included in emulatordriver</tt> </tt> |
| 94 | <a name="L27"></a><tt class="py-lineno">27</tt> <tt class="py-line"> </tt> |
| 95 | <a name="RemoteSysDriver.__init__"></a><div id="RemoteSysDriver.__init__-def"><a name="L28"></a><tt class="py-lineno">28</tt> <a class="py-toggle" href="#" id="RemoteSysDriver.__init__-toggle" onclick="return toggle('RemoteSysDriver.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver-class.html#__init__">__init__</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
| 96 | </div><div id="RemoteSysDriver.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="RemoteSysDriver.__init__-expanded"><a name="L29"></a><tt class="py-lineno">29</tt> <tt class="py-line"> <tt class="py-name">super</tt><tt class="py-op">(</tt> <tt id="link-4" class="py-name"><a title="TestON.bin.cli.CLI |
| 97 | TestON.drivers.common.clidriver.CLI" class="py-name" href="#" onclick="return doclink('link-4', 'CLI', 'link-3');">CLI</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt> <tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Method TestON.bin.cli.CLI.__init__()=TestON.bin.cli.CLI-class.html#__init__,Method TestON.bin.cli.TestThread.__init__()=TestON.bin.cli.TestThread-class.html#__init__,Method TestON.bin.generatedriver.GenerateDriver.__init__()=TestON.bin.generatedriver.GenerateDriver-class.html#__init__,Method TestON.bin.nec.NEC.__init__()=TestON.bin.nec.NEC-class.html#__init__,Method TestON.bin.updatedriver.UpdateDriver.__init__()=TestON.bin.updatedriver.UpdateDriver-class.html#__init__,Method TestON.bin.vyatta.Vyatta.__init__()=TestON.bin.vyatta.Vyatta-class.html#__init__,Method TestON.core.Thread.Thread.__init__()=TestON.core.Thread.Thread-class.html#__init__,Method TestON.core.dicttoobject.DictToObject.__init__()=TestON.core.dicttoobject.DictToObject-class.html#__init__,Method TestON.core.iniparser.iniparser.__init__()=TestON.core.iniparser.iniparser-class.html#__init__,Method TestON.core.jsonparser.JsonParser.__init__()=TestON.core.jsonparser.JsonParser-class.html#__init__,Method TestON.core.openspeak.OpenSpeak.__init__()=TestON.core.openspeak.OpenSpeak-class.html#__init__,Method TestON.core.teston.TestON.__init__()=TestON.core.teston.TestON-class.html#__init__,Method TestON.core.testparser.TestParser.__init__()=TestON.core.testparser.TestParser-class.html#__init__,Method TestON.core.xmlparser.xmlparser.__init__()=TestON.core.xmlparser.xmlparser-class.html#__init__,Method TestON.drivers.common.api.controller.onosrestdriver.OnosRestDriver.__init__()=TestON.drivers.common.api.controller.onosrestdriver.OnosRestDriver-class.html#__init__,Method TestON.drivers.common.api.controllerdriver.Controller.__init__()=TestON.drivers.common.api.controllerdriver.Controller-class.html#__init__,Method TestON.drivers.common.api.fvtapidriver.FvtApiDriver.__init__()=TestON.drivers.common.api.fvtapidriver.FvtApiDriver-class.html#__init__,Method TestON.drivers.common.apidriver.API.__init__()=TestON.drivers.common.apidriver.API-class.html#__init__,Method TestON.drivers.common.cli.dpclidriver.DPCliDriver.__init__()=TestON.drivers.common.cli.dpclidriver.DPCliDriver-class.html#__init__,Method TestON.drivers.common.cli.emulator.flowvisordriver.FlowVisorDriver.__init__()=TestON.drivers.common.cli.emulator.flowvisordriver.FlowVisorDriver-class.html#__init__,Method TestON.drivers.common.cli.emulator.lincoedriver.LincOEDriver.__init__()=TestON.drivers.common.cli.emulator.lincoedriver.LincOEDriver-class.html#__init__,Method TestON.drivers.common.cli.emulator.mininetclidriver.MininetCliDriver.__init__()=TestON.drivers.common.cli.emulator.mininetclidriver.MininetCliDriver-class.html#__init__,Method TestON.drivers.common.cli.emulator.poxclidriver.PoxCliDriver.__init__()=TestON.drivers.common.cli.emulator.poxclidriver.PoxCliDriver-class.html#__init__,Method TestON.drivers.common.cli.emulator.remotemininetdriver.RemoteMininetDriver.__init__()=TestON.drivers.common.cli.emulator.remotemininetdriver.RemoteMininetDriver-class.html#__init__,Method TestON.drivers.common.cli.emulatordriver.Emulator.__init__()=TestON.drivers.common.cli.emulatordriver.Emulator-class.html#__init__,Method TestON.drivers.common.cli.onosclidriver.OnosCliDriver.__init__()=TestON.drivers.common.cli.onosclidriver.OnosCliDriver-class.html#__init__,Method TestON.drivers.common.cli.onosdriver.OnosDriver.__init__()=TestON.drivers.common.cli.onosdriver.OnosDriver-class.html#__init__,Method TestON.drivers.common.cli.quaggaclidriver.QuaggaCliDriver.__init__()=TestON.drivers.common.cli.quaggaclidriver.QuaggaCliDriver-class.html#__init__,Method TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver.__init__()=TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver-class.html#__init__,Method TestON.drivers.common.cli.remotetestbed.floodlightclidriver.FloodLightCliDriver.__init__()=TestON.drivers.common.cli.remotetestbed.floodlightclidriver.FloodLightCliDriver-class.html#__init__,Method TestON.drivers.common.cli.remotetestbed.necswitchdriver.NEC.__init__()=TestON.drivers.common.cli.remotetestbed.necswitchdriver.NEC-class.html#__init__,Method TestON.drivers.common.cli.remotetestbed.remotepoxdriver.RemotePoxDriver.__init__()=TestON.drivers.common.cli.remotetestbed.remotepoxdriver.RemotePoxDriver-class.html#__init__,Method TestON.drivers.common.cli.remotetestbed.remotevmdriver.RemoteVMDriver.__init__()=TestON.drivers.common.cli.remotetestbed.remotevmdriver.RemoteVMDriver-class.html#__init__,Method TestON.drivers.common.cli.remotetestbeddriver.RemoteTestBedDriver.__init__()=TestON.drivers.common.cli.remotetestbeddriver.RemoteTestBedDriver-class.html#__init__,Method TestON.drivers.common.cli.tool.dpctlclidriver.DpctlCliDriver.__init__()=TestON.drivers.common.cli.tool.dpctlclidriver.DpctlCliDriver-class.html#__init__,Method TestON.drivers.common.cli.toolsdriver.Tools.__init__()=TestON.drivers.common.cli.toolsdriver.Tools-class.html#__init__,Method TestON.drivers.common.clidriver.CLI.__init__()=TestON.drivers.common.clidriver.CLI-class.html#__init__,Method TestON.examples.Assert.Assert.Assert.__init__()=TestON.examples.Assert.Assert.Assert-class.html#__init__,Method TestON.examples.CaseParams.CaseParams.CaseParams.__init__()=TestON.examples.CaseParams.CaseParams.CaseParams-class.html#__init__,Method TestON.examples.ExperimentTest.ExperimentTest.ExperimentTest.__init__()=TestON.examples.ExperimentTest.ExperimentTest.ExperimentTest-class.html#__init__,Method TestON.examples.StepParams.StepParams.StepParams.__init__()=TestON.examples.StepParams.StepParams.StepParams-class.html#__init__,Method TestON.examples.Topology.Topology.Topology.__init__()=TestON.examples.Topology.Topology.Topology-class.html#__init__,Method TestON.tests.CHOtest.CHOtest.CHOtest.__init__()=TestON.tests.CHOtest.CHOtest.CHOtest-class.html#__init__,Method TestON.tests.FUNCintent.FUNCintent.FUNCintent.__init__()=TestON.tests.FUNCintent.FUNCintent.FUNCintent-class.html#__init__,Method TestON.tests.HAclusterRestart.HAclusterRestart.HAclusterRestart.__init__()=TestON.tests.HAclusterRestart.HAclusterRestart.HAclusterRestart-class.html#__init__,Function TestON.tests.HAclusterRestart.dependencies.Counters.__init__()=TestON.tests.HAclusterRestart.dependencies.Counters-module.html#__init__,Method TestON.tests.HAclusterRestart.dependencies.obelisk.ObeliskTopo.__init__()=TestON.tests.HAclusterRestart.dependencies.obelisk.ObeliskTopo-class.html#__init__,Method TestON.tests.HAminorityRestart.HAminorityRestart.HAminorityRestart.__init__()=TestON.tests.HAminorityRestart.HAminorityRestart.HAminorityRestart-class.html#__init__,Function TestON.tests.HAminorityRestart.dependencies.Counters.__init__()=TestON.tests.HAminorityRestart.dependencies.Counters-module.html#__init__,Method TestON.tests.HAminorityRestart.dependencies.obelisk.ObeliskTopo.__init__()=TestON.tests.HAminorityRestart.dependencies.obelisk.ObeliskTopo-class.html#__init__,Method TestON.tests.HAsanity.HAsanity.HAsanity.__init__()=TestON.tests.HAsanity.HAsanity.HAsanity-class.html#__init__,Function TestON.tests.HAsanity.dependencies.Counters.__init__()=TestON.tests.HAsanity.dependencies.Counters-module.html#__init__,Method TestON.tests.HAsanity.dependencies.obelisk.ObeliskTopo.__init__()=TestON.tests.HAsanity.dependencies.obelisk.ObeliskTopo-class.html#__init__,Method TestON.tests.HAsingleInstanceRestart.HAsingleInstanceRestart.HAsingleInstanceRestart.__init__()=TestON.tests.HAsingleInstanceRestart.HAsingleInstanceRestart.HAsingleInstanceRestart-class.html#__init__,Function TestON.tests.HAsingleInstanceRestart.dependencies.Counters.__init__()=TestON.tests.HAsingleInstanceRestart.dependencies.Counters-module.html#__init__,Method TestON.tests.HAsingleInstanceRestart.dependencies.obelisk.ObeliskTopo.__init__()=TestON.tests.HAsingleInstanceRestart.dependencies.obelisk.ObeliskTopo-class.html#__init__,Method TestON.tests.SAMPscaleTopo.SAMPscaleTopo.SAMPscaleTopo.__init__()=TestON.tests.SAMPscaleTopo.SAMPscaleTopo.SAMPscaleTopo-class.html#__init__,Method TestON.tests.SAMPstartTemplate.SAMPstartTemplate.SAMPstartTemplate.__init__()=TestON.tests.SAMPstartTemplate.SAMPstartTemplate.SAMPstartTemplate-class.html#__init__,Method TestON.tests.SCPFcbench.SCPFcbench.SCPFcbench.__init__()=TestON.tests.SCPFcbench.SCPFcbench.SCPFcbench-class.html#__init__,Method TestON.tests.SCPFflowTp1g.SCPFflowTp1g.SCPFflowTp1g.__init__()=TestON.tests.SCPFflowTp1g.SCPFflowTp1g.SCPFflowTp1g-class.html#__init__,Method TestON.tests.SCPFintentEventTp.SCPFintentEventTp.SCPFintentEventTp.__init__()=TestON.tests.SCPFintentEventTp.SCPFintentEventTp.SCPFintentEventTp-class.html#__init__,Method TestON.tests.SCPFintentInstallWithdrawLat.SCPFintentInstallWithdrawLat.SCPFintentInstallWithdrawLat.__init__()=TestON.tests.SCPFintentInstallWithdrawLat.SCPFintentInstallWithdrawLat.SCPFintentInstallWithdrawLat-class.html#__init__,Method TestON.tests.SCPFintentRerouteLat.SCPFintentRerouteLat.SCPFintentRerouteLat.__init__()=TestON.tests.SCPFintentRerouteLat.SCPFintentRerouteLat.SCPFintentRerouteLat-class.html#__init__,Method TestON.tests.SCPFportLat.SCPFportLat.SCPFportLat.__init__()=TestON.tests.SCPFportLat.SCPFportLat.SCPFportLat-class.html#__init__,Method TestON.tests.SCPFswitchLat.SCPFswitchLat.SCPFswitchLat.__init__()=TestON.tests.SCPFswitchLat.SCPFswitchLat.SCPFswitchLat-class.html#__init__"><a title="TestON.bin.cli.CLI.__init__ |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 98 | TestON.bin.cli.TestThread.__init__ |
| 99 | TestON.bin.generatedriver.GenerateDriver.__init__ |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 100 | TestON.bin.nec.NEC.__init__ |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 101 | TestON.bin.updatedriver.UpdateDriver.__init__ |
| 102 | TestON.bin.vyatta.Vyatta.__init__ |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 103 | TestON.core.Thread.Thread.__init__ |
| 104 | TestON.core.dicttoobject.DictToObject.__init__ |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 105 | TestON.core.iniparser.iniparser.__init__ |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 106 | TestON.core.jsonparser.JsonParser.__init__ |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 107 | TestON.core.openspeak.OpenSpeak.__init__ |
| 108 | TestON.core.teston.TestON.__init__ |
| 109 | TestON.core.testparser.TestParser.__init__ |
| 110 | TestON.core.xmlparser.xmlparser.__init__ |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 111 | TestON.drivers.common.api.controller.onosrestdriver.OnosRestDriver.__init__ |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 112 | TestON.drivers.common.api.controllerdriver.Controller.__init__ |
| 113 | TestON.drivers.common.api.fvtapidriver.FvtApiDriver.__init__ |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 114 | TestON.drivers.common.apidriver.API.__init__ |
| 115 | TestON.drivers.common.cli.dpclidriver.DPCliDriver.__init__ |
| 116 | TestON.drivers.common.cli.emulator.flowvisordriver.FlowVisorDriver.__init__ |
| 117 | TestON.drivers.common.cli.emulator.lincoedriver.LincOEDriver.__init__ |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 118 | TestON.drivers.common.cli.emulator.mininetclidriver.MininetCliDriver.__init__ |
| 119 | TestON.drivers.common.cli.emulator.poxclidriver.PoxCliDriver.__init__ |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 120 | TestON.drivers.common.cli.emulator.remotemininetdriver.RemoteMininetDriver.__init__ |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 121 | TestON.drivers.common.cli.emulatordriver.Emulator.__init__ |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 122 | TestON.drivers.common.cli.onosclidriver.OnosCliDriver.__init__ |
| 123 | TestON.drivers.common.cli.onosdriver.OnosDriver.__init__ |
| 124 | TestON.drivers.common.cli.quaggaclidriver.QuaggaCliDriver.__init__ |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 125 | TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver.__init__ |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 126 | TestON.drivers.common.cli.remotetestbed.floodlightclidriver.FloodLightCliDriver.__init__ |
| 127 | TestON.drivers.common.cli.remotetestbed.necswitchdriver.NEC.__init__ |
| 128 | TestON.drivers.common.cli.remotetestbed.remotepoxdriver.RemotePoxDriver.__init__ |
| 129 | TestON.drivers.common.cli.remotetestbed.remotevmdriver.RemoteVMDriver.__init__ |
| 130 | TestON.drivers.common.cli.remotetestbeddriver.RemoteTestBedDriver.__init__ |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 131 | TestON.drivers.common.cli.tool.dpctlclidriver.DpctlCliDriver.__init__ |
| 132 | TestON.drivers.common.cli.toolsdriver.Tools.__init__ |
| 133 | TestON.drivers.common.clidriver.CLI.__init__ |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 134 | TestON.examples.Assert.Assert.Assert.__init__ |
| 135 | TestON.examples.CaseParams.CaseParams.CaseParams.__init__ |
| 136 | TestON.examples.ExperimentTest.ExperimentTest.ExperimentTest.__init__ |
| 137 | TestON.examples.StepParams.StepParams.StepParams.__init__ |
| 138 | TestON.examples.Topology.Topology.Topology.__init__ |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 139 | TestON.tests.CHOtest.CHOtest.CHOtest.__init__ |
| 140 | TestON.tests.FUNCintent.FUNCintent.FUNCintent.__init__ |
| 141 | TestON.tests.HAclusterRestart.HAclusterRestart.HAclusterRestart.__init__ |
| 142 | TestON.tests.HAclusterRestart.dependencies.Counters.__init__ |
| 143 | TestON.tests.HAclusterRestart.dependencies.obelisk.ObeliskTopo.__init__ |
| 144 | TestON.tests.HAminorityRestart.HAminorityRestart.HAminorityRestart.__init__ |
| 145 | TestON.tests.HAminorityRestart.dependencies.Counters.__init__ |
| 146 | TestON.tests.HAminorityRestart.dependencies.obelisk.ObeliskTopo.__init__ |
| 147 | TestON.tests.HAsanity.HAsanity.HAsanity.__init__ |
| 148 | TestON.tests.HAsanity.dependencies.Counters.__init__ |
| 149 | TestON.tests.HAsanity.dependencies.obelisk.ObeliskTopo.__init__ |
| 150 | TestON.tests.HAsingleInstanceRestart.HAsingleInstanceRestart.HAsingleInstanceRestart.__init__ |
| 151 | TestON.tests.HAsingleInstanceRestart.dependencies.Counters.__init__ |
| 152 | TestON.tests.HAsingleInstanceRestart.dependencies.obelisk.ObeliskTopo.__init__ |
| 153 | TestON.tests.SAMPscaleTopo.SAMPscaleTopo.SAMPscaleTopo.__init__ |
| 154 | TestON.tests.SAMPstartTemplate.SAMPstartTemplate.SAMPstartTemplate.__init__ |
| 155 | TestON.tests.SCPFcbench.SCPFcbench.SCPFcbench.__init__ |
| 156 | TestON.tests.SCPFflowTp1g.SCPFflowTp1g.SCPFflowTp1g.__init__ |
| 157 | TestON.tests.SCPFintentEventTp.SCPFintentEventTp.SCPFintentEventTp.__init__ |
| 158 | TestON.tests.SCPFintentInstallWithdrawLat.SCPFintentInstallWithdrawLat.SCPFintentInstallWithdrawLat.__init__ |
| 159 | TestON.tests.SCPFintentRerouteLat.SCPFintentRerouteLat.SCPFintentRerouteLat.__init__ |
| 160 | TestON.tests.SCPFportLat.SCPFportLat.SCPFportLat.__init__ |
| 161 | TestON.tests.SCPFswitchLat.SCPFswitchLat.SCPFswitchLat.__init__" class="py-name" href="#" onclick="return doclink('link-5', '__init__', 'link-5');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
| 162 | </div><a name="L30"></a><tt class="py-lineno">30</tt> <tt class="py-line"> </tt> |
| 163 | <a name="RemoteSysDriver.connect"></a><div id="RemoteSysDriver.connect-def"><a name="L31"></a><tt class="py-lineno">31</tt> <a class="py-toggle" href="#" id="RemoteSysDriver.connect-toggle" onclick="return toggle('RemoteSysDriver.connect');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver-class.html#connect">connect</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">connectargs</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
| 164 | </div><div id="RemoteSysDriver.connect-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="RemoteSysDriver.connect-expanded"><a name="L32"></a><tt class="py-lineno">32</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt class="py-name">connectargs</tt><tt class="py-op">:</tt> </tt> |
| 165 | <a name="L33"></a><tt class="py-lineno">33</tt> <tt class="py-line"> <tt class="py-name">vars</tt><tt class="py-op">(</tt> <tt class="py-name">self</tt> <tt class="py-op">)</tt><tt class="py-op">[</tt> <tt class="py-name">key</tt> <tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">connectargs</tt><tt class="py-op">[</tt> <tt class="py-name">key</tt> <tt class="py-op">]</tt> </tt> |
| 166 | <a name="L34"></a><tt class="py-lineno">34</tt> <tt class="py-line"> </tt> |
| 167 | <a name="L35"></a><tt class="py-lineno">35</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">options</tt><tt class="py-op">[</tt> <tt class="py-string">'name'</tt> <tt class="py-op">]</tt> </tt> |
| 168 | <a name="L36"></a><tt class="py-lineno">36</tt> <tt class="py-line"> </tt> |
| 169 | <a name="L37"></a><tt class="py-lineno">37</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">handle</tt> <tt class="py-op">=</tt> <tt class="py-name">super</tt><tt class="py-op">(</tt> </tt> |
| 170 | <a name="L38"></a><tt class="py-lineno">38</tt> <tt class="py-line"> <tt id="link-6" class="py-name" targets="Class TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver=TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver-class.html"><a title="TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver" class="py-name" href="#" onclick="return doclink('link-6', 'RemoteSysDriver', 'link-6');">RemoteSysDriver</a></tt><tt class="py-op">,</tt> </tt> |
| 171 | <a name="L39"></a><tt class="py-lineno">39</tt> <tt class="py-line"> <tt class="py-name">self</tt> <tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Method TestON.bin.generatedriver.GenerateDriver.connect()=TestON.bin.generatedriver.GenerateDriver-class.html#connect,Method TestON.drivers.common.api.controller.onosrestdriver.OnosRestDriver.connect()=TestON.drivers.common.api.controller.onosrestdriver.OnosRestDriver-class.html#connect,Method TestON.drivers.common.api.fvtapidriver.FvtApiDriver.connect()=TestON.drivers.common.api.fvtapidriver.FvtApiDriver-class.html#connect,Method TestON.drivers.common.apidriver.API.connect()=TestON.drivers.common.apidriver.API-class.html#connect,Method TestON.drivers.common.cli.dpclidriver.DPCliDriver.connect()=TestON.drivers.common.cli.dpclidriver.DPCliDriver-class.html#connect,Method TestON.drivers.common.cli.emulator.flowvisordriver.FlowVisorDriver.connect()=TestON.drivers.common.cli.emulator.flowvisordriver.FlowVisorDriver-class.html#connect,Method TestON.drivers.common.cli.emulator.lincoedriver.LincOEDriver.connect()=TestON.drivers.common.cli.emulator.lincoedriver.LincOEDriver-class.html#connect,Method TestON.drivers.common.cli.emulator.mininetclidriver.MininetCliDriver.connect()=TestON.drivers.common.cli.emulator.mininetclidriver.MininetCliDriver-class.html#connect,Method TestON.drivers.common.cli.emulator.poxclidriver.PoxCliDriver.connect()=TestON.drivers.common.cli.emulator.poxclidriver.PoxCliDriver-class.html#connect,Method TestON.drivers.common.cli.emulator.remotemininetdriver.RemoteMininetDriver.connect()=TestON.drivers.common.cli.emulator.remotemininetdriver.RemoteMininetDriver-class.html#connect,Method TestON.drivers.common.cli.onosclidriver.OnosCliDriver.connect()=TestON.drivers.common.cli.onosclidriver.OnosCliDriver-class.html#connect,Method TestON.drivers.common.cli.onosdriver.OnosDriver.connect()=TestON.drivers.common.cli.onosdriver.OnosDriver-class.html#connect,Method TestON.drivers.common.cli.quaggaclidriver.QuaggaCliDriver.connect()=TestON.drivers.common.cli.quaggaclidriver.QuaggaCliDriver-class.html#connect,Method TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver.connect()=TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver-class.html#connect,Method TestON.drivers.common.cli.remotetestbed.floodlightclidriver.FloodLightCliDriver.connect()=TestON.drivers.common.cli.remotetestbed.floodlightclidriver.FloodLightCliDriver-class.html#connect,Method TestON.drivers.common.cli.remotetestbed.remotepoxdriver.RemotePoxDriver.connect()=TestON.drivers.common.cli.remotetestbed.remotepoxdriver.RemotePoxDriver-class.html#connect,Method TestON.drivers.common.cli.remotetestbed.remotevmdriver.RemoteVMDriver.connect()=TestON.drivers.common.cli.remotetestbed.remotevmdriver.RemoteVMDriver-class.html#connect,Method TestON.drivers.common.cli.remotetestbeddriver.RemoteTestBedDriver.connect()=TestON.drivers.common.cli.remotetestbeddriver.RemoteTestBedDriver-class.html#connect,Method TestON.drivers.common.cli.tool.dpctlclidriver.DpctlCliDriver.connect()=TestON.drivers.common.cli.tool.dpctlclidriver.DpctlCliDriver-class.html#connect,Method TestON.drivers.common.clidriver.CLI.connect()=TestON.drivers.common.clidriver.CLI-class.html#connect"><a title="TestON.bin.generatedriver.GenerateDriver.connect |
| 172 | TestON.drivers.common.api.controller.onosrestdriver.OnosRestDriver.connect |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 173 | TestON.drivers.common.api.fvtapidriver.FvtApiDriver.connect |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 174 | TestON.drivers.common.apidriver.API.connect |
| 175 | TestON.drivers.common.cli.dpclidriver.DPCliDriver.connect |
| 176 | TestON.drivers.common.cli.emulator.flowvisordriver.FlowVisorDriver.connect |
| 177 | TestON.drivers.common.cli.emulator.lincoedriver.LincOEDriver.connect |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 178 | TestON.drivers.common.cli.emulator.mininetclidriver.MininetCliDriver.connect |
| 179 | TestON.drivers.common.cli.emulator.poxclidriver.PoxCliDriver.connect |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 180 | TestON.drivers.common.cli.emulator.remotemininetdriver.RemoteMininetDriver.connect |
| 181 | TestON.drivers.common.cli.onosclidriver.OnosCliDriver.connect |
| 182 | TestON.drivers.common.cli.onosdriver.OnosDriver.connect |
| 183 | TestON.drivers.common.cli.quaggaclidriver.QuaggaCliDriver.connect |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 184 | TestON.drivers.common.cli.remotesysdriver.RemoteSysDriver.connect |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 185 | TestON.drivers.common.cli.remotetestbed.floodlightclidriver.FloodLightCliDriver.connect |
| 186 | TestON.drivers.common.cli.remotetestbed.remotepoxdriver.RemotePoxDriver.connect |
| 187 | TestON.drivers.common.cli.remotetestbed.remotevmdriver.RemoteVMDriver.connect |
| 188 | TestON.drivers.common.cli.remotetestbeddriver.RemoteTestBedDriver.connect |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 189 | TestON.drivers.common.cli.tool.dpctlclidriver.DpctlCliDriver.connect |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 190 | TestON.drivers.common.clidriver.CLI.connect" class="py-name" href="#" onclick="return doclink('link-7', 'connect', 'link-7');">connect</a></tt><tt class="py-op">(</tt> </tt> |
| 191 | <a name="L40"></a><tt class="py-lineno">40</tt> <tt class="py-line"> <tt class="py-name">user_name</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">user_name</tt><tt class="py-op">,</tt> </tt> |
| 192 | <a name="L41"></a><tt class="py-lineno">41</tt> <tt class="py-line"> <tt class="py-name">ip_address</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ip_address</tt><tt class="py-op">,</tt> </tt> |
| 193 | <a name="L42"></a><tt class="py-lineno">42</tt> <tt class="py-line"> <tt class="py-name">port</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">port</tt><tt class="py-op">,</tt> </tt> |
| 194 | <a name="L43"></a><tt class="py-lineno">43</tt> <tt class="py-line"> <tt class="py-name">pwd</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pwd</tt> <tt class="py-op">)</tt> </tt> |
| 195 | <a name="L44"></a><tt class="py-lineno">44</tt> <tt class="py-line"> <tt class="py-string">"""</tt> </tt> |
| 196 | <a name="L45"></a><tt class="py-lineno">45</tt> <tt class="py-line"><tt class="py-string"> if self.handle:</tt> </tt> |
| 197 | <a name="L46"></a><tt class="py-lineno">46</tt> <tt class="py-line"><tt class="py-string"> self.execute( cmd= "\n",prompt= "\$|>|#",timeout= 10 )</tt> </tt> |
| 198 | <a name="L47"></a><tt class="py-lineno">47</tt> <tt class="py-line"><tt class="py-string"> self.execute( cmd= "ssh -l paxterra 10.128.4.1",prompt= "paxterra@10.128.4.1's password:",timeout= 10 )</tt> </tt> |
| 199 | <a name="L48"></a><tt class="py-lineno">48</tt> <tt class="py-line"><tt class="py-string"> self.execute( cmd= "\n",prompt= "paxterra@10.128.4.1's password:",timeout= 10 )</tt> </tt> |
| 200 | <a name="L49"></a><tt class="py-lineno">49</tt> <tt class="py-line"><tt class="py-string"> self.execute( cmd="0nLab_gu3st",prompt="\$",timeout=10 )</tt> </tt> |
| 201 | <a name="L50"></a><tt class="py-lineno">50</tt> <tt class="py-line"><tt class="py-string"> self.execute( cmd="cd TestON/bin/",prompt="\$",timeout=10 )</tt> </tt> |
| 202 | <a name="L51"></a><tt class="py-lineno">51</tt> <tt class="py-line"><tt class="py-string"> self.execute( cmd="./cli.py run Assert example 1",prompt="\$",timeout=10 )</tt> </tt> |
| 203 | <a name="L52"></a><tt class="py-lineno">52</tt> <tt class="py-line"><tt class="py-string"> self.execute( cmd= "\n",prompt= "$",timeout= 10 )</tt> </tt> |
| 204 | <a name="L53"></a><tt class="py-lineno">53</tt> <tt class="py-line"><tt class="py-string"> #self.execute( cmd="help",prompt=">",timeout=10 )</tt> </tt> |
| 205 | <a name="L54"></a><tt class="py-lineno">54</tt> <tt class="py-line"><tt class="py-string"></tt> </tt> |
| 206 | <a name="L55"></a><tt class="py-lineno">55</tt> <tt class="py-line"><tt class="py-string"> #self.execute( cmd="~.",prompt= ".*",timeout= 10 )</tt> </tt> |
| 207 | <a name="L56"></a><tt class="py-lineno">56</tt> <tt class="py-line"><tt class="py-string"> return main.TRUE</tt> </tt> |
| 208 | <a name="L57"></a><tt class="py-lineno">57</tt> <tt class="py-line"><tt class="py-string"> """</tt> </tt> |
| 209 | </div></div><a name="L58"></a><tt class="py-lineno">58</tt> <tt class="py-line"> </tt><script type="text/javascript"> |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 210 | <!-- |
| 211 | expandto(location.href); |
| 212 | // --> |
| 213 | </script> |
| 214 | </pre> |
| 215 | <br /> |
| 216 | <!-- ==================== NAVIGATION BAR ==================== --> |
| 217 | <table class="navbar" border="0" width="100%" cellpadding="0" |
| 218 | bgcolor="#a0c0ff" cellspacing="0"> |
| 219 | <tr valign="middle"> |
| 220 | <!-- Home link --> |
| 221 | <th> <a |
| 222 | href="TestON-module.html">Home</a> </th> |
| 223 | |
| 224 | <!-- Tree link --> |
| 225 | <th> <a |
| 226 | href="module-tree.html">Trees</a> </th> |
| 227 | |
| 228 | <!-- Index link --> |
| 229 | <th> <a |
| 230 | href="identifier-index.html">Indices</a> </th> |
| 231 | |
| 232 | <!-- Help link --> |
| 233 | <th> <a |
| 234 | href="help.html">Help</a> </th> |
| 235 | |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 236 | <!-- Project homepage --> |
| 237 | <th class="navbar" align="right" width="100%"> |
| 238 | <table border="0" cellpadding="0" cellspacing="0"> |
| 239 | <tr><th class="navbar" align="center" |
| 240 | >TestON</th> |
| 241 | </tr></table></th> |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 242 | </tr> |
| 243 | </table> |
| 244 | <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
| 245 | <tr> |
| 246 | <td align="left" class="footer"> |
Jon Hall | a1cdd89 | 2015-08-10 13:36:28 -0700 | [diff] [blame] | 247 | Generated by Epydoc 3.0.1 on Mon Aug 10 11:12:39 2015 |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 248 | </td> |
| 249 | <td align="right" class="footer"> |
| 250 | <a target="mainFrame" href="http://epydoc.sourceforge.net" |
| 251 | >http://epydoc.sourceforge.net</a> |
| 252 | </td> |
| 253 | </tr> |
| 254 | </table> |
| 255 | |
| 256 | <script type="text/javascript"> |
| 257 | <!-- |
| 258 | // Private objects are initially displayed (because if |
| 259 | // javascript is turned off then we want them to be |
| 260 | // visible); but by default, we want to hide them. So hide |
| 261 | // them unless we have a cookie that says to show them. |
| 262 | checkCookie(); |
| 263 | // --> |
| 264 | </script> |
| 265 | </body> |
| 266 | </html> |