blob: 49e63afc8db9ef68cd3f9cd2b33b247a2b2988f4 [file] [log] [blame]
adminbae64d82013-08-01 10:50:15 -07001class PoxTest:
2 '''
3 Testing Basic Pox Functionalities
4 '''
5 def __init__(self):
6 self.default = ""
7
8 def CASE1(self,main):
9 main.case("Checking the control flow of POX")
10 main.step("Checking the host reachability using pingHost ")
11
12 result = main.Mininet1.pingHost(src=main.params['CASE1']['src'],
13 target=main.params['CASE1']['target'],
14 controller=main.params['CASE1']['controller'])
15 utilities.assert_equals(expect=main.TRUE,actual=result,onpass="Ping executed successfully",onfail="Ping Failed")