From d65394be7ad78b9a923f2149ccdf74fb91a747d1 Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Tue, 22 Nov 2016 14:05:49 +0100 Subject: Add map register and rloc probe tests Change-Id: I7b2908ee9e6058bc5bad9ea82ca69e51e3bb2534 Signed-off-by: Filip Tehlar --- .../configs/vpp_lite_config/basic/4o4_map_register/vpp1.config | 9 +++++++++ .../configs/vpp_lite_config/basic/4o4_map_register/vpp2.config | 9 +++++++++ .../configs/vpp_lite_config/basic/4o4_rloc_probe/vpp1.config | 8 ++++++++ .../configs/vpp_lite_config/basic/4o4_rloc_probe/vpp2.config | 7 +++++++ 4 files changed, 33 insertions(+) create mode 100644 tests/data_plane/configs/vpp_lite_config/basic/4o4_map_register/vpp1.config create mode 100644 tests/data_plane/configs/vpp_lite_config/basic/4o4_map_register/vpp2.config create mode 100644 tests/data_plane/configs/vpp_lite_config/basic/4o4_rloc_probe/vpp1.config create mode 100644 tests/data_plane/configs/vpp_lite_config/basic/4o4_rloc_probe/vpp2.config (limited to 'tests/data_plane/configs/vpp_lite_config/basic') diff --git a/tests/data_plane/configs/vpp_lite_config/basic/4o4_map_register/vpp1.config b/tests/data_plane/configs/vpp_lite_config/basic/4o4_map_register/vpp1.config new file mode 100644 index 0000000..ad9f845 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/basic/4o4_map_register/vpp1.config @@ -0,0 +1,9 @@ +create_host_iface vpp1 6.0.1.1/24 +create_host_iface intervpp1 6.0.3.1/24 + +lisp_state enable +lisp_locator_set_with_locator ls1 host-intervpp1 1 1 +lisp_local_eid eid 6.0.1.0/24 locator-set ls1 secret-key password key-id sha1 +lisp_map_resolver 6.0.3.100 +lisp_map_server 6.0.3.100 +lisp_map_register_state enable diff --git a/tests/data_plane/configs/vpp_lite_config/basic/4o4_map_register/vpp2.config b/tests/data_plane/configs/vpp_lite_config/basic/4o4_map_register/vpp2.config new file mode 100644 index 0000000..512bf62 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/basic/4o4_map_register/vpp2.config @@ -0,0 +1,9 @@ +create_host_iface vpp2 6.0.2.1/24 +create_host_iface intervpp2 6.0.3.2/24 + +lisp_state enable +lisp_locator_set_with_locator ls1 host-intervpp2 1 1 +lisp_local_eid eid 6.0.2.0/24 locator-set ls1 secret-key password2 key-id sha256 +lisp_map_server 6.0.3.100 +lisp_map_resolver 6.0.3.100 +lisp_map_register_state enable diff --git a/tests/data_plane/configs/vpp_lite_config/basic/4o4_rloc_probe/vpp1.config b/tests/data_plane/configs/vpp_lite_config/basic/4o4_rloc_probe/vpp1.config new file mode 100644 index 0000000..24239d0 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/basic/4o4_rloc_probe/vpp1.config @@ -0,0 +1,8 @@ +create_host_iface vpp1 6.0.1.1/24 +create_host_iface intervpp1 6.0.3.1/24 + +lisp_state enable +lisp_locator_set_with_locator ls1 host-intervpp1 1 1 +lisp_local_eid eid 6.0.1.0/24 locator-set ls1 +lisp_map_resolver 6.0.3.100 +lisp_rloc_probe_state enable diff --git a/tests/data_plane/configs/vpp_lite_config/basic/4o4_rloc_probe/vpp2.config b/tests/data_plane/configs/vpp_lite_config/basic/4o4_rloc_probe/vpp2.config new file mode 100644 index 0000000..c2edf63 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/basic/4o4_rloc_probe/vpp2.config @@ -0,0 +1,7 @@ +create_host_iface vpp2 6.0.2.1/24 +create_host_iface intervpp2 6.0.3.2/24 + +lisp_state enable +lisp_locator_set_with_locator ls1 host-intervpp2 1 1 +lisp_local_eid eid 6.0.2.0/24 locator-set ls1 +lisp_map_resolver 6.0.3.100 -- cgit 1.2.3-korg