From f9c4cfa7d6c7a90541601041fb7886e5e5f15ed3 Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Fri, 22 Jul 2016 10:42:41 +0200 Subject: Add map resolver failover test Change-Id: Ic4d5a553950e7d3dee36a818f4b06f69890b1719 Signed-off-by: Filip Tehlar --- .../vpp_lite_config/basic/4o4_failover/vpp1.config | 15 +++++++++++++++ .../vpp_lite_config/basic/4o4_failover/vpp2.config | 13 +++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp1.config create mode 100644 tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp2.config (limited to 'tests/data_plane/configs') diff --git a/tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp1.config b/tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp1.config new file mode 100644 index 0000000..72ac2ab --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp1.config @@ -0,0 +1,15 @@ +create host-interface name vpp1 +set int state host-vpp1 up +set int ip address host-vpp1 6.0.1.1/24 + +create host-interface name intervpp1 +set int state host-intervpp1 up +set int ip address host-intervpp1 6.0.3.1/24 + +lisp enable + +lisp locator-set add ls1 iface host-intervpp1 p 1 w 1 +lisp eid-table add eid 6.0.1.0/24 locator-set ls1 + +lisp map-resolver add 6.0.3.99 +lisp map-resolver add 6.0.3.100 diff --git a/tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp2.config b/tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp2.config new file mode 100644 index 0000000..1bac043 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp2.config @@ -0,0 +1,13 @@ +create host-interface name vpp2 +set int state host-vpp2 up +set int ip address host-vpp2 6.0.2.1/24 + +create host-interface name intervpp2 +set int state host-intervpp2 up +set int ip address host-intervpp2 6.0.3.2/24 + +lisp enable + +lisp locator-set add ls1 iface host-intervpp2 p 1 w 1 +lisp eid-table add eid 6.0.2.0/24 locator-set ls1 +lisp map-resolver add 6.0.3.100 -- cgit 1.2.3-korg