summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/vpp_lite_topo/test_rtr_single_iface_4o6.sh
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-05-26 15:57:49 +0200
committerFilip Tehlar <ftehlar@cisco.com>2016-05-27 09:00:22 +0200
commit4bf6318c1de924c63e22479cc38549ce3af3e420 (patch)
treebca01ef7f954c2f6ef5c33d215a89f47e5a5588d /tests/data_plane/vpp_lite_topo/test_rtr_single_iface_4o6.sh
parent05767cf174f01c5ffdc317112dfabb64bd677a6c (diff)
Add LISP RTR tests
This change adds tests for IPv4overIPv4 and IPv4overIPv6 scenarios. Change-Id: I68e0e94538914cf0b03625ee1be3b92684184c78 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/test_rtr_single_iface_4o6.sh')
-rwxr-xr-xtests/data_plane/vpp_lite_topo/test_rtr_single_iface_4o6.sh20
1 files changed, 20 insertions, 0 deletions
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
new file mode 100755
index 0000000..59c75d1
--- /dev/null
+++ b/tests/data_plane/vpp_lite_topo/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 "6.0.4.4"