Chetan Gaonker | cc19ac4 | 2016-05-04 17:21:50 -0700 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | cord_tester="$(dirname $0)/cord-test.py" |
| 3 | if [ ! -f $cord_tester ]; then |
| 4 | cord_tester="$HOME/cord-tester/src/test/setup/cord-test.py" |
| 5 | fi |
Chetan Gaonker | 503032a | 2016-05-12 12:06:29 -0700 | [diff] [blame] | 6 | echo "Building all cord-tester images." |
| 7 | $cord_tester build all |
Chetan Gaonker | cc19ac4 | 2016-05-04 17:21:50 -0700 | [diff] [blame] | 8 | docker kill cord-onos || true |
| 9 | docker kill cord-quagga || true |
Chetan Gaonker | 503032a | 2016-05-12 12:06:29 -0700 | [diff] [blame] | 10 | docker kill cord-radius || true |
Chetan Gaonker | cc19ac4 | 2016-05-04 17:21:50 -0700 | [diff] [blame] | 11 | echo "Running TLS authentication test" |
Chetan Gaonker | 503032a | 2016-05-12 12:06:29 -0700 | [diff] [blame] | 12 | $cord_tester run -r -t tls |
Chetan Gaonker | cc19ac4 | 2016-05-04 17:21:50 -0700 | [diff] [blame] | 13 | echo "Running DHCP request test" |
Chetan Gaonker | 503032a | 2016-05-12 12:06:29 -0700 | [diff] [blame] | 14 | $cord_tester run -t dhcp |
Chetan Gaonker | cc19ac4 | 2016-05-04 17:21:50 -0700 | [diff] [blame] | 15 | echo "Running IGMP join verify test" |
Chetan Gaonker | 503032a | 2016-05-12 12:06:29 -0700 | [diff] [blame] | 16 | $cord_tester run -t igmp:igmp_exchange.test_igmp_join_verify_traffic |
Chetan Gaonker | cc19ac4 | 2016-05-04 17:21:50 -0700 | [diff] [blame] | 17 | echo "Running VROUTER test with 5 routes" |
Chetan Gaonker | 503032a | 2016-05-12 12:06:29 -0700 | [diff] [blame] | 18 | $cord_tester run -q -t vrouter:vrouter_exchange.test_vrouter_1 |