Package TestON :: Package drivers :: Package common :: Package cli :: Package tool :: Module dpctlclidriver :: Class DpctlCliDriver
[hide private]
[frames] | no frames]

Class DpctlCliDriver

source code


DpctlCliDriver driver class provides the basic functions of DPCTL controller

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
connect(self, **connectargs)
Connection will establish to the remote host using ssh.
source code
 
addFlow(self, **flowParameters)
addFlow create a new flow entry into flow table using "dpctl"
source code
 
showFlow(self, **flowParameters)
showFlow dumps the flow entries of flow table using "dpctl"
source code
 
dumpFlow(self, **flowParameters)
dumpFlow gives installed flow information
source code
 
dumpTables(self, **flowParameters)
dumpTables gives statistics for each of the flow tables used by datapath switch.
source code
 
dumpPorts(self, **flowParameters)
dumpPorts gives ports information
source code
 
dumpAggregate(self, **flowParameters)
dumpAggregate gives installed flow information.ggregate statistics for flows in datapath WITCH's tables that match flows.
source code
 
delFlow(self, **flowParameters)
delFlow Deletes entries from the datapath switch's tables that match flow
source code
 
show(self, **flowParameters)
show gives information on datapath switch including information on its flow tables and ports.
source code
 
showStatus(self, **flowParameters)
showStatus gives a series of key-value pairs that report the status of switch.
source code
 
desc_set(self, **flowParameters)
desc_set Sets the switch description ( as returned in ofp_desc_stats ) to string ( max length is DESC_STR_LEN )
source code
 
dumpDesc(self, **flowParameters)
dumpDesc Sets the switch description ( as returned in ofp_desc_stats ) to string ( max length is DESC_STR_LEN )
source code
 
disconnect(self) (Inherited from TestON.drivers.common.clidriver.CLI) 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, get_version, 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 

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

dumpAggregate(self, **flowParameters)

source code 

dumpAggregate gives installed flow information.ggregate statistics for flows in datapath WITCH's tables that match flows. If flows is omitted, the statistics are aggregated across all flows in the datapath's flow tables

showStatus(self, **flowParameters)

source code 

showStatus gives a series of key-value pairs that report the status of switch. If key is specified, only the key-value pairs whose key names begin with key are printed.