diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2016-11-22 14:05:49 +0100 |
---|---|---|
committer | Filip Tehlar <ftehlar@cisco.com> | 2016-11-25 14:50:40 +0100 |
commit | d65394be7ad78b9a923f2149ccdf74fb91a747d1 (patch) | |
tree | 1b91ccf99bbb82dcdd25275d853ada0549f175d1 /tests/data_plane/vpp_lite_topo/tests | |
parent | 5089c8126fe1d2c389ebc2e4b579612d6df15a69 (diff) |
Add map register and rloc probe tests
Change-Id: I7b2908ee9e6058bc5bad9ea82ca69e51e3bb2534
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/tests')
-rwxr-xr-x | tests/data_plane/vpp_lite_topo/tests/manual_test_rloc_probe_4o4.sh | 18 | ||||
-rwxr-xr-x | tests/data_plane/vpp_lite_topo/tests/test_map_register_4o4.sh | 10 |
2 files changed, 28 insertions, 0 deletions
diff --git a/tests/data_plane/vpp_lite_topo/tests/manual_test_rloc_probe_4o4.sh b/tests/data_plane/vpp_lite_topo/tests/manual_test_rloc_probe_4o4.sh new file mode 100755 index 0000000..e7f2f2c --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/manual_test_rloc_probe_4o4.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +# Manual test for LISP RLOC probe +# +# Test procedure: +# 1) run the test +# 2) the test stops its execution after few seconds. +# At that moment there should be a LISP tunnel configured +# 3) Attach wireshark to intervpp1 or intervpp2 interface and check if there +# are map-requests and map-replies coming forth and back with RLOC probe +# bit set in the LISP header. + +VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/4o4_rloc_probe +ODL_CONFIG_DIR=`pwd`/../configs/odl/basic/4o4 + +source test_driver/basic.sh + +test_rloc_probe ping "6.0.2.2" diff --git a/tests/data_plane/vpp_lite_topo/tests/test_map_register_4o4.sh b/tests/data_plane/vpp_lite_topo/tests/test_map_register_4o4.sh new file mode 100755 index 0000000..4bc471b --- /dev/null +++ b/tests/data_plane/vpp_lite_topo/tests/test_map_register_4o4.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# Test LISP map register feature (ip4 over ip4) + +VPP_LITE_CONF=`pwd`/../configs/vpp_lite_config/basic/4o4_map_register +ODL_CONFIG_DIR=`pwd`/../configs/odl/basic/4o4_map_register + +source test_driver/basic.sh + +test_basic_map_register ping "6.0.2.2" |