blob: 69a6092ee3735af5fa20fd5e51efffa569da7e7a [file] [log] [blame]
adminbae64d82013-08-01 10:50:15 -07001CASE 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 STEP['host'] 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
9CASE 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 STEP['host'] 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"