summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs/vpp_lite_config
diff options
context:
space:
mode:
authorAndrej Kozemcak <akozemca@cisco.com>2016-05-17 14:42:11 +0200
committerAndrej Kozemcak <akozemca@cisco.com>2016-05-17 14:43:53 +0200
commitd746f9639a45f53cd927609c6e1800e3ca4dc041 (patch)
treea187c192d7e6cb8730416d95f6f72f546efd1120 /tests/data_plane/configs/vpp_lite_config
parent46e4b31a8a57e9af1be2cdbc0c67c153ec9cd9b3 (diff)
Add new test for static remote mapping
Change-Id: I1bd6f6c754eb16ab077a53ad341ef633c56173f3 Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/vpp_lite_config')
-rw-r--r--tests/data_plane/configs/vpp_lite_config/vpp1_6_remote.conf13
-rw-r--r--tests/data_plane/configs/vpp_lite_config/vpp1_remote.conf13
-rw-r--r--tests/data_plane/configs/vpp_lite_config/vpp2_6_remote.conf13
-rw-r--r--tests/data_plane/configs/vpp_lite_config/vpp2_remote.conf13
4 files changed, 52 insertions, 0 deletions
diff --git a/tests/data_plane/configs/vpp_lite_config/vpp1_6_remote.conf b/tests/data_plane/configs/vpp_lite_config/vpp1_6_remote.conf
new file mode 100644
index 0000000..4a45cec
--- /dev/null
+++ b/tests/data_plane/configs/vpp_lite_config/vpp1_6_remote.conf
@@ -0,0 +1,13 @@
+create host-interface name vpp1
+set int state host-vpp1 up
+set int ip address host-vpp1 6:0:1::1/64
+
+create host-interface name intervpp1
+set int state host-intervpp1 up
+set int ip address host-intervpp1 6:0:3::1/64
+
+lisp enable
+
+lisp locator-set add ls1 iface host-intervpp1 p 1 w 1
+lisp eid-table add eid 6:0:1::0/64 locator-set ls1
+lisp remote-mapping add vni 0 deid 6:0:2::0/64 seid 6:0:1::0/64 rloc 6:0:3::2
diff --git a/tests/data_plane/configs/vpp_lite_config/vpp1_remote.conf b/tests/data_plane/configs/vpp_lite_config/vpp1_remote.conf
new file mode 100644
index 0000000..f6588c9
--- /dev/null
+++ b/tests/data_plane/configs/vpp_lite_config/vpp1_remote.conf
@@ -0,0 +1,13 @@
+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 remote-mapping add vni 0 deid 6.0.2.0/24 seid 6.0.1.0/24 rloc 6.0.3.2
diff --git a/tests/data_plane/configs/vpp_lite_config/vpp2_6_remote.conf b/tests/data_plane/configs/vpp_lite_config/vpp2_6_remote.conf
new file mode 100644
index 0000000..ec4bb6d
--- /dev/null
+++ b/tests/data_plane/configs/vpp_lite_config/vpp2_6_remote.conf
@@ -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/64
+
+create host-interface name intervpp2
+set int state host-intervpp2 up
+set int ip address host-intervpp2 6:0:3::2/64
+
+lisp enable
+
+lisp locator-set add ls1 iface host-intervpp2 p 1 w 1
+lisp eid-table add eid 6:0:2::0/64 locator-set ls1
+lisp remote-mapping add vni 0 deid 6:0:1::0/64 seid 6:0:2::0/64 rloc 6:0:3::1
diff --git a/tests/data_plane/configs/vpp_lite_config/vpp2_remote.conf b/tests/data_plane/configs/vpp_lite_config/vpp2_remote.conf
new file mode 100644
index 0000000..5361325
--- /dev/null
+++ b/tests/data_plane/configs/vpp_lite_config/vpp2_remote.conf
@@ -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 remote-mapping add vni 0 deid 6.0.1.0/24 seid 6.0.2.0/24 rloc 6.0.3.1