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

Class PoxCliDriver

source code


PoxCliDriver driver provides the basic functions of POX controller

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
connect(self, **connectargs)
this subroutine is to launch pox controller .
source code
 
disconnect(self, handle) source code
 
get_version(self) source code
 
getcmd(self, options) source code
 
execute(self, **execparams)
It facilitates the command line execution of a given command. (Inherited from TestON.drivers.common.clidriver.CLI)
source code
 
onfail(self) (Inherited from TestON.drivers.common.clidriver.CLI) source code
 
remove_contol_chars(self, response) (Inherited from TestON.drivers.common.clidriver.CLI) source code
 
runAsSudoUser(self, handle, pwd, default) (Inherited from TestON.drivers.common.clidriver.CLI) source code
 
secureCopy(self, user_name, ip_address, filepath, pwd, dst_path)
Connection will establish to the remote host using ssh. (Inherited from TestON.drivers.common.clidriver.CLI)
source code

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 help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

connect(self, **connectargs)

source code 

this subroutine is to launch pox controller . It must have arguments as : user_name = host name , ip_address = ip address of the host , pwd = password of host , options = it is a topology hash which will consists the component's details for the test run

*** host is here a virtual mahine or system where pox framework hierarchy exists

Overrides: component.Component.connect

disconnect(self, handle)

source code 
Overrides: component.Component.disconnect

get_version(self)

source code 
Overrides: component.Component.get_version