summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/vpp_lite_topo/tests/test_rloc_probe_4o4.sh
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2017-01-19 16:29:41 +0100
committerFilip Tehlar <ftehlar@cisco.com>2017-01-19 16:57:56 +0100
commit048ed618fc8c3453862c14645c89b1c668326a80 (patch)
tree7304d4110e78798bc8c19019762485831eec4752 /tests/data_plane/vpp_lite_topo/tests/test_rloc_probe_4o4.sh
parenta4aa73a99534b9a02472a3ec9df5dc04cc6471e7 (diff)
Automate rloc-probe tests
Change-Id: I4d8755ece339bdfaf717016b0ef40c7b221db679 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/tests/test_rloc_probe_4o4.sh')
-rwxr-xr-xtests/data_plane/vpp_lite_topo/tests/test_rloc_probe_4o4.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/data_plane/vpp_lite_topo/tests/test_rloc_probe_4o4.sh b/tests/data_plane/vpp_lite_topo/tests/test_rloc_probe_4o4.sh
new file mode 100755
index 0000000..e7f2f2c
--- /dev/null
+++ b/tests/data_plane/vpp_lite_topo/tests/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"