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 | 06f02f9 | 2016-05-04 17:55:20 -0700 | [diff] [blame] | 6 | ONOS_IGMP="onosproject/onos:1.5" |
Chetan Gaonker | cc19ac4 | 2016-05-04 17:21:50 -0700 | [diff] [blame] | 7 | docker kill cord-onos || true |
| 8 | docker kill cord-quagga || true |
| 9 | echo "Running TLS authentication test" |
| 10 | $cord_tester -r -t tls |
| 11 | echo "Running DHCP request test" |
| 12 | $cord_tester -q -t dhcp:dhcp_exchange.test_dhcp_1request |
Chetan Gaonker | 06f02f9 | 2016-05-04 17:55:20 -0700 | [diff] [blame] | 13 | docker kill cord-onos || true |
Chetan Gaonker | cc19ac4 | 2016-05-04 17:21:50 -0700 | [diff] [blame] | 14 | echo "Running IGMP join verify test" |
Chetan Gaonker | 06f02f9 | 2016-05-04 17:55:20 -0700 | [diff] [blame] | 15 | $cord_tester -q -o $ONOS_IGMP -t igmp:igmp_exchange.test_igmp_join_verify_traffic |
| 16 | docker kill cord-onos || true |
Chetan Gaonker | cc19ac4 | 2016-05-04 17:21:50 -0700 | [diff] [blame] | 17 | echo "Running VROUTER test with 5 routes" |
| 18 | $cord_tester -q -t vrouter:vrouter_exchange.test_vrouter_1 |