From 05479d8750d11d46a939c31ca78e99ecc310dc7a Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Thu, 7 Jul 2016 08:29:25 +0200 Subject: Add script which runs all VPP lite tests Change-Id: I13c8726ac60647201d40249434f3a81085a8f9ff Signed-off-by: Filip Tehlar --- tests/data_plane/vpp_lite_topo/run.sh | 93 ++++++++++++++++++++++ tests/data_plane/vpp_lite_topo/test_basic_4o4.sh | 10 --- .../vpp_lite_topo/test_basic_4o4_and_6o6.sh | 11 --- .../vpp_lite_topo/test_basic_4o4_no_odl.sh | 9 --- tests/data_plane/vpp_lite_topo/test_basic_4o6.sh | 11 --- tests/data_plane/vpp_lite_topo/test_basic_6o4.sh | 10 --- tests/data_plane/vpp_lite_topo/test_basic_6o6.sh | 10 --- .../vpp_lite_topo/test_basic_6o6_no_odl.sh | 10 --- .../test_driver/two_customers_topo.sh | 4 +- .../vpp_lite_topo/test_eid_virtualization_4o4.sh | 22 ----- .../vpp_lite_topo/test_eid_virtualization_4o6.sh | 22 ----- .../vpp_lite_topo/test_eid_virtualization_6o4.sh | 22 ----- .../vpp_lite_topo/test_eid_virtualization_6o6.sh | 22 ----- .../vpp_lite_topo/test_rtr_single_iface_4o4.sh | 20 ----- .../vpp_lite_topo/test_rtr_single_iface_4o6.sh | 20 ----- .../vpp_lite_topo/test_rtr_single_iface_6o4.sh | 19 ----- .../vpp_lite_topo/test_rtr_single_iface_6o6.sh | 20 ----- .../vpp_lite_topo/test_rtr_two_iface_4o4.sh | 20 ----- .../vpp_lite_topo/test_rtr_two_iface_4o6.sh | 20 ----- .../vpp_lite_topo/test_rtr_two_iface_6o46.sh | 19 ----- .../test_rtr_two_iface_two_customers_6o46.sh | 20 ----- .../vpp_lite_topo/test_smr_rtr_disjoint.sh | 20 ----- .../vpp_lite_topo/tests/test_basic_4o4.sh | 10 +++ .../vpp_lite_topo/tests/test_basic_4o4_and_6o6.sh | 11 +++ .../vpp_lite_topo/tests/test_basic_4o4_no_odl.sh | 9 +++ .../vpp_lite_topo/tests/test_basic_4o6.sh | 11 +++ .../vpp_lite_topo/tests/test_basic_6o4.sh | 10 +++ .../vpp_lite_topo/tests/test_basic_6o6.sh | 10 +++ .../vpp_lite_topo/tests/test_basic_6o6_no_odl.sh | 10 +++ .../tests/test_eid_virtualization_4o4.sh | 22 +++++ .../tests/test_eid_virtualization_4o6.sh | 22 +++++ .../tests/test_eid_virtualization_6o4.sh | 22 +++++ .../tests/test_eid_virtualization_6o6.sh | 22 +++++ .../tests/test_rtr_single_iface_4o4.sh | 20 +++++ .../tests/test_rtr_single_iface_4o6.sh | 20 +++++ .../tests/test_rtr_single_iface_6o4.sh | 19 +++++ .../tests/test_rtr_single_iface_6o6.sh | 20 +++++ .../vpp_lite_topo/tests/test_rtr_two_iface_4o4.sh | 20 +++++ .../vpp_lite_topo/tests/test_rtr_two_iface_4o6.sh | 20 +++++ .../vpp_lite_topo/tests/test_rtr_two_iface_6o46.sh | 19 +++++ .../tests/test_rtr_two_iface_two_customers_6o46.sh | 20 +++++ .../vpp_lite_topo/tests/test_smr_rtr_disjoint.sh | 20 +++++ 42 files changed, 431 insertions(+), 340 deletions(-) create mode 100755 tests/data_plane/vpp_lite_topo/run.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_basic_4o4.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_basic_4o4_and_6o6.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_basic_4o4_no_odl.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_basic_4o6.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_basic_6o4.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_basic_6o6.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_basic_6o6_no_odl.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_eid_virtualization_4o4.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_eid_virtualization_4o6.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_eid_virtualization_6o4.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_eid_virtualization_6o6.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_rtr_single_iface_4o4.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_rtr_single_iface_4o6.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_rtr_single_iface_6o4.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_rtr_single_iface_6o6.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_rtr_two_iface_4o4.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_rtr_two_iface_4o6.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_rtr_two_iface_6o46.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_rtr_two_iface_two_customers_6o46.sh delete mode 100755 tests/data_plane/vpp_lite_topo/test_smr_rtr_disjoint.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_basic_4o4.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_basic_4o4_and_6o6.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_basic_4o4_no_odl.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_basic_4o6.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_basic_6o4.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_basic_6o6.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_basic_6o6_no_odl.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_4o4.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_4o6.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_6o4.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_6o6.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o4.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o6.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_6o4.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_6o6.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_4o4.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_4o6.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_6o46.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_two_customers_6o46.sh create mode 100755 tests/data_plane/vpp_lite_topo/tests/test_smr_rtr_disjoint.sh diff --git a/tests/data_plane/vpp_lite_topo/run.sh b/tests/data_plane/vpp_lite_topo/run.sh new file mode 100755 index 0000000..59bae1c --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/run.sh @@ -0,0 +1,93 @@ +#!/usr/bin/env bash + +TESTS_DIR=tests + +function help +{ + echo "Run all ONE tests" + echo + echo This must be run with superuser privileges. + echo "Usage:" + echo " ./run.sh [vh]" + echo + echo " -v : verbose output" + echo " -h : show help" +} + +verbose=0 + +while [ $# -gt 0 ] ; do + arg=$1 + shift + + if [ $arg == "-v" ]; then + verbose=1 + elif [ $arg == "-h" ] ; then + help + exit 0 + fi +done + +### begin script + +failed_tcs=() +count=0 +failed_num=0 +passed_num=0 + +start_time=`date +%s` + +# count tests +test_num=`ls -l $TESTS_DIR/test_* | wc -l` + +echo +echo "Running VPP lite test suite." +echo + +for test_case in $TESTS_DIR/test_* +do + let "count=$count + 1" + + # run the test case + base_name=`basename -a $test_case` + printf "*** %d/%d : %-45s" $count $test_num $base_name + + if [ $verbose -ne 0 ] ; then + $test_case + else + $test_case &> /dev/null + fi + rc=$? + + if [ $rc -ne 0 ] ; then + printf "failed!\n" + failed_tcs+=("$test_case") + let "failed_num=$failed_num + 1" + else + printf "passed.\n" + let "passed_num=$passed_num + 1" + fi + sleep 1 +done + +end_time=`date +%s` +runtime=$((end_time-start_time)) + +echo +echo "------------------------------------------------------" +echo "Runtime: " `date -u -d @${runtime} +"%M min %S sec"` +echo + +if [ $failed_num -eq 0 ]; then + echo "All tests have passed." +else + echo "List of failed test cases:" + for tc in "${failed_tcs[@]}" + do + echo "$tc" + done +fi + +echo "------------------------------------------------------" + +### end script diff --git a/tests/data_plane/vpp_lite_topo/test_basic_4o4.sh b/tests/data_plane/vpp_lite_topo/test_basic_4o4.sh deleted file mode 100755 index 807edcc..0000000 --- a/tests/data_plane/vpp_lite_topo/test_basic_4o4.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -# Test basic LISP functionality (ip4 over ip4) - -VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/4o4 -ODL_CONFIG_DIR=`pwd`/../configs/odl/basic/4o4 - -source test_driver/basic.sh - -test_basic ping "6.0.2.2" diff --git a/tests/data_plane/vpp_lite_topo/test_basic_4o4_and_6o6.sh b/tests/data_plane/vpp_lite_topo/test_basic_4o4_and_6o6.sh deleted file mode 100755 index 9adeaf6..0000000 --- a/tests/data_plane/vpp_lite_topo/test_basic_4o4_and_6o6.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash - -# Test basic LISP functionality with two ongoing traffics - 4o4 and 6o6 - -ODL_CONFIG_DIR=`pwd`/../configs/odl/basic/6o6 -VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/4o4_and_6o6 - -source test_driver/basic_multi_traffic.sh - -test_basic_multi_traffic ping6 "6:0:2::2" ping "6.0.2.2" - diff --git a/tests/data_plane/vpp_lite_topo/test_basic_4o4_no_odl.sh b/tests/data_plane/vpp_lite_topo/test_basic_4o4_no_odl.sh deleted file mode 100755 index 0c2d2d0..0000000 --- a/tests/data_plane/vpp_lite_topo/test_basic_4o4_no_odl.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -# Test basic LISP functionality without odl (ip4 over ip4) - -VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/4o4_no_odl - -source test_driver/basic_no_odl.sh - -test_basic_no_odl ping "6.0.2.2" diff --git a/tests/data_plane/vpp_lite_topo/test_basic_4o6.sh b/tests/data_plane/vpp_lite_topo/test_basic_4o6.sh deleted file mode 100755 index c9bd8de..0000000 --- a/tests/data_plane/vpp_lite_topo/test_basic_4o6.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash - -# Test basic LISP functionality (ip4 over ip6) - -VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/4o6 -ODL_CONFIG_DIR=`pwd`/../configs/odl/basic/4o6 - -source test_driver/basic.sh - -test_basic ping "6.0.2.2" - diff --git a/tests/data_plane/vpp_lite_topo/test_basic_6o4.sh b/tests/data_plane/vpp_lite_topo/test_basic_6o4.sh deleted file mode 100755 index 757b7ce..0000000 --- a/tests/data_plane/vpp_lite_topo/test_basic_6o4.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -# Test basic LISP functionality (ip6 over ip4) - -VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/6o4 -ODL_CONFIG_DIR=`pwd`/../configs/odl/basic/6o4 - -source test_driver/basic.sh - -test_basic ping6 "6:0:2::2" diff --git a/tests/data_plane/vpp_lite_topo/test_basic_6o6.sh b/tests/data_plane/vpp_lite_topo/test_basic_6o6.sh deleted file mode 100755 index 3ef68f4..0000000 --- a/tests/data_plane/vpp_lite_topo/test_basic_6o6.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -# Test basic LISP functionality (ip6 over ip6) - -VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/6o6 -ODL_CONFIG_DIR=`pwd`/../configs/odl/basic/6o6 - -source test_driver/basic.sh - -test_basic ping6 "6:0:2::2" diff --git a/tests/data_plane/vpp_lite_topo/test_basic_6o6_no_odl.sh b/tests/data_plane/vpp_lite_topo/test_basic_6o6_no_odl.sh deleted file mode 100755 index ce332d4..0000000 --- a/tests/data_plane/vpp_lite_topo/test_basic_6o6_no_odl.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -# Test basic LISP functionality without odl (ip6 over ip6) - -VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/6o6_no_odl - -source test_driver/basic_no_odl.sh - -test_basic_no_odl ping6 "6:0:2::2" - diff --git a/tests/data_plane/vpp_lite_topo/test_driver/two_customers_topo.sh b/tests/data_plane/vpp_lite_topo/test_driver/two_customers_topo.sh index 174a683..7ff2a1d 100644 --- a/tests/data_plane/vpp_lite_topo/test_driver/two_customers_topo.sh +++ b/tests/data_plane/vpp_lite_topo/test_driver/two_customers_topo.sh @@ -18,8 +18,6 @@ if [[ $(id -u) != 0 ]]; then fi function test_eid_virtualization { - two_customers_topo_clean - sleep 1 two_customers_topo_setup # init to test failed @@ -41,7 +39,7 @@ function test_eid_virtualization { echo "Error: customer 2 did not receive any response!" fi -# two_customers_topo_clean + two_customers_topo_clean if [ $rc -ne 0 ] ; then echo "Test failed!"; diff --git a/tests/data_plane/vpp_lite_topo/test_eid_virtualization_4o4.sh b/tests/data_plane/vpp_lite_topo/test_eid_virtualization_4o4.sh deleted file mode 100755 index 2038fd2..0000000 --- a/tests/data_plane/vpp_lite_topo/test_eid_virtualization_4o4.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash - -# Test EID virualization (4over4) -# -# This test configures two LISP XTRs with two customers. Both customers -# have two client nodes (EID) as depict here: -# -# eid1 ______ _______ eid2 -# customer1 -| | | |- customer1 -# | xTR |----| xTR | -# customer2 -|_____| | |_____|- customer2 -# eid3 | eid4 -# ODL -# -# In this scenario both eid1 and eid3 are equal. - -VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/eid_virt/4o4" -ODL_CONFIG_DIR=`pwd`"/../configs/odl/eid_virt/4o4" - -source test_driver/two_customers_topo.sh - -test_eid_virtualization ping "6.0.4.4" diff --git a/tests/data_plane/vpp_lite_topo/test_eid_virtualization_4o6.sh b/tests/data_plane/vpp_lite_topo/test_eid_virtualization_4o6.sh deleted file mode 100755 index 391da92..0000000 --- a/tests/data_plane/vpp_lite_topo/test_eid_virtualization_4o6.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash - -# Test EID virualization (4over6) -# -# This test configures two LISP XTRs with two customers. Both customers -# have two client nodes (EID) as depict here: -# -# eid1 ______ _______ eid2 -# customer1 -| | | |- customer1 -# | xTR |----| xTR | -# customer2 -|_____| | |_____|- customer2 -# eid3 | eid4 -# ODL -# -# In this scenario both eid1 and eid3 are equal. - -VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/eid_virt/4o6" -ODL_CONFIG_DIR=`pwd`"/../configs/odl/eid_virt/4o6" - -source test_driver/two_customers_topo.sh - -test_eid_virtualization ping "6.0.4.4" diff --git a/tests/data_plane/vpp_lite_topo/test_eid_virtualization_6o4.sh b/tests/data_plane/vpp_lite_topo/test_eid_virtualization_6o4.sh deleted file mode 100755 index 5d7f975..0000000 --- a/tests/data_plane/vpp_lite_topo/test_eid_virtualization_6o4.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash - -# Test EID virualization (6over4) -# -# This test configures two LISP XTRs with two customers. Both customers -# have two client nodes (EID) as depict here: -# -# eid1 ______ _______ eid2 -# customer1 -| | | |- customer1 -# | xTR |----| xTR | -# customer2 -|_____| | |_____|- customer2 -# eid3 | eid4 -# ODL -# -# In this scenario both eid1 and eid3 are equal. - -VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/eid_virt/6o4" -ODL_CONFIG_DIR=`pwd`"/../configs/odl/eid_virt/6o4" - -source test_driver/two_customers_topo.sh - -test_eid_virtualization ping6 "6:0:4::4" diff --git a/tests/data_plane/vpp_lite_topo/test_eid_virtualization_6o6.sh b/tests/data_plane/vpp_lite_topo/test_eid_virtualization_6o6.sh deleted file mode 100755 index 2b6d463..0000000 --- a/tests/data_plane/vpp_lite_topo/test_eid_virtualization_6o6.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash - -# Test EID virualization (6over6) -# -# This test configures two LISP XTRs with two customers. Both customers -# have two client nodes (EID) as depict here: -# -# eid1 ______ _______ eid2 -# customer1 -| | | |- customer1 -# | xTR |----| xTR | -# customer2 -|_____| | |_____|- customer2 -# eid3 | eid4 -# ODL -# -# In this scenario both eid1 and eid3 are equal. - -VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/eid_virt/6o6" -ODL_CONFIG_DIR=`pwd`"/../configs/odl/eid_virt/6o6" - -source test_driver/two_customers_topo.sh - -test_eid_virtualization ping6 "6:0:4::4" diff --git a/tests/data_plane/vpp_lite_topo/test_rtr_single_iface_4o4.sh b/tests/data_plane/vpp_lite_topo/test_rtr_single_iface_4o4.sh deleted file mode 100755 index 465a014..0000000 --- a/tests/data_plane/vpp_lite_topo/test_rtr_single_iface_4o4.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -# -# Test for VPP LISP RTR functionality (4over4). -# -# IMPORTANT: This test needs to have ODL running with following config -# line in etc/custom.properties: -# lisp.elpPolicy = replace -# -# This test configures a topology of two XTRs and RTR. An ICMP request is -# sent from host1 behind first TR to the host2 behind the second TR. -# Both host and underlaying networks are IPv4. -# - -VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_single_iface/4o4" -ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_single_iface/4o4" - -source test_driver/rtr_single_iface.sh - -test_rtr_single_iface ping "6.0.4.4" diff --git a/tests/data_plane/vpp_lite_topo/test_rtr_single_iface_4o6.sh b/tests/data_plane/vpp_lite_topo/test_rtr_single_iface_4o6.sh deleted file mode 100755 index fe1e3da..0000000 --- a/tests/data_plane/vpp_lite_topo/test_rtr_single_iface_4o6.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -# -# Test for VPP LISP RTR functionality (4over6). -# -# IMPORTANT: This test needs to have ODL running with following config -# line in etc/custom.properties: -# lisp.elpPolicy = replace -# -# This test configures a topology of two XTRs and RTR. An ICMP request is -# sent from host1 behind first TR to the host2 behind the second TR. -# Hosts resides in IPv4 network, underlying network is IPv6 -# - -VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_single_iface/4o6/" -ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_single_iface/4o6" - -source test_driver/rtr_single_iface.sh - -test_rtr_single_iface "6.0.4.4" diff --git a/tests/data_plane/vpp_lite_topo/test_rtr_single_iface_6o4.sh b/tests/data_plane/vpp_lite_topo/test_rtr_single_iface_6o4.sh deleted file mode 100755 index ced8729..0000000 --- a/tests/data_plane/vpp_lite_topo/test_rtr_single_iface_6o4.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -# -# Test for VPP LISP RTR functionality (6over4). -# -# IMPORTANT: This test needs to have ODL running with following config -# line in etc/custom.properties: -# lisp.elpPolicy = replace -# -# This test configures a topology of two XTRs and RTR. An ICMP request is -# sent from host1 behind first TR to the host2 behind the second TR. -# - -VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_single_iface/6o4/" -ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_single_iface/6o4" - -source test_driver/rtr_single_iface.sh - -test_rtr_single_iface ping6 "6:0:4::4" diff --git a/tests/data_plane/vpp_lite_topo/test_rtr_single_iface_6o6.sh b/tests/data_plane/vpp_lite_topo/test_rtr_single_iface_6o6.sh deleted file mode 100755 index 184c4ac..0000000 --- a/tests/data_plane/vpp_lite_topo/test_rtr_single_iface_6o6.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -# -# Test for VPP LISP RTR functionality (6over6). -# -# IMPORTANT: This test needs to have ODL running with following config -# line in etc/custom.properties: -# lisp.elpPolicy = replace -# -# This test configures a topology of two XTRs and RTR. An ICMP request is -# sent from host1 behind first TR to the host2 behind the second TR. -# Both underlying and overlying networks are IPv6 -# - -VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_single_iface/6o6/" -ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_single_iface/6o6" - -source test_driver/rtr_single_iface.sh - -test_rtr_single_iface ping6 "6:0:4::4" diff --git a/tests/data_plane/vpp_lite_topo/test_rtr_two_iface_4o4.sh b/tests/data_plane/vpp_lite_topo/test_rtr_two_iface_4o4.sh deleted file mode 100755 index c45bb3f..0000000 --- a/tests/data_plane/vpp_lite_topo/test_rtr_two_iface_4o4.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -# -# Test for VPP LISP RTR functionality (4over4). -# -# IMPORTANT: This test needs to have ODL running with following config -# line in etc/custom.properties: -# lisp.elpPolicy = replace -# -# This test configures a topology of two XTRs and RTR. An ICMP request is -# sent from host1 behind first TR to the host2 behind the second TR. -# Both host and underlaying networks are IPv4. -# - -VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_two_iface/4o4" -ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_two_iface/4o4/" - -source test_driver/rtr_two_iface.sh - -test_rtr_two_iface "6.0.4.4" diff --git a/tests/data_plane/vpp_lite_topo/test_rtr_two_iface_4o6.sh b/tests/data_plane/vpp_lite_topo/test_rtr_two_iface_4o6.sh deleted file mode 100755 index 0d7015b..0000000 --- a/tests/data_plane/vpp_lite_topo/test_rtr_two_iface_4o6.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -# -# Test for VPP LISP RTR functionality (4over4). -# -# IMPORTANT: This test needs to have ODL running with following config -# line in etc/custom.properties: -# lisp.elpPolicy = replace -# -# This test configures a topology of two XTRs and RTR. An ICMP request is -# sent from host1 behind first TR to the host2 behind the second TR. -# Both host and underlaying networks are IPv4. -# - -VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_two_iface/4o6" -ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_two_iface/4o6/" - -source test_driver/rtr_two_iface.sh - -test_rtr_two_iface "6.0.4.4" diff --git a/tests/data_plane/vpp_lite_topo/test_rtr_two_iface_6o46.sh b/tests/data_plane/vpp_lite_topo/test_rtr_two_iface_6o46.sh deleted file mode 100755 index fd59664..0000000 --- a/tests/data_plane/vpp_lite_topo/test_rtr_two_iface_6o46.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -# -# Test for VPP LISP RTR functionality (6over46). -# -# IMPORTANT: This test needs to have ODL running with following config -# line in etc/custom.properties: -# lisp.elpPolicy = replace -# -# This test configures a topology of two XTRs and RTR. An ICMP request is -# sent from host1 behind first TR to the host2 behind the second TR. -# - -VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_two_iface/6o46" -ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_two_iface/6o46" - -source test_driver/rtr_two_iface.sh - -test_rtr_two_iface "6:0:4::4" wait diff --git a/tests/data_plane/vpp_lite_topo/test_rtr_two_iface_two_customers_6o46.sh b/tests/data_plane/vpp_lite_topo/test_rtr_two_iface_two_customers_6o46.sh deleted file mode 100755 index eac2a7c..0000000 --- a/tests/data_plane/vpp_lite_topo/test_rtr_two_iface_two_customers_6o46.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -# -# Test for VPP LISP RTR functionality with EID virualization. -# -# IMPORTANT: This test needs to have ODL running with following config -# line in etc/custom.properties: -# lisp.elpPolicy = replace -# -# This test configures a topology of two XTRs and RTR. An ICMP request is -# sent from host1 behind first TR to the host2 behind the second TR. -# -# - -VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_two_iface_two_customers/6o46" -ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_two_iface_two_customers/6o46" - -source test_driver/rtr_two_iface_two_customers.sh - -test_rtr_two_iface_two_customers ping6 "6:0:4::4" diff --git a/tests/data_plane/vpp_lite_topo/test_smr_rtr_disjoint.sh b/tests/data_plane/vpp_lite_topo/test_smr_rtr_disjoint.sh deleted file mode 100755 index 4d44ccb..0000000 --- a/tests/data_plane/vpp_lite_topo/test_smr_rtr_disjoint.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -# -# Test for VPP LISP RTR functionality (4over4). -# -# IMPORTANT: This test needs to have ODL running with following config -# line in etc/custom.properties: -# lisp.elpPolicy = replace -# -# This test configures a topology of two XTRs and RTR. An ICMP request is -# sent from host1 behind first TR to the host2 behind the second TR. -# Both host and underlaying networks are IPv4. -# - -VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/smr_rtr_disjoint/" -ODL_CONFIG_DIR=`pwd`"/../configs/odl/smr_rtr_disjoint/" - -source test_driver/smr_rtr_disjoint.sh - -test_smr_rtr_disjoint "6:0:4::4" wait diff --git a/tests/data_plane/vpp_lite_topo/tests/test_basic_4o4.sh b/tests/data_plane/vpp_lite_topo/tests/test_basic_4o4.sh new file mode 100755 index 0000000..807edcc --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_basic_4o4.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# Test basic LISP functionality (ip4 over ip4) + +VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/4o4 +ODL_CONFIG_DIR=`pwd`/../configs/odl/basic/4o4 + +source test_driver/basic.sh + +test_basic ping "6.0.2.2" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_basic_4o4_and_6o6.sh b/tests/data_plane/vpp_lite_topo/tests/test_basic_4o4_and_6o6.sh new file mode 100755 index 0000000..9adeaf6 --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_basic_4o4_and_6o6.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +# Test basic LISP functionality with two ongoing traffics - 4o4 and 6o6 + +ODL_CONFIG_DIR=`pwd`/../configs/odl/basic/6o6 +VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/4o4_and_6o6 + +source test_driver/basic_multi_traffic.sh + +test_basic_multi_traffic ping6 "6:0:2::2" ping "6.0.2.2" + diff --git a/tests/data_plane/vpp_lite_topo/tests/test_basic_4o4_no_odl.sh b/tests/data_plane/vpp_lite_topo/tests/test_basic_4o4_no_odl.sh new file mode 100755 index 0000000..0c2d2d0 --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_basic_4o4_no_odl.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +# Test basic LISP functionality without odl (ip4 over ip4) + +VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/4o4_no_odl + +source test_driver/basic_no_odl.sh + +test_basic_no_odl ping "6.0.2.2" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_basic_4o6.sh b/tests/data_plane/vpp_lite_topo/tests/test_basic_4o6.sh new file mode 100755 index 0000000..c9bd8de --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_basic_4o6.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +# Test basic LISP functionality (ip4 over ip6) + +VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/4o6 +ODL_CONFIG_DIR=`pwd`/../configs/odl/basic/4o6 + +source test_driver/basic.sh + +test_basic ping "6.0.2.2" + diff --git a/tests/data_plane/vpp_lite_topo/tests/test_basic_6o4.sh b/tests/data_plane/vpp_lite_topo/tests/test_basic_6o4.sh new file mode 100755 index 0000000..757b7ce --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_basic_6o4.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# Test basic LISP functionality (ip6 over ip4) + +VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/6o4 +ODL_CONFIG_DIR=`pwd`/../configs/odl/basic/6o4 + +source test_driver/basic.sh + +test_basic ping6 "6:0:2::2" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_basic_6o6.sh b/tests/data_plane/vpp_lite_topo/tests/test_basic_6o6.sh new file mode 100755 index 0000000..3ef68f4 --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_basic_6o6.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# Test basic LISP functionality (ip6 over ip6) + +VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/6o6 +ODL_CONFIG_DIR=`pwd`/../configs/odl/basic/6o6 + +source test_driver/basic.sh + +test_basic ping6 "6:0:2::2" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_basic_6o6_no_odl.sh b/tests/data_plane/vpp_lite_topo/tests/test_basic_6o6_no_odl.sh new file mode 100755 index 0000000..ce332d4 --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_basic_6o6_no_odl.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# Test basic LISP functionality without odl (ip6 over ip6) + +VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/6o6_no_odl + +source test_driver/basic_no_odl.sh + +test_basic_no_odl ping6 "6:0:2::2" + diff --git a/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_4o4.sh b/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_4o4.sh new file mode 100755 index 0000000..2038fd2 --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_4o4.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +# Test EID virualization (4over4) +# +# This test configures two LISP XTRs with two customers. Both customers +# have two client nodes (EID) as depict here: +# +# eid1 ______ _______ eid2 +# customer1 -| | | |- customer1 +# | xTR |----| xTR | +# customer2 -|_____| | |_____|- customer2 +# eid3 | eid4 +# ODL +# +# In this scenario both eid1 and eid3 are equal. + +VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/eid_virt/4o4" +ODL_CONFIG_DIR=`pwd`"/../configs/odl/eid_virt/4o4" + +source test_driver/two_customers_topo.sh + +test_eid_virtualization ping "6.0.4.4" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_4o6.sh b/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_4o6.sh new file mode 100755 index 0000000..391da92 --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_4o6.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +# Test EID virualization (4over6) +# +# This test configures two LISP XTRs with two customers. Both customers +# have two client nodes (EID) as depict here: +# +# eid1 ______ _______ eid2 +# customer1 -| | | |- customer1 +# | xTR |----| xTR | +# customer2 -|_____| | |_____|- customer2 +# eid3 | eid4 +# ODL +# +# In this scenario both eid1 and eid3 are equal. + +VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/eid_virt/4o6" +ODL_CONFIG_DIR=`pwd`"/../configs/odl/eid_virt/4o6" + +source test_driver/two_customers_topo.sh + +test_eid_virtualization ping "6.0.4.4" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_6o4.sh b/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_6o4.sh new file mode 100755 index 0000000..5d7f975 --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_6o4.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +# Test EID virualization (6over4) +# +# This test configures two LISP XTRs with two customers. Both customers +# have two client nodes (EID) as depict here: +# +# eid1 ______ _______ eid2 +# customer1 -| | | |- customer1 +# | xTR |----| xTR | +# customer2 -|_____| | |_____|- customer2 +# eid3 | eid4 +# ODL +# +# In this scenario both eid1 and eid3 are equal. + +VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/eid_virt/6o4" +ODL_CONFIG_DIR=`pwd`"/../configs/odl/eid_virt/6o4" + +source test_driver/two_customers_topo.sh + +test_eid_virtualization ping6 "6:0:4::4" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_6o6.sh b/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_6o6.sh new file mode 100755 index 0000000..2b6d463 --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_6o6.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +# Test EID virualization (6over6) +# +# This test configures two LISP XTRs with two customers. Both customers +# have two client nodes (EID) as depict here: +# +# eid1 ______ _______ eid2 +# customer1 -| | | |- customer1 +# | xTR |----| xTR | +# customer2 -|_____| | |_____|- customer2 +# eid3 | eid4 +# ODL +# +# In this scenario both eid1 and eid3 are equal. + +VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/eid_virt/6o6" +ODL_CONFIG_DIR=`pwd`"/../configs/odl/eid_virt/6o6" + +source test_driver/two_customers_topo.sh + +test_eid_virtualization ping6 "6:0:4::4" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o4.sh b/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o4.sh new file mode 100755 index 0000000..465a014 --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o4.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +# +# Test for VPP LISP RTR functionality (4over4). +# +# IMPORTANT: This test needs to have ODL running with following config +# line in etc/custom.properties: +# lisp.elpPolicy = replace +# +# This test configures a topology of two XTRs and RTR. An ICMP request is +# sent from host1 behind first TR to the host2 behind the second TR. +# Both host and underlaying networks are IPv4. +# + +VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_single_iface/4o4" +ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_single_iface/4o4" + +source test_driver/rtr_single_iface.sh + +test_rtr_single_iface ping "6.0.4.4" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o6.sh b/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o6.sh new file mode 100755 index 0000000..1bc2474 --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o6.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +# +# Test for VPP LISP RTR functionality (4over6). +# +# IMPORTANT: This test needs to have ODL running with following config +# line in etc/custom.properties: +# lisp.elpPolicy = replace +# +# This test configures a topology of two XTRs and RTR. An ICMP request is +# sent from host1 behind first TR to the host2 behind the second TR. +# Hosts resides in IPv4 network, underlying network is IPv6 +# + +VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_single_iface/4o6/" +ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_single_iface/4o6" + +source test_driver/rtr_single_iface.sh + +test_rtr_single_iface ping "6.0.4.4" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_6o4.sh b/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_6o4.sh new file mode 100755 index 0000000..ced8729 --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_6o4.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +# +# Test for VPP LISP RTR functionality (6over4). +# +# IMPORTANT: This test needs to have ODL running with following config +# line in etc/custom.properties: +# lisp.elpPolicy = replace +# +# This test configures a topology of two XTRs and RTR. An ICMP request is +# sent from host1 behind first TR to the host2 behind the second TR. +# + +VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_single_iface/6o4/" +ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_single_iface/6o4" + +source test_driver/rtr_single_iface.sh + +test_rtr_single_iface ping6 "6:0:4::4" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_6o6.sh b/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_6o6.sh new file mode 100755 index 0000000..184c4ac --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_6o6.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +# +# Test for VPP LISP RTR functionality (6over6). +# +# IMPORTANT: This test needs to have ODL running with following config +# line in etc/custom.properties: +# lisp.elpPolicy = replace +# +# This test configures a topology of two XTRs and RTR. An ICMP request is +# sent from host1 behind first TR to the host2 behind the second TR. +# Both underlying and overlying networks are IPv6 +# + +VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_single_iface/6o6/" +ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_single_iface/6o6" + +source test_driver/rtr_single_iface.sh + +test_rtr_single_iface ping6 "6:0:4::4" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_4o4.sh b/tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_4o4.sh new file mode 100755 index 0000000..c45bb3f --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_4o4.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +# +# Test for VPP LISP RTR functionality (4over4). +# +# IMPORTANT: This test needs to have ODL running with following config +# line in etc/custom.properties: +# lisp.elpPolicy = replace +# +# This test configures a topology of two XTRs and RTR. An ICMP request is +# sent from host1 behind first TR to the host2 behind the second TR. +# Both host and underlaying networks are IPv4. +# + +VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_two_iface/4o4" +ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_two_iface/4o4/" + +source test_driver/rtr_two_iface.sh + +test_rtr_two_iface "6.0.4.4" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_4o6.sh b/tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_4o6.sh new file mode 100755 index 0000000..0d7015b --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_4o6.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +# +# Test for VPP LISP RTR functionality (4over4). +# +# IMPORTANT: This test needs to have ODL running with following config +# line in etc/custom.properties: +# lisp.elpPolicy = replace +# +# This test configures a topology of two XTRs and RTR. An ICMP request is +# sent from host1 behind first TR to the host2 behind the second TR. +# Both host and underlaying networks are IPv4. +# + +VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_two_iface/4o6" +ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_two_iface/4o6/" + +source test_driver/rtr_two_iface.sh + +test_rtr_two_iface "6.0.4.4" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_6o46.sh b/tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_6o46.sh new file mode 100755 index 0000000..1df6678 --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_6o46.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +# +# Test for VPP LISP RTR functionality (6over46). +# +# IMPORTANT: This test needs to have ODL running with following config +# line in etc/custom.properties: +# lisp.elpPolicy = replace +# +# This test configures a topology of two XTRs and RTR. An ICMP request is +# sent from host1 behind first TR to the host2 behind the second TR. +# + +VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_two_iface/6o46" +ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_two_iface/6o46" + +source test_driver/rtr_two_iface.sh + +test_rtr_two_iface "6:0:4::4" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_two_customers_6o46.sh b/tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_two_customers_6o46.sh new file mode 100755 index 0000000..eac2a7c --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_rtr_two_iface_two_customers_6o46.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +# +# Test for VPP LISP RTR functionality with EID virualization. +# +# IMPORTANT: This test needs to have ODL running with following config +# line in etc/custom.properties: +# lisp.elpPolicy = replace +# +# This test configures a topology of two XTRs and RTR. An ICMP request is +# sent from host1 behind first TR to the host2 behind the second TR. +# +# + +VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/rtr_two_iface_two_customers/6o46" +ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_two_iface_two_customers/6o46" + +source test_driver/rtr_two_iface_two_customers.sh + +test_rtr_two_iface_two_customers ping6 "6:0:4::4" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_smr_rtr_disjoint.sh b/tests/data_plane/vpp_lite_topo/tests/test_smr_rtr_disjoint.sh new file mode 100755 index 0000000..0c49698 --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_smr_rtr_disjoint.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +# +# Test for VPP LISP RTR functionality (4over4). +# +# IMPORTANT: This test needs to have ODL running with following config +# line in etc/custom.properties: +# lisp.elpPolicy = replace +# +# This test configures a topology of two XTRs and RTR. An ICMP request is +# sent from host1 behind first TR to the host2 behind the second TR. +# Both host and underlaying networks are IPv4. +# + +VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/smr_rtr_disjoint/" +ODL_CONFIG_DIR=`pwd`"/../configs/odl/smr_rtr_disjoint/" + +source test_driver/smr_rtr_disjoint.sh + +test_smr_rtr_disjoint "6:0:4::4" -- cgit 1.2.3-korg