summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs/vpp_lite_config
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data_plane/configs/vpp_lite_config')
-rw-r--r--tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp1.config15
-rw-r--r--tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp2.config13
2 files changed, 28 insertions, 0 deletions
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