summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/vpp_lite_topo/test_eid_virtualization_4o4.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/test_eid_virtualization_4o4.sh')
-rwxr-xr-xtests/data_plane/vpp_lite_topo/test_eid_virtualization_4o4.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/data_plane/vpp_lite_topo/test_eid_virtualization_4o4.sh b/tests/data_plane/vpp_lite_topo/test_eid_virtualization_4o4.sh
new file mode 100755
index 0000000..2038fd2
--- /dev/null
+++ b/tests/data_plane/vpp_lite_topo/test_eid_virtualization_4o4.sh
@@ -0,0 +1,22 @@
+#!/usr/bin/env bash
+
+# Test EID virualization (4over4)
+#
+# This test configures two LISP XTRs with two customers. Both customers
+# have two client nodes (EID) as depict here:
+#
+# eid1 ______ _______ eid2
+# customer1 -| | | |- customer1
+# | xTR |----| xTR |
+# customer2 -|_____| | |_____|- customer2
+# eid3 | eid4
+# ODL
+#
+# In this scenario both eid1 and eid3 are equal.
+
+VPP_LITE_CONF=`pwd`"/../configs/vpp_lite_config/eid_virt/4o4"
+ODL_CONFIG_DIR=`pwd`"/../configs/odl/eid_virt/4o4"
+
+source test_driver/two_customers_topo.sh
+
+test_eid_virtualization ping "6.0.4.4"