blob: 51513c9ef7643ed71314a385d10464a6c1d37f2f [file] [log] [blame]
Chetan Gaonkercc19ac42016-05-04 17:21:50 -07001#!/usr/bin/env bash
2cord_tester="$(dirname $0)/cord-test.py"
3if [ ! -f $cord_tester ]; then
4 cord_tester="$HOME/cord-tester/src/test/setup/cord-test.py"
5fi
Chetan Gaonker503032a2016-05-12 12:06:29 -07006echo "Building all cord-tester images."
7$cord_tester build all
Chetan Gaonkercc19ac42016-05-04 17:21:50 -07008docker kill cord-onos || true
9docker kill cord-quagga || true
Chetan Gaonker503032a2016-05-12 12:06:29 -070010docker kill cord-radius || true
Chetan Gaonkercc19ac42016-05-04 17:21:50 -070011echo "Running TLS authentication test"
Chetan Gaonker503032a2016-05-12 12:06:29 -070012$cord_tester run -r -t tls
Chetan Gaonkercc19ac42016-05-04 17:21:50 -070013echo "Running DHCP request test"
Chetan Gaonker503032a2016-05-12 12:06:29 -070014$cord_tester run -t dhcp
Chetan Gaonkercc19ac42016-05-04 17:21:50 -070015echo "Running IGMP join verify test"
Chetan Gaonker503032a2016-05-12 12:06:29 -070016$cord_tester run -t igmp:igmp_exchange.test_igmp_join_verify_traffic
Chetan Gaonkercc19ac42016-05-04 17:21:50 -070017echo "Running VROUTER test with 5 routes"
Chetan Gaonker503032a2016-05-12 12:06:29 -070018$cord_tester run -q -t vrouter:vrouter_exchange.test_vrouter_1