blob: bd70165a871cd736fc1e80c52ee92e0939a2a2d3 [file] [log] [blame]
adminbae64d82013-08-01 10:50:15 -07001CASE 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
13CASE 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