From d746f9639a45f53cd927609c6e1800e3ca4dc041 Mon Sep 17 00:00:00 2001 From: Andrej Kozemcak Date: Tue, 17 May 2016 14:42:11 +0200 Subject: Add new test for static remote mapping Change-Id: I1bd6f6c754eb16ab077a53ad341ef633c56173f3 Signed-off-by: Andrej Kozemcak --- .../configs/vpp_csit_config/vpp1_6_reconf_remote.conf | 2 ++ tests/data_plane/configs/vpp_csit_config/vpp1_6_remote.conf | 10 ++++++++++ .../data_plane/configs/vpp_csit_config/vpp1_reconf_remote.conf | 2 ++ tests/data_plane/configs/vpp_csit_config/vpp1_remote.conf | 10 ++++++++++ tests/data_plane/configs/vpp_csit_config/vpp2.conf | 2 +- tests/data_plane/configs/vpp_csit_config/vpp2_6.conf | 2 +- tests/data_plane/configs/vpp_csit_config/vpp2_6_remote.conf | 9 +++++++++ tests/data_plane/configs/vpp_csit_config/vpp2_remote.conf | 9 +++++++++ 8 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 tests/data_plane/configs/vpp_csit_config/vpp1_6_reconf_remote.conf create mode 100644 tests/data_plane/configs/vpp_csit_config/vpp1_6_remote.conf create mode 100644 tests/data_plane/configs/vpp_csit_config/vpp1_reconf_remote.conf create mode 100644 tests/data_plane/configs/vpp_csit_config/vpp1_remote.conf create mode 100644 tests/data_plane/configs/vpp_csit_config/vpp2_6_remote.conf create mode 100644 tests/data_plane/configs/vpp_csit_config/vpp2_remote.conf (limited to 'tests/data_plane/configs/vpp_csit_config') 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 -- cgit 1.2.3-korg