admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 1 | CASE 1 |
| 2 | |
| 3 | EXPERIMENTAL MODE ON |
| 4 | NAME "Testing the configuration of the host" |
| 5 | STEP "Host IP Checking using checkIP" |
| 6 | STORE ON Mininet1 DO checkIP USING CASE['destination'] IN result |
| 7 | STEP "Verifying the result" |
| 8 | ASSERT result EQUALS main.TRUE ONPASS "Host h2 IP address configured" ONFAIL "Host h2 IP address didn't configured" |
| 9 | STEP "Calling Non Existing API for Experimental Mode" |
| 10 | STORE ON POX2 DO verify_flow USING returns AS main.TRUE IN testReturn |
| 11 | ASSERT testRetun EQUALS main.TRUE ONPASS "Experimental Mode Passed" ONFAIL "Experimental Mode failed" |
| 12 | |
| 13 | CASE 2 |
| 14 | |
| 15 | EXPERIMENTAL MODE ON |
| 16 | NAME "Testing Reachabilty of all the hosts" |
| 17 | STEP "Checking Hosts reachability by using pingall" |
| 18 | STORE ON Mininet1 DO pingall IN result |
| 19 | STEP "Verifying the result" |
| 20 | ASSERT result EQUALS main.TRUE ONPASS "Host h2 IP address configured" ONFAIL "Host h2 IP address didn't configured" |
| 21 | STEP "Calling Non Existing API for Experimental Mode" |
| 22 | STORE ON Mininet1 DO verify_flow USING returns AS main.TRUE IN testReturn |
| 23 | ASSERT testRetun EQUALS main.TRUE ONPASS "Experimental Mode Passed" ONFAIL "Experimental Mode failed" |
| 24 | |