summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/vpp_lite_topo/config.sh
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2017-08-04 13:12:57 +0200
committerFilip Tehlar <ftehlar@cisco.com>2017-08-04 13:12:57 +0200
commitebfd5b56b3c336b87a919898174a7ee7aafe3364 (patch)
treefe578fdab7c43daac0ce94dd4685dddb47218a23 /tests/data_plane/vpp_lite_topo/config.sh
parent013d3a566708c8877539befac1d85aec164e4f32 (diff)
Add map server fallback test
Change-Id: I48bf31b15253a1b9d1be785af319ef7466fa50bd Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/config.sh')
-rw-r--r--tests/data_plane/vpp_lite_topo/config.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/data_plane/vpp_lite_topo/config.sh b/tests/data_plane/vpp_lite_topo/config.sh
index f2f8502..0c5dfc4 100644
--- a/tests/data_plane/vpp_lite_topo/config.sh
+++ b/tests/data_plane/vpp_lite_topo/config.sh
@@ -162,6 +162,13 @@ function start_map_resolver
mr_id=$!
}
+function start_map_server
+{
+ echo "starting dummy map server on interface $1"
+ python scripts/dummy_map_server.py "$1" 4342 &
+ ms_id=$!
+}
+
function check_counters
{
python scripts/vat/check_counters.py ${VPP_API_TEST} ${VAT_TEMPLATES} "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8"