summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs/vpp_lite_config/basic/l2o4
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data_plane/configs/vpp_lite_config/basic/l2o4')
-rw-r--r--tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp1.config15
-rw-r--r--tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp1.vat7
-rw-r--r--tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp2.config15
-rw-r--r--tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp2.vat7
4 files changed, 16 insertions, 28 deletions
diff --git a/tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp1.config b/tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp1.config
index 598b09b..6825e21 100644
--- a/tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp1.config
+++ b/tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp1.config
@@ -1,8 +1,9 @@
-create host-interface name vpp1
-set int state host-vpp1 up
-set int ip address host-vpp1 6.0.1.1/24
-set interface l2 bridge host-vpp1 10
+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
-create host-interface name intervpp1
-set int state host-intervpp1 up
-set int ip address host-intervpp1 6.0.3.1/24
+lisp_state 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_map_resolver 6.0.3.100
diff --git a/tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp1.vat b/tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp1.vat
deleted file mode 100644
index 4b95384..0000000
--- a/tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp1.vat
+++ /dev/null
@@ -1,7 +0,0 @@
-lisp_enable_disable enable
-
-lisp_add_del_locator_set locator-set ls1
-lisp_add_del_locator locator-set ls1 iface host-intervpp1 p 1 w 1
-lisp_eid_table_add_del_map vni 10 bd_index 10
-lisp_add_del_local_eid vni 10 eid 08:11:11:11:11:11 locator-set ls1
-lisp_add_del_map_resolver 6.0.3.100
diff --git a/tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp2.config b/tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp2.config
index 76c1d0c..d23c11e 100644
--- a/tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp2.config
+++ b/tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp2.config
@@ -1,8 +1,9 @@
-create host-interface name vpp2
-set int state host-vpp2 up
-set int ip address host-vpp2 6.0.1.2/24
-set interface l2 bridge host-vpp2 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
-create host-interface name intervpp2
-set int state host-intervpp2 up
-set int ip address host-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_map_resolver 6.0.3.100
diff --git a/tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp2.vat b/tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp2.vat
deleted file mode 100644
index 55a24c0..0000000
--- a/tests/data_plane/configs/vpp_lite_config/basic/l2o4/vpp2.vat
+++ /dev/null
@@ -1,7 +0,0 @@
-lisp_enable_disable enable
-
-lisp_add_del_locator_set locator-set ls1
-lisp_add_del_locator locator-set ls1 iface host-intervpp2 p 1 w 1
-lisp_eid_table_add_del_map vni 10 bd_index 10
-lisp_add_del_local_eid vni 10 eid 08:22:22:22:22:22 locator-set ls1
-lisp_add_del_map_resolver 6.0.3.100