summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o4_vni.sh
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2017-03-28 15:31:04 +0200
committerFilip Tehlar <ftehlar@cisco.com>2017-03-28 15:31:04 +0200
commit58f678f923f497ea9678b3a6a1e908f08f083938 (patch)
treef0bd77cab8dbd5a593a6a24ca63fcc927c37c2ae /tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o4_vni.sh
parent2e74e404fc9b91beeeed9103d5f8337a230412e2 (diff)
Add L3 RTR test with EIDs in non-default VNI
Change-Id: If5d35aff850ae03300a26258835d018f55793f7e Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o4_vni.sh')
-rwxr-xr-xtests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o4_vni.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o4_vni.sh b/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o4_vni.sh
new file mode 100755
index 0000000..dff9023
--- /dev/null
+++ b/tests/data_plane/vpp_lite_topo/tests/test_rtr_single_iface_4o4_vni.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_vni"
+ODL_CONFIG_DIR=`pwd`"/../configs/odl/rtr_single_iface/4o4_vni"
+
+source test_driver/rtr_single_iface.sh
+
+test_rtr_single_iface ping "6.0.2.2"