Package TestON :: Package drivers :: Package common :: Package cli :: Package emulator :: Module mininetclidriver :: Class MininetCliDriver
[hide private]
[frames] | no frames]

Class MininetCliDriver

source code

         object --+            
                  |            
component.Component --+        
                      |        
          clidriver.CLI --+    
                          |    
    emulatordriver.Emulator --+
                              |
                             MininetCliDriver

MininetCliDriver is the basic driver which will handle the Mininet functions

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
connect(self, **connectargs)
Connection will establish to the remote host using ssh.
source code
 
pingall(self)
Verifies the reachability of the hosts using pingall command.
source code
 
pingHost(self, **pingParams) source code
 
checkIP(self, host)
Verifies the host's ip configured or not.
source code
 
dump(self) source code
 
intfs(self) source code
 
net(self) source code
 
iperf(self) source code
 
iperfudp(self) source code
 
nodes(self) source code
 
pingpair(self) source code
 
link(self, **linkargs)
Bring link(s) between two nodes up or down
source code
 
dpctl(self, **dpctlargs)
Run dpctl command on all switches.
source code
 
get_version(self) source code
 
disconnect(self, handle) source code

Inherited from clidriver.CLI: execute, onfail, runAsSudoUser, secureCopy

Inherited from component.Component: __getattr__, cleanup, close_log_handles, config, experimentRun, log

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

connect(self, **connectargs)

source code 

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.

Overrides: component.Component.connect

get_version(self)

source code 
Overrides: component.Component.get_version

disconnect(self, handle)

source code 
Overrides: component.Component.disconnect