summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs
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
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')
-rw-r--r--tests/data_plane/configs/vpp_csit_config/vpp1_6_reconf_remote.conf2
-rw-r--r--tests/data_plane/configs/vpp_csit_config/vpp1_6_remote.conf10
-rw-r--r--tests/data_plane/configs/vpp_csit_config/vpp1_reconf_remote.conf2
-rw-r--r--tests/data_plane/configs/vpp_csit_config/vpp1_remote.conf10
-rw-r--r--tests/data_plane/configs/vpp_csit_config/vpp2.conf2
-rw-r--r--tests/data_plane/configs/vpp_csit_config/vpp2_6.conf2
-rw-r--r--tests/data_plane/configs/vpp_csit_config/vpp2_6_remote.conf9
-rw-r--r--tests/data_plane/configs/vpp_csit_config/vpp2_remote.conf9
-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
12 files changed, 96 insertions, 2 deletions
diff --git a/tests/data_plane/configs/vpp_csit_config/vpp1_6_reconf_remote.conf b/tests/data_plane/configs/vpp_csit_config/vpp1_6_reconf_remote.conf
new file mode 100644
index 0000000..21616d3
--- /dev/null
+++ b/tests/data_plane/configs/vpp_csit_config/vpp1_6_reconf_remote.conf
@@ -0,0 +1,2 @@
+lisp_add_del_remote_mapping del vni 0 deid 6:0:2::0/64 seid 6:0:1::0/64 rloc 6:0:3::2
+lisp_add_del_remote_mapping add vni 0 deid 6:0:2::0/64 seid 6:0:1::0/64 rloc 6:0:3::20
diff --git a/tests/data_plane/configs/vpp_csit_config/vpp1_6_remote.conf b/tests/data_plane/configs/vpp_csit_config/vpp1_6_remote.conf
new file mode 100644
index 0000000..cd39273
--- /dev/null
+++ b/tests/data_plane/configs/vpp_csit_config/vpp1_6_remote.conf
@@ -0,0 +1,10 @@
+exec set int ip address GigabitEthernet0/9/0 6:0:1::1/64
+exec set int state GigabitEthernet0/9/0 up
+exec set int ip address GigabitEthernet0/a/0 6:0:3::1/64
+exec set int state GigabitEthernet0/a/0 up
+lisp_enable_disable enable
+
+lisp_add_del_locator_set locator-set ls1
+lisp_add_del_locator locator-set ls1 iface GigabitEthernet0/a/0 p 1 w 2
+lisp_add_del_local_eid eid 6:0:1::0/64 locator-set ls1
+lisp_add_del_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_csit_config/vpp1_reconf_remote.conf b/tests/data_plane/configs/vpp_csit_config/vpp1_reconf_remote.conf
new file mode 100644
index 0000000..08a1641
--- /dev/null
+++ b/tests/data_plane/configs/vpp_csit_config/vpp1_reconf_remote.conf
@@ -0,0 +1,2 @@
+lisp_add_del_remote_mapping del vni 0 deid 6.0.2.0/24 seid 6.0.1.0/24 rloc 6.0.3.2
+lisp_add_del_remote_mapping add vni 0 deid 6.0.2.0/24 seid 6.0.1.0/24 rloc 6.0.3.20
diff --git a/tests/data_plane/configs/vpp_csit_config/vpp1_remote.conf b/tests/data_plane/configs/vpp_csit_config/vpp1_remote.conf
new file mode 100644
index 0000000..66b886d
--- /dev/null
+++ b/tests/data_plane/configs/vpp_csit_config/vpp1_remote.conf
@@ -0,0 +1,10 @@
+exec set int ip address GigabitEthernet0/9/0 6.0.1.1/24
+exec set int state GigabitEthernet0/9/0 up
+exec set int ip address GigabitEthernet0/a/0 6.0.3.1/24
+exec set int state GigabitEthernet0/a/0 up
+lisp_enable_disable enable
+
+lisp_add_del_locator_set locator-set ls1
+lisp_add_del_locator locator-set ls1 iface GigabitEthernet0/a/0 p 1 w 2
+lisp_add_del_local_eid eid 6.0.1.0/24 locator-set ls1
+lisp_add_del_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_csit_config/vpp2.conf b/tests/data_plane/configs/vpp_csit_config/vpp2.conf
index 32d1be5..cf67ece 100644
--- a/tests/data_plane/configs/vpp_csit_config/vpp2.conf
+++ b/tests/data_plane/configs/vpp_csit_config/vpp2.conf
@@ -6,4 +6,4 @@ lisp_enable_disable enable
lisp_add_del_map_resolver 6.0.3.100
lisp_add_del_locator_set locator-set ls1
lisp_add_del_locator locator-set ls1 iface GigabitEthernet0/a/0 p 1 w 2
-lisp_add_del_local_eid eid 6.0.2.0/24 locator-set ls1 \ No newline at end of file
+lisp_add_del_local_eid eid 6.0.2.0/24 locator-set ls1
diff --git a/tests/data_plane/configs/vpp_csit_config/vpp2_6.conf b/tests/data_plane/configs/vpp_csit_config/vpp2_6.conf
index 8bb999d..e6bcc17 100644
--- a/tests/data_plane/configs/vpp_csit_config/vpp2_6.conf
+++ b/tests/data_plane/configs/vpp_csit_config/vpp2_6.conf
@@ -6,4 +6,4 @@ lisp_enable_disable enable
lisp_add_del_map_resolver 6:0:3::100
lisp_add_del_locator_set locator-set ls1
lisp_add_del_locator locator-set ls1 iface GigabitEthernet0/a/0 p 1 w 2
-lisp_add_del_local_eid eid 6:0:2::0/64 locator-set ls1 \ No newline at end of file
+lisp_add_del_local_eid eid 6:0:2::0/64 locator-set ls1
diff --git a/tests/data_plane/configs/vpp_csit_config/vpp2_6_remote.conf b/tests/data_plane/configs/vpp_csit_config/vpp2_6_remote.conf
new file mode 100644
index 0000000..20e91a3
--- /dev/null
+++ b/tests/data_plane/configs/vpp_csit_config/vpp2_6_remote.conf
@@ -0,0 +1,9 @@
+exec set int ip address GigabitEthernet0/9/0 6:0:2::1/64
+exec set int state GigabitEthernet0/9/0 up
+exec set int ip address GigabitEthernet0/a/0 6:0:3::2/64
+exec set int state GigabitEthernet0/a/0 up
+lisp_enable_disable enable
+lisp_add_del_locator_set locator-set ls1
+lisp_add_del_locator locator-set ls1 iface GigabitEthernet0/a/0 p 1 w 2
+lisp_add_del_local_eid eid 6:0:2::0/64 locator-set ls1
+lisp_add_del_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_csit_config/vpp2_remote.conf b/tests/data_plane/configs/vpp_csit_config/vpp2_remote.conf
new file mode 100644
index 0000000..d4da655
--- /dev/null
+++ b/tests/data_plane/configs/vpp_csit_config/vpp2_remote.conf
@@ -0,0 +1,9 @@
+exec set int ip address GigabitEthernet0/9/0 6.0.2.1/24
+exec set int state GigabitEthernet0/9/0 up
+exec set int ip address GigabitEthernet0/a/0 6.0.3.2/24
+exec set int state GigabitEthernet0/a/0 up
+lisp_enable_disable enable
+lisp_add_del_locator_set locator-set ls1
+lisp_add_del_locator locator-set ls1 iface GigabitEthernet0/a/0 p 1 w 2
+lisp_add_del_local_eid eid 6.0.2.0/24 locator-set ls1
+lisp_add_del_remote_mapping add vni 0 deid 6.0.1.0/24 seid 6.0.2.0/24 rloc 6.0.3.1
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