blob: adccf103458ed56273360a6f566ae82871bb1147 [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 Gaonker06f02f92016-05-04 17:55:20 -07006ONOS_IGMP="onosproject/onos:1.5"
Chetan Gaonkercc19ac42016-05-04 17:21:50 -07007docker kill cord-onos || true
8docker kill cord-quagga || true
9echo "Running TLS authentication test"
10$cord_tester -r -t tls
11echo "Running DHCP request test"
12$cord_tester -q -t dhcp:dhcp_exchange.test_dhcp_1request
Chetan Gaonker06f02f92016-05-04 17:55:20 -070013docker kill cord-onos || true
Chetan Gaonkercc19ac42016-05-04 17:21:50 -070014echo "Running IGMP join verify test"
Chetan Gaonker06f02f92016-05-04 17:55:20 -070015$cord_tester -q -o $ONOS_IGMP -t igmp:igmp_exchange.test_igmp_join_verify_traffic
16docker kill cord-onos || true
Chetan Gaonkercc19ac42016-05-04 17:21:50 -070017echo "Running VROUTER test with 5 routes"
18$cord_tester -q -t vrouter:vrouter_exchange.test_vrouter_1