From a4039775e53bc4754034fee11a7091502bc1bfb9 Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Thu, 2 Feb 2017 13:24:32 +0100 Subject: Add negative mapping test Change-Id: Ica2a26210003e8ef07e0a57fa55ea144c942700c Signed-off-by: Filip Tehlar --- .../configs/vpp_lite_config/basic/4o4_neg_mapping/vpp1.config | 7 +++++++ .../configs/vpp_lite_config/basic/4o4_neg_mapping/vpp2.config | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 tests/data_plane/configs/vpp_lite_config/basic/4o4_neg_mapping/vpp1.config create mode 100644 tests/data_plane/configs/vpp_lite_config/basic/4o4_neg_mapping/vpp2.config (limited to 'tests/data_plane/configs/vpp_lite_config/basic') diff --git a/tests/data_plane/configs/vpp_lite_config/basic/4o4_neg_mapping/vpp1.config b/tests/data_plane/configs/vpp_lite_config/basic/4o4_neg_mapping/vpp1.config new file mode 100644 index 0000000..0842541 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/basic/4o4_neg_mapping/vpp1.config @@ -0,0 +1,7 @@ +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_remote_mapping eid 6.0.2.0/24 action drop diff --git a/tests/data_plane/configs/vpp_lite_config/basic/4o4_neg_mapping/vpp2.config b/tests/data_plane/configs/vpp_lite_config/basic/4o4_neg_mapping/vpp2.config new file mode 100644 index 0000000..a5e22ce --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/basic/4o4_neg_mapping/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_remote_mapping eid 6.0.1.0/24 rloc 6.0.3.1 -- cgit 1.2.3-korg