summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_6o4.sh
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-07-07 08:29:25 +0200
committerFilip Tehlar <ftehlar@cisco.com>2016-07-07 12:26:52 +0200
commit05479d8750d11d46a939c31ca78e99ecc310dc7a (patch)
treed1acfad937839fad93f52cdff4d0b34a69588e77 /tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_6o4.sh
parent12defda1182a88e98a20d63c32fe897359663ad7 (diff)
Add script which runs all VPP lite tests
Change-Id: I13c8726ac60647201d40249434f3a81085a8f9ff Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_6o4.sh')
-rwxr-xr-xtests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_6o4.sh19
1 files changed, 19 insertions, 0 deletions
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"