Package TestON :: Package tests :: Package PoxTest :: Module PoxTest
[hide private]
[frames] | no frames]

Source Code for Module TestON.tests.PoxTest.PoxTest

 1   
2 -class PoxTest :
3
4 - def __init__(self) :
5 self.default = ''
6
7 - def CASE1(self,main) :
8 9 main.case("Checking the control flow of POX") 10 main.step("Checking the host reachability using pingHost") 11 main.Mininet1.pingHost(src=main.params['CASE1']['src'], target=main.params['CASE1']['target'], controller=main.params['CASE1']['controller']) 12 result = main.last_result 13 utilities.assert_equals(expect=main.TRUE,actual=result,onpass="Ping executed successfully",onfail="Ping failed")
14