admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 1 | class 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") |