summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_6o6.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_eid_virtualization_6o6.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_eid_virtualization_6o6.sh')
-rwxr-xr-xtests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_6o6.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_6o6.sh b/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_6o6.sh
new file mode 100755
index 0000000..2b6d463
--- /dev/null
+++ b/tests/data_plane/vpp_lite_topo/tests/test_eid_virtualization_6o6.sh
@@ -0,0 +1,22 @@
+#!/usr/bin/env bash
+
+# Test EID virualization (6over6)
+#
+# 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/6o6"
+ODL_CONFIG_DIR=`pwd`"/../configs/odl/eid_virt/6o6"
+
+source test_driver/two_customers_topo.sh
+
+test_eid_virtualization ping6 "6:0:4::4"