Introduce an option for testing binary API
[one.git] / tests / data_plane / configs / vpp_lite_config / eid_virt / 4o4 / vpp2.config
index db01d3f..ae70864 100644 (file)
@@ -1,13 +1,11 @@
-create host-interface name vpp2_cus1
-set int state host-vpp2_cus1 up
-set interface ip table host-vpp2_cus1 100
-set int ip address host-vpp2_cus1 6.0.4.1/24
+create_host_iface_vrf vpp2_cus1 6.0.4.1/24 100
+create_host_iface_vrf vpp2_cus2 6.0.4.1/24 200
+create_host_iface intervpp2 6.0.3.2/24
 
-create host-interface name vpp2_cus2
-set int state host-vpp2_cus2 up
-set interface ip table host-vpp2_cus2 200
-set int ip address host-vpp2_cus2 6.0.4.1/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_map_resolver 6.0.3.100
+lisp_locator_set_with_locator ls1 host-intervpp2 1 1
+lisp_eid_map_vrf 100 100
+lisp_eid_map_vrf 200 200
+lisp_local_eid vni 100 eid 6.0.4.0/24 locator-set ls1
+lisp_local_eid vni 200 eid 6.0.4.0/24 locator-set ls1