From 2e74e404fc9b91beeeed9103d5f8337a230412e2 Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Mon, 20 Mar 2017 13:11:25 +0100 Subject: Add statistics test Change-Id: If3d9e6c5f1d1737ecf9cf29d02860e37663a7121 Signed-off-by: Filip Tehlar --- .../configs/vpp_lite_config/basic/4o4_no_odl_adj/vpp1.config | 1 + .../configs/vpp_lite_config/basic/6o6_no_odl_adj/vpp1.config | 1 + .../configs/vpp_lite_config/basic/l2o4_with_adj/vpp1.config | 11 +++++++++++ .../configs/vpp_lite_config/basic/l2o4_with_adj/vpp2.config | 10 ++++++++++ 4 files changed, 23 insertions(+) create mode 100644 tests/data_plane/configs/vpp_lite_config/basic/l2o4_with_adj/vpp1.config create mode 100644 tests/data_plane/configs/vpp_lite_config/basic/l2o4_with_adj/vpp2.config (limited to 'tests/data_plane/configs/vpp_lite_config/basic') diff --git a/tests/data_plane/configs/vpp_lite_config/basic/4o4_no_odl_adj/vpp1.config b/tests/data_plane/configs/vpp_lite_config/basic/4o4_no_odl_adj/vpp1.config index 54d8448..076a439 100644 --- a/tests/data_plane/configs/vpp_lite_config/basic/4o4_no_odl_adj/vpp1.config +++ b/tests/data_plane/configs/vpp_lite_config/basic/4o4_no_odl_adj/vpp1.config @@ -2,6 +2,7 @@ create_host_iface vpp1 6.0.1.1/24 create_host_iface intervpp1 6.0.3.1/24 lisp_state enable +lisp_stats 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 rloc 6.0.3.2 diff --git a/tests/data_plane/configs/vpp_lite_config/basic/6o6_no_odl_adj/vpp1.config b/tests/data_plane/configs/vpp_lite_config/basic/6o6_no_odl_adj/vpp1.config index 84a9985..7da87bd 100644 --- a/tests/data_plane/configs/vpp_lite_config/basic/6o6_no_odl_adj/vpp1.config +++ b/tests/data_plane/configs/vpp_lite_config/basic/6o6_no_odl_adj/vpp1.config @@ -2,6 +2,7 @@ create_host_iface vpp1 6:0:1::1/64 create_host_iface intervpp1 6:0:3::1/64 lisp_state enable +lisp_stats enable lisp_locator_set_with_locator ls1 host-intervpp1 1 1 lisp_local_eid eid 6:0:1::0/64 locator-set ls1 lisp_remote_mapping eid 6:0:2::0/64 rloc 6:0:3::2 diff --git a/tests/data_plane/configs/vpp_lite_config/basic/l2o4_with_adj/vpp1.config b/tests/data_plane/configs/vpp_lite_config/basic/l2o4_with_adj/vpp1.config new file mode 100644 index 0000000..cecd6d8 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/basic/l2o4_with_adj/vpp1.config @@ -0,0 +1,11 @@ +create_host_iface vpp1 6.0.1.1/24 +set_if_l2_bridge host-vpp1 10 +create_host_iface intervpp1 6.0.3.1/24 + +lisp_state enable +lisp_stats enable +lisp_locator_set_with_locator ls1 host-intervpp1 1 1 +lisp_eid_map_bd 10 10 +lisp_local_eid vni 10 eid 08:11:11:11:11:11 locator-set ls1 +lisp_remote_mapping vni 10 eid 08:22:22:22:22:22 rloc 6.0.3.2 +lisp_adjacency vni 10 leid 08:11:11:11:11:11 reid 08:22:22:22:22:22 diff --git a/tests/data_plane/configs/vpp_lite_config/basic/l2o4_with_adj/vpp2.config b/tests/data_plane/configs/vpp_lite_config/basic/l2o4_with_adj/vpp2.config new file mode 100644 index 0000000..e3953a8 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/basic/l2o4_with_adj/vpp2.config @@ -0,0 +1,10 @@ +create_host_iface vpp2 6.0.1.2/24 +set_if_l2_bridge host-vpp2 10 +create_host_iface intervpp2 6.0.3.2/24 + +lisp_state enable +lisp_locator_set_with_locator ls1 host-intervpp2 1 1 +lisp_eid_map_bd 10 10 +lisp_local_eid vni 10 eid 08:22:22:22:22:22 locator-set ls1 +lisp_remote_mapping vni 10 eid 08:11:11:11:11:11 rloc 6.0.3.1 +lisp_adjacency vni 10 leid 08:22:22:22:22:22 reid 08:11:11:11:11:11 -- cgit 1.2.3-korg