admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 1 | CASE 1 |
| 2 | |
| 3 | NAME "Using CASE level parameters to specify the host as h2" |
| 4 | STEP "Host IP Checking using checkIP" |
| 5 | ON Mininet1 DO checkIP USING CASE['destination'] AND STORE LAST_RESULT IN result |
| 6 | STEP "Verifying the result" |
| 7 | ASSERT result EQUALS main.TRUE ONPASS "Host h2 IP address configured" ONFAIL "Host h2 IP address didn't configured" |
| 8 | |
| 9 | CASE 2 |
| 10 | |
| 11 | NAME "Using CASE level parameters to specify the host as h3" |
| 12 | STEP "Host IP Checking using checkIP" |
| 13 | ON Mininet1 DO checkIP USING CASE['destination'] AND STORE LAST_RESULT IN result |
| 14 | STEP "Verifying the result" |
| 15 | ASSERT result EQUALS main.TRUE ONPASS "Host h2 IP address configured" ONFAIL "Host h2 IP address didn't configured" |