Package TestON :: Package drivers :: Package common :: Package cli :: Module quaggaclidriver :: Class QuaggaCliDriver
[hide private]
[frames] | no frames]

Class QuaggaCliDriver

source code


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
 
connectQuagga(self) source code
 
loginQuagga(self, ip_address) source code
 
enterConfig(self, asn) source code
 
generatePrefixes(self, net, numRoutes) source code
 
generateExpectedSingleRouteIntent(self, prefix, nextHop, nextHopMac, sdnipData) source code
 
generateExpectedOnePeerRouteIntents(self, prefixes, nextHop, nextHopMac, sdnipJsonFilePath) source code
 
generateExpectedRouteIntents(self) source code
 
extractActualRoutesOneDotZero(self, getRoutesResult) source code
 
extractActualRoutesMaster(self, getRoutesResult) source code
 
extractActualRouteIntents(self, getIntentsResult) source code
 
extractActualRouteIntentNum(self, getIntentsResult) source code
 
extractActualBgpIntentNum(self, getIntentsResult) source code
 
extractActualBgpIntents(self, getIntentsResult) source code
 
generateExpectedBgpIntents(self, sdnipJsonFilePath) source code
 
addRoutes(self, routes, routeRate) source code
 
deleteRoutes(self, routes, routeRate) source code
 
pingTest(self, ip_address, pingTestFile, pingTestResultFile) source code
 
addRoute(self, net, numRoutes, routeRate) source code
 
delRoute(self, net, numRoutes, routeRate) source code
 
checkRoutes(self, brand, ip, user, pw) source code
 
disable_bgp_peer(self, peer, peer_as) source code
 
enable_bgp_peer(self, peer, peer_as) source code
 
disconnect(self)
Called when Test is complete to disconnect the Quagga handle.
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

disconnect(self)

source code 

Called when Test is complete to disconnect the Quagga handle.

Overrides: component.Component.disconnect